shithub: libvpx

Download patch

ref: 82fe8c9f367ebbe72c5bd8199c1971649f952afa
parent: 5d9ba7938eb62efda31d7a45bce2bc49262d8484
parent: 374a17366e8bbac63c28db270781057273838c20
author: Yaowu Xu <yaowu@google.com>
date: Thu Mar 14 15:05:17 EDT 2013

Merge "force lossless coding at very high quality end" into experimental

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -1292,7 +1292,9 @@
   vp9_zero(cpi->mb_mv_ref_count);
 #endif
 
-  // force lossless mode when Q0 is selected
+  // force lossless mode
+  if (cm->base_qindex <= 4)
+    cm->base_qindex = 0;
   cpi->mb.e_mbd.lossless = (cm->base_qindex == 0 &&
                             cm->y1dc_delta_q == 0 &&
                             cm->uvdc_delta_q == 0 &&
--