3 #ifndef __include_lib_codecs_picjpeg_h
4 #define __include_lib_codecs_picjpeg_h
6 #include <lib/base/eerror.h>
8 #include <lib/codecs/pic.h>
10 class ePictureDecoderJPEG
: ePictureDecoder
12 jpeg_decompress_struct cinfo
;
16 enum { stateHeader
, stateStartDecompression
, stateOutput
, stateFinishDecompression
, stateEnd
} state
;
18 ePictureDecoderJPEG(eIOBuffer
&input
);
19 ~ePictureDecoderJPEG();
20 int decodeMore(int maxscanlines
);
25 #endif // DISABLE_FILE