Commit 01993f7d authored by Dmitry Kovalev's avatar Dmitry Kovalev
Browse files

Removing last_kf_gf_q member from VP9Common structure.

It looks like we don't actually use this value.

Change-Id: If21d52b597337e7755f7ea817824fc2b1e477a14
parent 7fd2561d
......@@ -146,8 +146,6 @@ typedef struct VP9Common {
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;
......
......@@ -3386,11 +3386,6 @@ static void encode_frame_to_data_rate(VP9_COMP *cpi,
#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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment