Update of /cvsroot/dirac/compress/libdirac_encoder
In directory
sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv833/libdirac_encod
er
Modified Files:
comp_compress.cpp
Log Message:
Initialise the multi-quants flag and estimated bits for DC
band to fix
bug where decoder output was not matching locally decoded
output.
Index: comp_compress.cpp
============================================================
=======
RCS file:
/cvsroot/dirac/compress/libdirac_encoder/comp_compress.cpp,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** comp_compress.cpp 11 Apr 2007 07:52:06 -0000 1.36
--- comp_compress.cpp 11 Apr 2007 16:26:32 -0000 1.37
***************
*** 223,226 ****
--- 223,228 ----
bands( bands.Length() ).SetQIndex( 0 );
bands( bands.Length() ).SetSkip( false );
+ bands( bands.Length() ).SetUsingMultiQuants( false
);
+ est_bits[ bands.Length()] = 0;
TwoDArray<CodeBlock>& blocks = bands(
bands.Length() ).GetCodeBlocks();
for (int j=0; j<blocks.LengthY(); ++j)
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Dirac-commits mailing list
Dirac-commits lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dirac-com
mits
|