[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mash/mash-1/codec/jpeg jpeg.cc



Update of /usr/mash/src/repository/mash/mash-1/codec/jpeg
In directory gumby.cs.berkeley.edu:/tmp/cvs-serv16335

Modified Files:
	jpeg.cc 
Log Message:
Fixed the way the JPEG codec counts decoded blocks. While 
the other decoders count all the blocks (both the luma 
and the chroma ones), the JPEG decoder only counted 
luma ones. 

I only changed the JpegDecoder_422::decode and 
JpegDecoder_411::decode. I didn't modify neither 
JpegDCTDecoder_422::decode nor 
JpegDCTDecoder_411::decode, which probably is not 
a good idea. Anyway, no code seems to use the number 
of decoded blocks except my performance stuff, so 
I'll leave it like this. 

Also added some comments and fixed some typos.