diff options
Diffstat (limited to 'src/dsp/x86/super_res_sse4.cc')
-rw-r--r-- | src/dsp/x86/super_res_sse4.cc | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/dsp/x86/super_res_sse4.cc b/src/dsp/x86/super_res_sse4.cc index 85d05bc..458d94e 100644 --- a/src/dsp/x86/super_res_sse4.cc +++ b/src/dsp/x86/super_res_sse4.cc @@ -90,11 +90,13 @@ void SuperResCoefficients_SSE4_1(const int upscaled_width, } while (--x != 0); } -void SuperRes_SSE4_1(const void* const coefficients, void* const source, +void SuperRes_SSE4_1(const void* LIBGAV1_RESTRICT const coefficients, + void* LIBGAV1_RESTRICT const source, const ptrdiff_t source_stride, const int height, const int downscaled_width, const int upscaled_width, const int initial_subpixel_x, const int step, - void* const dest, const ptrdiff_t dest_stride) { + void* LIBGAV1_RESTRICT const dest, + const ptrdiff_t dest_stride) { auto* src = static_cast<uint8_t*>(source) - DivideBy2(kSuperResFilterTaps); auto* dst = static_cast<uint8_t*>(dest); int y = height; @@ -227,11 +229,13 @@ void SuperResCoefficients_SSE4_1(const int upscaled_width, } template <int bitdepth> -void SuperRes_SSE4_1(const void* const coefficients, void* const source, +void SuperRes_SSE4_1(const void* LIBGAV1_RESTRICT const coefficients, + void* LIBGAV1_RESTRICT const source, const ptrdiff_t source_stride, const int height, const int downscaled_width, const int upscaled_width, const int initial_subpixel_x, const int step, - void* const dest, const ptrdiff_t dest_stride) { + void* LIBGAV1_RESTRICT const dest, + const ptrdiff_t dest_stride) { auto* src = static_cast<uint16_t*>(source) - DivideBy2(kSuperResFilterTaps); auto* dst = static_cast<uint16_t*>(dest); int y = height; |