]> granicus.if.org Git - libvpx/commit
Fix chrome valgrind warning due to the use of mismatched bsize
authorJingning Han <jingning@google.com>
Thu, 10 Jul 2014 17:55:44 +0000 (10:55 -0700)
committerJingning Han <jingning@google.com>
Fri, 11 Jul 2014 22:49:22 +0000 (15:49 -0700)
commit3cddd81c6d7c0f11114cf73f25f3fadb3e46a59d
treef2f550e874b5c55b7256af06b3ee49a3fa9fe8bd
parent46441ec5c88529a9a3d4860d899992bf23e368e6
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
vp9/common/vp9_common_data.c
vp9/common/vp9_common_data.h
vp9/encoder/vp9_pickmode.c