22 #ifndef IMAGE_CODECS_MPEG_H 23 #define IMAGE_CODECS_MPEG_H 25 #include "image/codecs/codec.h" 26 #include "graphics/pixelformat.h" 30 typedef struct mpeg2dec_s mpeg2dec_t;
31 typedef struct mpeg2_info_s mpeg2_info_t;
34 class SeekableReadStream;
48 class MPEGDecoder :
public Codec {
51 ~MPEGDecoder()
override;
59 _pixelFormat = format;
74 byte _buffer[BUFFER_SIZE];
75 mpeg2dec_t *_mpegDecoder;
76 const mpeg2_info_t *_mpegInfo;
81 #endif // IMAGE_CODECS_MPEG_H
Definition: algorithm.h:29
Definition: formatinfo.h:28
Definition: movie_decoder.h:32