# HG changeset patch # User michael # Date 1113084948 0 # Node ID c31a28f27d9a7e5d84577ea30c05c7974be993f7 # Parent 2bcea6618a87a501022dfd63cdb7dbe18a90c05e 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 diff -r 2bcea6618a87 -r c31a28f27d9a snow.c --- a/snow.c Sat Apr 09 19:48:59 2005 +0000 +++ b/snow.c Sat Apr 09 22:15:48 2005 +0000 @@ -31,7 +31,7 @@ #define MAX_DECOMPOSITIONS 8 #define MAX_PLANES 4 #define DWTELEM int -#define QSHIFT 3 +#define QSHIFT 5 #define QROOT (1<