ref: f4828c1512ec118972448401dd15b9c2c992ad79
parent: 1492ccbe6e9bd8f8b46fa103166889fc22dac48e
author: Jerome Jiang <jianj@google.com>
date: Thu Mar 21 10:17:15 EDT 2019
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
--- a/vpx_dsp/arm/deblock_neon.c
+++ b/vpx_dsp/arm/deblock_neon.c
@@ -91,11 +91,6 @@
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;