shithub: libvpx

Download patch

ref: e2000cc5ca4d0068e7ee1ad43a18cd67667950c0
parent: 07c6eb18ade194df97bb7f5ae686dce0574dc27f
author: Scott LaVarnway <slavarnway@google.com>
date: Thu Feb 2 08:28:41 EST 2012

Removed frames_since_golden from MACROBLOCKD

Change-Id: I10efa441d663fceb6bc97a3bfad518cd3d9a5128

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