[FFmpeg-soc] [soc]: r970 - jpeg2000/j2kdec.c
k.nowosad
subversion at mplayerhq.hu
Sat Aug 18 20:30:13 CEST 2007
Author: k.nowosad
Date: Sat Aug 18 20:30:13 2007
New Revision: 970
Log:
corrected one of constants used in dwt decoding
Modified:
jpeg2000/j2kdec.c
Modified: jpeg2000/j2kdec.c
==============================================================================
--- jpeg2000/j2kdec.c (original)
+++ jpeg2000/j2kdec.c Sat Aug 18 20:30:13 2007
@@ -881,7 +881,7 @@ static void sr_1d97(float *p, int i0, in
for (i = i0/2 - 1; i < i1/2 + 2; i++)
p[2*i] *= 1.230174;
for (i = i0/2 - 2; i < i1/2 + 2; i++)
- p[2*i+1] *= 0.812893;
+ p[2*i+1] *= 1.625786;
for (i = i0/2 - 1; i < i1/2 + 2; i++)
p[2*i] -= 0.443506 * (p[2*i-1] + p[2*i+1]);
for (i = i0/2 - 1; i < i1/2 + 1; i++)
More information about the FFmpeg-soc
mailing list