summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Jiang <jianj@google.com>2019-03-21 14:17:15 -0700
committerJerome Jiang <jianj@google.com>2019-03-21 14:17:15 -0700
commitf4828c1512ec118972448401dd15b9c2c992ad79 (patch)
tree355d0b0cf073a20895633dc07f40ecbd1306725d
parent1492ccbe6e9bd8f8b46fa103166889fc22dac48e (diff)
downloadlibvpx-f4828c1512ec118972448401dd15b9c2c992ad79.tar
libvpx-f4828c1512ec118972448401dd15b9c2c992ad79.tar.gz
libvpx-f4828c1512ec118972448401dd15b9c2c992ad79.tar.bz2
libvpx-f4828c1512ec118972448401dd15b9c2c992ad79.zip
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
-rw-r--r--vpx_dsp/arm/deblock_neon.c5
1 files changed, 0 insertions, 5 deletions
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;