From 09d947ecb9c1170e53baa892e15744b3079f9502 Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Thu, 8 May 2014 18:28:16 -0700 Subject: [PATCH] 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 --- vp9/encoder/vp9_ratectrl.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vp9/encoder/vp9_ratectrl.c b/vp9/encoder/vp9_ratectrl.c index fe43f3a07..0f4c4da13 100644 --- a/vp9/encoder/vp9_ratectrl.c +++ b/vp9/encoder/vp9_ratectrl.c @@ -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;