summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_common_data.h
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2014-07-10 10:55:44 -0700
committerJingning Han <jingning@google.com>2014-07-11 15:49:22 -0700
commit3cddd81c6d7c0f11114cf73f25f3fadb3e46a59d (patch)
treef2f550e874b5c55b7256af06b3ee49a3fa9fe8bd /vp9/common/vp9_common_data.h
parent46441ec5c88529a9a3d4860d899992bf23e368e6 (diff)
downloadlibvpx-3cddd81c6d7c0f11114cf73f25f3fadb3e46a59d.tar
libvpx-3cddd81c6d7c0f11114cf73f25f3fadb3e46a59d.tar.gz
libvpx-3cddd81c6d7c0f11114cf73f25f3fadb3e46a59d.tar.bz2
libvpx-3cddd81c6d7c0f11114cf73f25f3fadb3e46a59d.zip
Fix chrome valgrind warning due to the use of mismatched bsize
This commit fixes a mismatched use case of block size in non-RD intra prediction check. The residual SSE and variance should be calculated per transform block size, instead of operating block size, which caused chrome valgrind warning on conditional jump based on uninitialized value (webm issue 823). This commit resolves this issue. Change-Id: I595c06599c7e0fd0e4a08736519ba68fc14bc79a
Diffstat (limited to 'vp9/common/vp9_common_data.h')
-rw-r--r--vp9/common/vp9_common_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vp9/common/vp9_common_data.h b/vp9/common/vp9_common_data.h
index f41962747..a06c9bed8 100644
--- a/vp9/common/vp9_common_data.h
+++ b/vp9/common/vp9_common_data.h
@@ -29,6 +29,7 @@ extern const int num_pels_log2_lookup[BLOCK_SIZES];
extern const PARTITION_TYPE partition_lookup[][BLOCK_SIZES];
extern const BLOCK_SIZE subsize_lookup[PARTITION_TYPES][BLOCK_SIZES];
extern const TX_SIZE max_txsize_lookup[BLOCK_SIZES];
+extern const BLOCK_SIZE txsize_to_bsize[TX_SIZES];
extern const TX_SIZE tx_mode_to_biggest_tx_size[TX_MODES];
extern const BLOCK_SIZE ss_size_lookup[BLOCK_SIZES][2][2];