Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-12 03:17:49 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-01-12 03:21:07 +0400
commit65801040c648bbe352ad48ced2045bbeb25e9fcf (patch)
treec720c56939f5209655f8820e70e50d0b0f72a01c /libavcodec/dct-test.c
parent2981f6a79faca831fde6b80d32c72e3b42d4bfac (diff)
avcodec/dct-test: reproduce 4..1019 clipping when testing prores IDCT
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r--libavcodec/dct-test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 8800360647..dc439c6195 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -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++) {