shithub: libvpx

Download patch

ref: efccbc9fb5df834316bc4c620b76e85a19fe7c52
parent: dc008cc17d78165f5fa053de391238373c4bb989
author: Jingning Han <jingning@google.com>
date: Tue Jul 12 04:58:39 EDT 2016

Disable trellis optimization when lossless is on

Disable trellis coefficient optimization when the lossless mode
is turned on.

Change-Id: I9001bf626e86dc3c8c32331ede04fd39036e5f7c

--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -546,7 +546,7 @@
   sf->adaptive_interp_filter_search = 0;
   sf->allow_partition_search_skip = 0;
   sf->txfm_domain_distortion = 0;
-  sf->quant_coeff_opt = 1;
+  sf->quant_coeff_opt = sf->optimize_coefficients;
 
   for (i = 0; i < TX_SIZES; i++) {
     sf->intra_y_mode_mask[i] = INTRA_ALL;