]> granicus.if.org Git - libvpx/commit
fixed an issue related to 2nd order size due to merge artifacts.
authorYaowu Xu <yaowu@google.com>
Fri, 10 Feb 2012 19:49:22 +0000 (11:49 -0800)
committerYaowu Xu <yaowu@google.com>
Fri, 10 Feb 2012 19:49:22 +0000 (11:49 -0800)
commit9ded6e375a417c992ba6f55e3d31b8be74dca131
treec5718350701e1f0974e48639919951e142d10dd8
parent2615ca5d41388216ec65db9d9cb0f719efef855a
fixed an issue related to 2nd order size due to merge artifacts.

For 8x8 transformed macroblock, the 2nd order transform is a 2x2 haar
transform, here there is only 4 coefficients total. A previous merge
changed these to 64, causing crashes when encoding with 8x8 transform
enabled. (i.e. when input video image size > 640x360 ) This commit
reverts them back to 4 and fixes the crashes.

Change-Id: I3290b81f8c0d32c7efec03093a61ea57736c0550
vp8/decoder/detokenize.c
vp8/encoder/quantize.c
vp8/encoder/tokenize.c