Removed frames_till_alt_ref_frame from MACROBLOCKD
authorScott LaVarnway <slavarnway@google.com>
Thu, 2 Feb 2012 18:34:13 +0000 (13:34 -0500)
committerScott LaVarnway <slavarnway@google.com>
Thu, 2 Feb 2012 18:34:13 +0000 (13:34 -0500)
Change-Id: Ieb05270ac332a4cc38ec4b7b995fc0150e0fffdf

vp8/common/blockd.h
vp8/decoder/threading.c
vp8/encoder/encodeframe.c
vp8/encoder/ethreading.c

index 2c8c8cd..6a03f1e 100644 (file)
@@ -261,7 +261,6 @@ typedef struct macroblockd
     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;
index f65b744..16c5d39 100644 (file)
@@ -47,8 +47,6 @@ static void setup_decoding_thread_data(VP8D_COMP *pbi, MACROBLOCKD *xd, MB_ROW_D
         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];
 
index 0af3e55..e762d25 100644 (file)
@@ -595,8 +595,6 @@ void init_encode_frame_mb_context(VP8_COMP *cpi)
 
     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);
index fdc4efa..7740e5d 100644 (file)
@@ -437,8 +437,6 @@ void vp8cx_init_mbrthread_data(VP8_COMP *cpi,
 
         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];