shithub: libvpx

Download patch

ref: 11c706488b8d457cb808a8a7ff1358ae55d36649
parent: e2000cc5ca4d0068e7ee1ad43a18cd67667950c0
author: Scott LaVarnway <slavarnway@google.com>
date: Thu Feb 2 08:34:13 EST 2012

Removed frames_till_alt_ref_frame from MACROBLOCKD

Change-Id: Ieb05270ac332a4cc38ec4b7b995fc0150e0fffdf

--- a/vp8/common/blockd.h
+++ b/vp8/common/blockd.h
@@ -261,7 +261,6 @@
     int ref_frame_cost[MAX_REF_FRAMES];
 
 
-    unsigned int frames_till_alt_ref_frame;
     vp8_subpix_fn_t  subpixel_predict;
     vp8_subpix_fn_t  subpixel_predict8x4;
     vp8_subpix_fn_t  subpixel_predict8x8;
--- a/vp8/decoder/threading.c
+++ b/vp8/decoder/threading.c
@@ -47,8 +47,6 @@
         mbd->mode_info_stride  = pc->mode_info_stride;
 
         mbd->frame_type = pc->frame_type;
-        mbd->frames_till_alt_ref_frame  = pc->frames_till_alt_ref_frame;
-
         mbd->pre = pc->yv12_fb[pc->lst_fb_idx];
         mbd->dst = pc->yv12_fb[pc->new_fb_idx];
 
--- a/vp8/encoder/encodeframe.c
+++ b/vp8/encoder/encodeframe.c
@@ -595,8 +595,6 @@
 
     xd->frame_type = cm->frame_type;
 
-    xd->frames_till_alt_ref_frame = cm->frames_till_alt_ref_frame;
-
     // reset intra mode contexts
     if (cm->frame_type == KEY_FRAME)
         vp8_init_mbmode_probs(cm);
--- a/vp8/encoder/ethreading.c
+++ b/vp8/encoder/ethreading.c
@@ -437,8 +437,6 @@
 
         mbd->frame_type = cm->frame_type;
 
-        mbd->frames_till_alt_ref_frame = cm->frames_till_alt_ref_frame;
-
         mb->src = * cpi->Source;
         mbd->pre = cm->yv12_fb[cm->lst_fb_idx];
         mbd->dst = cm->yv12_fb[cm->new_fb_idx];
--