Commit eb0ab207 authored by Marco Paniconi's avatar Marco Paniconi Committed by Gerrit Code Review
Browse files

Merge "Remove the q division by 3 for first frame."

parents 88690475 939f0e74
...@@ -977,12 +977,9 @@ int vp9_rc_pick_q_and_bounds(const VP9_COMP *cpi, ...@@ -977,12 +977,9 @@ int vp9_rc_pick_q_and_bounds(const VP9_COMP *cpi,
q = rc_pick_q_and_bounds_two_pass(cpi, bottom_index, top_index); q = rc_pick_q_and_bounds_two_pass(cpi, bottom_index, top_index);
} }
// JBB : This is realtime mode. In real time mode the first frame // Q of 0 is disabled because we force tx size to be
// should be larger. Q of 0 is disabled because we force tx size to be
// 16x16... // 16x16...
if (cpi->sf.use_nonrd_pick_mode) { if (cpi->sf.use_nonrd_pick_mode) {
if (cpi->common.current_video_frame == 0)
q /= 3;
if (q == 0) if (q == 0)
q++; q++;
if (cpi->sf.partition_check == 1) if (cpi->sf.partition_check == 1)
......
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