]> granicus.if.org Git - libvpx/commitdiff
Allow speed 5 lossless
authorAlex Converse <aconverse@google.com>
Fri, 9 May 2014 01:28:16 +0000 (18:28 -0700)
committerAlex Converse <aconverse@google.com>
Fri, 9 May 2014 16:53:46 +0000 (09:53 -0700)
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

index fe43f3a07dde4dd6f16916a72f44c633255320b7..0f4c4da13930a776fc2f1132486384dc0095a44e 100644 (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;