summaryrefslogtreecommitdiff
path: root/libavcodec/dct-test.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-11 23:57:47 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-11 23:57:47 +0100
commit2981f6a79faca831fde6b80d32c72e3b42d4bfac (patch)
tree7fb45066440d7ae06a2e1bf2c1a40d2f4c7202e9 /libavcodec/dct-test.c
parent0065d2d520caab2321b35a7bec5d62564913238b (diff)
avcodec/dct-test: correct output bias of prores idct
This way the output values make sense Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r--libavcodec/dct-test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 547ea02a21..8800360647 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -113,6 +113,10 @@ static void ff_prores_idct_put_10_sse2_wrap(int16_t *dst){
tmp[i]= dst[i];
}
ff_prores_idct_put_10_sse2(dst, 16, tmp, qmat);
+
+ for(i=0; i<64; i++) {
+ dst[i] -= 512;
+ }
}
#endif