diff options
Diffstat (limited to 'av1/common/x86/cdef_block_sse4.c')
-rw-r--r-- | av1/common/x86/cdef_block_sse4.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/av1/common/x86/cdef_block_sse4.c b/av1/common/x86/cdef_block_sse4.c index f87d15845..344c1e47c 100644 --- a/av1/common/x86/cdef_block_sse4.c +++ b/av1/common/x86/cdef_block_sse4.c @@ -26,14 +26,14 @@ void cdef_find_dir_dual_sse4_1(const uint16_t *img1, const uint16_t *img2, void cdef_copy_rect8_8bit_to_16bit_sse4_1(uint16_t *dst, int dstride, const uint8_t *src, int sstride, - int v, int h) { + int width, int height) { int j = 0; - 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]; } } |