22 #ifndef VIDEO_PACODECODER_H 23 #define VIDEO_PACODECODER_H 25 #include "audio/audiostream.h" 26 #include "common/list.h" 27 #include "common/rect.h" 28 #include "video/video_decoder.h" 31 class SeekableReadStream;
51 void close()
override;
56 void clearDirtyRects();
57 void copyDirtyRectsToBuffer(uint8 *dst, uint pitch);
58 const byte *getPalette();
59 virtual void readNextPacket()
override;
66 uint16 frameRate, uint16 frameCount, uint16 width, uint16 height);
69 bool endOfTrack()
const override;
70 virtual bool isRewindable()
const override {
return false; }
72 uint16 getWidth()
const override;
73 uint16 getHeight()
const override;
75 int getCurFrame()
const override {
return _curFrame; }
76 int getFrameCount()
const override {
return _frameCount; }
79 virtual void handleEOC() { _curFrame += 1; };
81 const byte *getPalette()
const override;
82 bool hasDirtyPalette()
const override {
return _dirtyPalette; }
85 void clearDirtyRects() { _dirtyRects.
clear(); }
86 void copyDirtyRectsToBuffer(uint8 *dst, uint pitch);
94 mutable bool _dirtyPalette;
122 int _frameSizes[65536];
123 int getAudioSamplingRate();
Definition: video_decoder.h:686
Definition: video_decoder.h:711
Definition: audiostream.h:446
Definition: rational.h:40
Definition: video_decoder.h:53
Definition: algorithm.h:29
Definition: formatinfo.h:28
Definition: audiostream.h:50
void clear()
Definition: list.h:206
Definition: paco_decoder.h:63
Definition: paco_decoder.h:47
Definition: avi_frames.h:36
Definition: paco_decoder.h:103