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
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;