From: Michael Niedermayer Date: Sat, 9 Apr 2005 22:15:48 +0000 (+0000) Subject: increasing precission of the quantization parameter X-Git-Tag: v0.5~14059 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0a74ad9f0f18b276b0f3581c533f19e598b7eac;p=platform%2Fupstream%2Flibav.git increasing precission of the quantization parameter this is needed as the quantization stepsize for each subband is also in this precission and insignificant changes to the wavelet like scaling its coefficients slightly differently would lead to wildly variing PSNR and bitrate note, a encoder could also simply choose to leave the least significant bits of the quantization parameters zero which would give the exact previous behaviour except a y very tiny number of bits in the header Originally committed as revision 4115 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/snow.c b/libavcodec/snow.c index b355920..f96d934 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -31,7 +31,7 @@ #define MAX_DECOMPOSITIONS 8 #define MAX_PLANES 4 #define DWTELEM int -#define QSHIFT 3 +#define QSHIFT 5 #define QROOT (1<