Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer 12 years ago
parent
commit
65801040c6
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavcodec/dct-test.c

+ 3
- 0
libavcodec/dct-test.c View File

@@ -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