Commit 631d2162 authored by Dmitry Kovalev's avatar Dmitry Kovalev Committed by Gerrit Code Review
Browse files

Merge "Removing last_kf_gf_q member from VP9Common structure."

parents e05412fc 01993f7d
......@@ -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