From f4828c1512ec118972448401dd15b9c2c992ad79 Mon Sep 17 00:00:00 2001 From: Jerome Jiang Date: Thu, 21 Mar 2019 14:17:15 -0700 Subject: vp9 postproc neon: Remove the condition on mb cols. VP8 and VP9 have different padding on buffer stride. VP8 microblock is 16x16 so the buffer stride needs to be divisible by 16. Thus UV buffer stride is divisible by 8. VP9 microblock is 8x8 so the buffer stride is only extended to be divisible by 8. Then UV buffer stride isn't divisible by 8. Change-Id: I6fa953feb951f2fb2e48f72a623786b85e23822f --- vpx_dsp/arm/deblock_neon.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'vpx_dsp') diff --git a/vpx_dsp/arm/deblock_neon.c b/vpx_dsp/arm/deblock_neon.c index 1fb41d299..7efce3273 100644 --- a/vpx_dsp/arm/deblock_neon.c +++ b/vpx_dsp/arm/deblock_neon.c @@ -91,11 +91,6 @@ void vpx_post_proc_down_and_across_mb_row_neon(uint8_t *src_ptr, int row; int col; - // Process a stripe of macroblocks. The stripe will be a multiple of 16 (for - // Y) or 8 (for U/V) wide (cols) and the height (size) will be 16 (for Y) or 8 - // (for U/V). - assert((size == 8 || size == 16) && cols % 8 == 0); - // While columns of length 16 can be processed, load them. for (col = 0; col < cols - 8; col += 16) { uint8x16_t a0, a1, a2, a3, a4, a5, a6, a7; -- cgit v1.2.3