Improve 32x32 forward dct
authorYaowu Xu <yaowu@google.com>
Mon, 25 Feb 2013 23:21:01 +0000 (15:21 -0800)
committerYaowu Xu <yaowu@google.com>
Tue, 26 Feb 2013 17:23:01 +0000 (09:23 -0800)
commit66d94ac13c4ad5c571e0532ffbab04f29eddc985
tree4be35687dbe7ad6cd34d3f7f44fe0968a445e6c7
parent9770d564f4984e6a0d3cfdfb7e5b8bc83f52dccf
Improve 32x32 forward dct

The commit improves the 32x32 forward dct implementation:
1. change to use same constants and rounding as other forward dcts
2. select rounding to specifically minimize the roundtrip error, which
improved average 19/block to .77/block using 100000 random input.

Test showed a small but consistent gain on all test sets, about .15%

Change-Id: If0afd6a71880a522f60c1c234be0462092c2eb53
vp9/common/vp9_idct.h
vp9/encoder/vp9_dct.c