From 2d4fafac182252f31419ef386097d460214a17b9 Mon Sep 17 00:00:00 2001 From: Jingning Han Date: Fri, 26 May 2017 11:35:05 -0700 Subject: [PATCH] Cover intra tx size count in rect-tx Account for intra tx size case when coding block is in skip mode. Change-Id: I030bc05d890c4a7c8d4628a7f9bdebaba6083a03 --- av1/encoder/encodeframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/av1/encoder/encodeframe.c b/av1/encoder/encodeframe.c index a5c45afbf..0e8cafb22 100644 --- a/av1/encoder/encodeframe.c +++ b/av1/encoder/encodeframe.c @@ -6147,7 +6147,7 @@ static void encode_superblock(const AV1_COMP *const cpi, ThreadData *td, #if CONFIG_VAR_TX mbmi->min_tx_size = get_min_tx_size(intra_tx_size); - if (intra_tx_size != max_txsize_lookup[bsize]) ++x->txb_split_count; + if (intra_tx_size != max_txsize_rect_lookup[bsize]) ++x->txb_split_count; #endif }