diff options
Diffstat (limited to 'av1/common/x86/cdef_block_ssse3.c')
-rw-r--r-- | av1/common/x86/cdef_block_ssse3.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/av1/common/x86/cdef_block_ssse3.c b/av1/common/x86/cdef_block_ssse3.c index a2faf79e3..0fb36eb6e 100644 --- a/av1/common/x86/cdef_block_ssse3.c +++ b/av1/common/x86/cdef_block_ssse3.c @@ -25,15 +25,15 @@ void cdef_find_dir_dual_ssse3(const uint16_t *img1, const uint16_t *img2, } void cdef_copy_rect8_8bit_to_16bit_ssse3(uint16_t *dst, int dstride, - const uint8_t *src, int sstride, int v, - int h) { + const uint8_t *src, int sstride, + int width, int height) { int j; - for (int i = 0; i < v; i++) { - for (j = 0; j < (h & ~0x7); j += 8) { + for (int i = 0; i < height; i++) { + for (j = 0; j < (width & ~0x7); j += 8) { v64 row = v64_load_unaligned(&src[i * sstride + j]); v128_store_unaligned(&dst[i * dstride + j], v128_unpack_u8_s16(row)); } - for (; j < h; j++) { + for (; j < width; j++) { dst[i * dstride + j] = src[i * sstride + j]; } } |