|
|
@ -84,7 +84,7 @@ typedef struct MJpegDecodeContext { |
|
|
|
int h_max, v_max; /* maximum h and v counts */ |
|
|
|
int h_max, v_max; /* maximum h and v counts */ |
|
|
|
int quant_index[4]; /* quant table index for each component */ |
|
|
|
int quant_index[4]; /* quant table index for each component */ |
|
|
|
int last_dc[MAX_COMPONENTS]; /* last DEQUANTIZED dc (XXX: am I right to do that ?) */ |
|
|
|
int last_dc[MAX_COMPONENTS]; /* last DEQUANTIZED dc (XXX: am I right to do that ?) */ |
|
|
|
AVFrame picture; /* picture structure */ |
|
|
|
AVFrame *picture; /* picture structure */ |
|
|
|
AVFrame *picture_ptr; /* pointer to picture structure */ |
|
|
|
AVFrame *picture_ptr; /* pointer to picture structure */ |
|
|
|
int got_picture; ///< we found a SOF and picture is valid, too.
|
|
|
|
int got_picture; ///< we found a SOF and picture is valid, too.
|
|
|
|
int linesize[MAX_COMPONENTS]; ///< linesize << interlaced
|
|
|
|
int linesize[MAX_COMPONENTS]; ///< linesize << interlaced
|
|
|
|