From: Ronald S. Bultje Date: Fri, 26 Oct 2012 01:09:02 +0000 (-0700) Subject: Extend edges correctly during actual frame encoding also. X-Git-Tag: v1.3.0~1217^2~177^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d465faa3430fa4ada389c5f889832e7c5a84ab2;p=libvpx Extend edges correctly during actual frame encoding also. Should fix B_PRED-related encoder/decoder mismatches. Change-Id: I16f808dffd19094e02e8562ba58cc1016155ce93 --- diff --git a/vp8/encoder/encodeframe.c b/vp8/encoder/encodeframe.c index 893a33817..66dc6c5c5 100644 --- a/vp8/encoder/encodeframe.c +++ b/vp8/encoder/encodeframe.c @@ -982,6 +982,12 @@ static void encode_sb(VP8_COMP *cpi, cpi->update_context = 0; +#if CONFIG_SUPERBLOCKS + if (!xd->mode_info_context->mbmi.encoded_as_sb) +#endif + vp8_intra_prediction_down_copy(xd, mb_col == cm->mb_cols - 1 && + (mb_row & 1) == 0); + if (cm->frame_type == KEY_FRAME) { #if CONFIG_SUPERBLOCKS if (xd->mode_info_context->mbmi.encoded_as_sb)