From dc1d2331f68e0b68add2ff1033cacfeacf3a0b5f Mon Sep 17 00:00:00 2001 From: James Zern Date: Sat, 13 Jul 2013 11:19:28 -0700 Subject: [PATCH] vp9: remove frames_{since,till}.. from MACROBLOCKD frames_since_golden / frames_till_alt_ref_frame are unused. Change-Id: I348e7689d4d75412cf4de7703d885be942e4a26b --- vp9/common/vp9_blockd.h | 3 --- vp9/encoder/vp9_encodeframe.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/vp9/common/vp9_blockd.h b/vp9/common/vp9_blockd.h index c98ca90b9..a74c4c11f 100644 --- a/vp9/common/vp9_blockd.h +++ b/vp9/common/vp9_blockd.h @@ -254,9 +254,6 @@ typedef struct macroblockd { int mb_to_top_edge; int mb_to_bottom_edge; - unsigned int frames_since_golden; - unsigned int frames_till_alt_ref_frame; - int lossless; /* Inverse transform function pointers. */ void (*inv_txm4x4_1_add)(int16_t *input, uint8_t *dest, int stride); diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 9a3d94b5c..225980630 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -1705,9 +1705,6 @@ static void init_encode_frame_mb_context(VP9_COMP *cpi) { xd->mode_info_stride = cm->mode_info_stride; 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 if (cm->frame_type == KEY_FRAME) vp9_init_mbmode_probs(cm); -- 2.40.0