shithub: libvpx

Download patch

ref: 6d465faa3430fa4ada389c5f889832e7c5a84ab2
parent: 403f6b5846df2a7c83984f73e58f40b3df884132
author: Ronald S. Bultje <rbultje@google.com>
date: Thu Oct 25 14:09:02 EDT 2012

Extend edges correctly during actual frame encoding also.

Should fix B_PRED-related encoder/decoder mismatches.

Change-Id: I16f808dffd19094e02e8562ba58cc1016155ce93

--- a/vp8/encoder/encodeframe.c
+++ b/vp8/encoder/encodeframe.c
@@ -982,6 +982,12 @@
 
     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)
--