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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/53/head
Michael Niedermayer 11 years ago
parent 2981f6a79f
commit 65801040c6
  1. 3
      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++) {

Loading…
Cancel
Save