Commit 2981f6a7 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dct-test: correct output bias of prores idct

This way the output values make sense
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0065d2d5
...@@ -113,6 +113,10 @@ static void ff_prores_idct_put_10_sse2_wrap(int16_t *dst){ ...@@ -113,6 +113,10 @@ static void ff_prores_idct_put_10_sse2_wrap(int16_t *dst){
tmp[i]= dst[i]; tmp[i]= dst[i];
} }
ff_prores_idct_put_10_sse2(dst, 16, tmp, qmat); ff_prores_idct_put_10_sse2(dst, 16, tmp, qmat);
for(i=0; i<64; i++) {
dst[i] -= 512;
}
} }
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment