Commit 65801040 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dct-test: reproduce 4..1019 clipping when testing prores IDCT

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2981f6a7
......@@ -284,6 +284,9 @@ static int dct_error(const struct algo *dct, int test, int is_idct, int speed, c
}
ref(block1);
if (!strcmp(dct->name, "PR-SSE2"))
for (i = 0; i < 64; i++)
block1[i] = av_clip(block1[i], 4-512, 1019-512);
blockSumErr = 0;
for (i = 0; i < 64; i++) {
......
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