shithub: libvpx

Download patch

ref: 631d2162730af5f9cdcbbf9e049b8c3aa57c3cf5
parent: e05412fc23830d1af6560e5906884fa12184ce82
parent: 01993f7d4a4f2232939dcbaef9d5c07be6040b2a
author: Dmitry Kovalev <dkovalev@google.com>
date: Thu Oct 17 10:46:02 EDT 2013

Merge "Removing last_kf_gf_q member from VP9Common structure."

--- a/vp9/common/vp9_onyxc_int.h
+++ b/vp9/common/vp9_onyxc_int.h
@@ -146,8 +146,6 @@
   TX_MODE tx_mode;
 
   int base_qindex;
-  int last_kf_gf_q;  /* Q used on the last GF or KF */
-
   int y_dc_delta_q;
   int uv_dc_delta_q;
   int uv_ac_delta_q;
--- a/vp9/encoder/vp9_onyx_if.c
+++ b/vp9/encoder/vp9_onyx_if.c
@@ -3386,11 +3386,6 @@
 #if 0
   output_frame_level_debug_stats(cpi);
 #endif
-  // If this was a kf or Gf note the Q
-  if ((cm->frame_type == KEY_FRAME)
-      || cpi->refresh_golden_frame || cpi->refresh_alt_ref_frame)
-    cm->last_kf_gf_q = cm->base_qindex;
-
   if (cpi->refresh_golden_frame == 1)
     cm->frame_flags = cm->frame_flags | FRAMEFLAGS_GOLDEN;
   else