shithub: libvpx

Download patch

ref: a47376c52d5a6e6e10157b178f49f2ea553df899
parent: 0145b5ee67cefc3f9e53829528ad0724dc0eae11
parent: e4dfacbf6c362aec84d2fdeb3de04d676b5ec176
author: Hui Su <huisu@google.com>
date: Thu Apr 26 19:58:33 EDT 2018

Merge "Do one level less of transform search for large blocks"

--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -858,6 +858,7 @@
   if (cm->tx_mode == TX_MODE_SELECT) {
     start_tx = max_tx_size;
     end_tx = VPXMAX(start_tx - cpi->sf.tx_size_search_depth, 0);
+    if (bs > BLOCK_32X32) end_tx = VPXMIN(end_tx + 1, start_tx);
   } else {
     TX_SIZE chosen_tx_size =
         VPXMIN(max_tx_size, tx_mode_to_biggest_tx_size[cm->tx_mode]);