]> granicus.if.org Git - libvpx/commitdiff
Make tx_type speed feature default
authorJingning Han <jingning@google.com>
Mon, 13 Jun 2016 19:08:14 +0000 (12:08 -0700)
committerJingning Han <jingning@google.com>
Mon, 13 Jun 2016 19:19:54 +0000 (12:19 -0700)
Revisit the compression performance and complexity trade-off after
making the SIMD version of trellis optimizations. Before that,
reduce the transform-quantization function calls temporarily. This
would cause about 0.3% performance drop for lowres set.

Change-Id: I16917a6bd5c44ec6cd8cd0b59f3c336c4fd96dd2

vp10/encoder/speed_features.c

index bd0cb818908e513811297e0b9a5a0e28fc58a5cd..53b8bd7d11721c974ceb613fd055d0a15c63177d 100644 (file)
@@ -132,6 +132,9 @@ static void set_good_speed_feature(VP10_COMP *cpi, VP10_COMMON *cm,
 
   sf->adaptive_rd_thresh = 1;
 
+  sf->tx_type_search.fast_intra_tx_type_search = 1;
+  sf->tx_type_search.fast_inter_tx_type_search = 1;
+
   if (speed >= 1) {
     if ((cpi->twopass.fr_content_type == FC_GRAPHICS_ANIMATION) ||
         vp10_internal_image_edge(cpi)) {