ref: e7b67d33a97da9eca99424fcdf5175159240af2a
parent: 0e36158c7064db3410bf269df14d7bbd9f6d8492
parent: 65821d668038d69b7b813616a02ffd97f7563821
author: Jingning Han <jingning@google.com>
date: Mon Feb 25 08:38:33 EST 2013
Merge "Improving the forward 16x16 ADST/DCT accuracy" into experimental
--- a/vp9/encoder/vp9_dct.c
+++ b/vp9/encoder/vp9_dct.c
@@ -728,10 +728,10 @@
// column transform
for (i = 0; i < 16; ++i) {
for (j = 0; j < 16; ++j)
- temp_in[j] = input[j * short_pitch + i];
+ temp_in[j] = input[j * short_pitch + i] << 2;
fwdc(temp_in, temp_out);
for (j = 0; j < 16; ++j)
- outptr[j * 16 + i] = temp_out[j];
+ outptr[j * 16 + i] = (temp_out[j] + 1 + (temp_out[j] > 0)) >> 2;
}
// row transform
--
⑨