25 #include "video/video_decoder.h" 29 class SeekableReadStream;
39 class VideoCacheLoader;
42 friend class VideoCacheLoader;
44 enum CacheHint { kLoadForward, kLoadBidirectional };
46 AVFDecoder(CacheHint cacheHint = kLoadForward) : _cacheHint(cacheHint) {}
51 void addFrameTime(
const uint16 timeToAdd);
58 friend class VideoCacheLoader;
61 virtual ~AVFVideoTrack();
63 uint16 getWidth()
const override {
return _width; }
64 uint16 getHeight()
const override {
return _height; }
66 int getCurFrame()
const override {
return _curFrame; }
67 int getFrameCount()
const override {
return _frameCount; }
68 bool isSeekable()
const override {
return true; }
70 bool setReverse(
bool reverse)
override;
71 bool isReversed()
const override {
return _reversed; }
72 bool endOfTrack()
const override;
84 uint32 compressedSize;
93 uint _width, _height, _depth, _frameSize;
104 CacheHint _cacheHint;
110 #endif // NANCY_VIDEO_H
Definition: video_decoder.h:686
Definition: timestamp.h:83
Definition: rational.h:40
Definition: video_decoder.h:53
Definition: algorithm.h:29
Definition: formatinfo.h:28
Definition: decompress.h:35
Definition: actionmanager.h:32