changed one of the 9-7 coefficients (value closer to the one in the std)

This commit is contained in:
Antonin Descampe 2005-10-27 07:51:11 +00:00
parent 7ee36c3a4c
commit 18a9bcb882
1 changed files with 2 additions and 2 deletions

View File

@ -388,7 +388,7 @@ void dwt_decode_1_real(int *a, int dn, int sn, int cas)
for (i = 0; i < sn; i++) for (i = 0; i < sn; i++)
S(i) += fix_mul(D_(i - 1) + D_(i), 434); S(i) += fix_mul(D_(i - 1) + D_(i), 434);
for (i = 0; i < dn; i++) for (i = 0; i < dn; i++)
D(i) += fix_mul(S_(i) + S_(i + 1), 12993); D(i) += fix_mul(S_(i) + S_(i + 1), 12994); /* 12993 */
} }
} else { } else {
if ((sn > 0) || (dn > 1)) { /* NEW : CASE ONE ELEMENT */ if ((sn > 0) || (dn > 1)) { /* NEW : CASE ONE ELEMENT */
@ -403,7 +403,7 @@ void dwt_decode_1_real(int *a, int dn, int sn, int cas)
for (i = 0; i < sn; i++) for (i = 0; i < sn; i++)
D(i) += fix_mul(SS_(i) + SS_(i + 1), 434); D(i) += fix_mul(SS_(i) + SS_(i + 1), 434);
for (i = 0; i < dn; i++) for (i = 0; i < dn; i++)
S(i) += fix_mul(DD_(i) + DD_(i - 1), 12993); S(i) += fix_mul(DD_(i) + DD_(i - 1), 12994); /* 12993 */
} }
} }
} }