shithub: libvpx

Download patch

ref: 5fb8d15a12a0b45a04940fb7fea5070cfdea687e
parent: 73b65e763c88a24914566118f078c2a6fb0a553a
author: Jingning Han <[email protected]>
date: Sun Jul 22 03:32:58 EDT 2018

Map coding block size to transform block size

Change-Id: I89e18262a2736c0e86f7c30513179806a926827e

--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -5780,7 +5780,7 @@
   MODE_INFO mi_above, mi_left;
 
   const BLOCK_SIZE bsize = BLOCK_32X32;
-  const TX_SIZE tx_size = TX_32X32;
+  const TX_SIZE tx_size = max_txsize_lookup[bsize];
   const int bw = 4 << b_width_log2_lookup[bsize];
   const int bh = 4 << b_height_log2_lookup[bsize];
   const int mi_height = num_8x8_blocks_high_lookup[bsize];