mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avcodec/jpeg2000dwt: Also test 9/7 integer DWT
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3bd46914fb
commit
d23b3f3940
@ -265,8 +265,6 @@ static void dwt_encode97_int(DWTContext *s, int *t)
|
||||
lp;
|
||||
int *l;
|
||||
|
||||
av_assert1(!mh && !mv);
|
||||
|
||||
// VER_SD
|
||||
l = line + mv;
|
||||
for (lp = 0; lp < lh; lp++) {
|
||||
@ -669,6 +667,9 @@ int main(void) {
|
||||
ret = test_dwt(array, ref, border, decomp_levels, FF_DWT53, 0);
|
||||
if (ret)
|
||||
return ret;
|
||||
ret = test_dwt(array, ref, border, decomp_levels, FF_DWT97_INT, FFMIN(7+5*decomp_levels, 15+3*decomp_levels));
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user