]> granicus.if.org Git - libvpx/commitdiff
Removed last_kf_gf_q
authorScott LaVarnway <slavarnway@google.com>
Thu, 2 Aug 2012 19:02:36 +0000 (12:02 -0700)
committerScott LaVarnway <slavarnway@google.com>
Thu, 2 Aug 2012 19:02:36 +0000 (12:02 -0700)
Not used.

Change-Id: I7595cb21db73bd56ee4d9280ecb7ab9b1240f4e2

vp8/common/onyxc_int.h
vp8/decoder/decodframe.c
vp8/encoder/onyx_if.c

index d7d02c2cfedc9e237d28a81734018bd1e1159eb1..c44ba8d23c3089bab2ca0b85fe922cc720af4593 100644 (file)
@@ -108,7 +108,6 @@ typedef struct VP8Common
     int full_pixel;
 
     int base_qindex;
-    int last_kf_gf_q;  /* Q used on the last GF or KF */
 
     int y1dc_delta_q;
     int y2dc_delta_q;
index 4a33f5aef60bae53dd7500fffac276164b787ee5..c9e3701c503ebc7a930472ba5defeeb55dcb77a7 100644 (file)
@@ -1179,13 +1179,6 @@ int vp8_decode_frame(VP8D_COMP *pbi)
 
     /* vpx_log("Decoder: Frame Decoded, Size Roughly:%d bytes  \n",bc->pos+pbi->bc2.pos); */
 
-    /* If this was a kf or Gf note the Q used */
-    if ((pc->frame_type == KEY_FRAME) ||
-         pc->refresh_golden_frame || pc->refresh_alt_ref_frame)
-    {
-        pc->last_kf_gf_q = pc->base_qindex;
-    }
-
     if (pc->refresh_entropy_probs == 0)
     {
         vpx_memcpy(&pc->fc, &pc->lfc, sizeof(pc->fc));
index 56142c81bd4d3474bf33272f8635031c1f04c1ae..3e7087f5af4681befaf8d8b60a48f10c4558f553 100644 (file)
@@ -4575,10 +4575,6 @@ static void encode_frame_to_data_rate
 
 #endif
 
-    /* If this was a kf or Gf note the Q */
-    if ((cm->frame_type == KEY_FRAME) || cm->refresh_golden_frame || cm->refresh_alt_ref_frame)
-        cm->last_kf_gf_q = cm->base_qindex;
-
     if (cm->refresh_golden_frame == 1)
         cm->frame_flags = cm->frame_flags | FRAMEFLAGS_GOLDEN;
     else