Allow speed 5 lossless

tx_mode supercedes whatever mechanism is used to push for 16x16
allowing for the use of the 4x4 transform.

Change-Id: I6c3f05ab9fe52050e40cc6303de9334653763289
This commit is contained in:
Alex Converse 2014-05-08 18:28:16 -07:00
parent ff3baaef94
commit 09d947ecb9

View File

@ -972,11 +972,7 @@ 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 of 0 is disabled because we force tx size to be
// 16x16...
if (cpi->sf.use_nonrd_pick_mode) {
if (q == 0)
q++;
if (cpi->sf.force_frame_boost == 1)
q -= cpi->sf.max_delta_qindex;