Add a seperate VLC table for progressive jpeg so we dont have to subtract 16 in the inner loop.

Originally committed as revision 25545 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2010-10-21 22:44:41 +00:00
parent 8870b25140
commit 5675a11f92
2 changed files with 12 additions and 7 deletions

View File

@ -44,7 +44,7 @@ typedef struct MJpegDecodeContext {
uint8_t *buffer;
int16_t quant_matrixes[4][64];
VLC vlcs[2][4];
VLC vlcs[3][4];
int qscale[4]; ///< quantizer scale calculated from quant_matrixes
int org_height; /* size given at codec init */