summaryrefslogtreecommitdiff
path: root/vp8/encoder
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@google.com>2012-10-25 18:09:02 -0700
committerRonald S. Bultje <rbultje@google.com>2012-10-25 18:09:02 -0700
commit6d465faa3430fa4ada389c5f889832e7c5a84ab2 (patch)
tree84bf6f4b9d6d1a251d02fc0c7191de5a02e97b3f /vp8/encoder
parent403f6b5846df2a7c83984f73e58f40b3df884132 (diff)
downloadlibvpx-6d465faa3430fa4ada389c5f889832e7c5a84ab2.tar
libvpx-6d465faa3430fa4ada389c5f889832e7c5a84ab2.tar.gz
libvpx-6d465faa3430fa4ada389c5f889832e7c5a84ab2.tar.bz2
libvpx-6d465faa3430fa4ada389c5f889832e7c5a84ab2.zip
Extend edges correctly during actual frame encoding also.
Should fix B_PRED-related encoder/decoder mismatches. Change-Id: I16f808dffd19094e02e8562ba58cc1016155ce93
Diffstat (limited to 'vp8/encoder')
-rw-r--r--vp8/encoder/encodeframe.c6
1 files changed, 6 insertions, 0 deletions
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)