ref: 5f0dc57653eb60e950b3e71a1ed0d4b624ae4ef7
parent: 2dcfd16fbd672993cd75586187ff3fe09a5f7ce2
parent: 0af5ff49bdb7f5b7c54b18d5225e63739ea859ca
author: Adrian Grange <[email protected]>
date: Mon May 11 18:47:48 EDT 2015
Merge "Reduce border extension by 1 line"
--- a/vp9/decoder/vp9_decodeframe.c
+++ b/vp9/decoder/vp9_decodeframe.c
@@ -1973,7 +1973,7 @@
// Wait until reference block is ready. Pad 7 more pixels as last 7
// pixels of each superblock row can be changed by next superblock row.
if (pbi->frame_parallel_decode) {
- const int y1 = ((y0_16 + (h - 1) * ys) >> SUBPEL_BITS) + 1;
+ const int y1 = (y0_16 + (h - 1) * ys) >> SUBPEL_BITS;
vp9_frameworker_wait(pbi->frame_worker_owner, ref_frame_buf,
MAX(0, (y1 + 7)) << (plane == 0 ? 0 : 1));
}