xoreos
0.0.5
|
Public Member Functions | |
VideoTrackHandler (QuickTimeDecoder *decoder, QuickTimeTrack *parent) | |
Common::Timestamp | getDuration () const |
Get the duration of the track. More... | |
uint32 | getWidth () const |
Get the width of this track. More... | |
uint32 | getHeight () const |
Get the height of this track. More... | |
int | getCurFrame () const |
Get the current frame of this track. More... | |
int | getFrameCount () const |
Get the frame count of this track. More... | |
Common::Timestamp | getNextFrameStartTime () const |
Get the start time of the next frame since the start of the video. More... | |
bool | decodeNextFrame (Graphics::Surface &surface) |
Public Member Functions inherited from Video::VideoDecoder::VideoTrack | |
VideoTrack () | |
virtual | ~VideoTrack () |
TrackType | getTrackType () const |
Get the type of track. More... | |
virtual bool | endOfTrack () const |
Return if the track has finished. More... | |
virtual Common::Timestamp | getFrameTime (uint frame) const |
Get the time the given frame should be shown. More... | |
Public Member Functions inherited from Video::VideoDecoder::Track | |
Track () | |
virtual | ~Track () |
void | pause (bool shouldPause) |
Set the pause status of the track. More... | |
bool | isPaused () const |
Return if the track is paused. More... | |
Private Member Functions | |
Common::SeekableReadStream * | getNextFramePacket (uint32 &descId) |
uint32 | getFrameDuration () |
Private Attributes | |
QuickTimeDecoder * | _decoder |
QuickTimeTrack * | _parent |
int32 | _curFrame |
uint32 | _nextFrameStartTime |
Additional Inherited Members | |
Public Types inherited from Video::VideoDecoder::Track | |
enum | TrackType { kTrackTypeNone, kTrackTypeAudio, kTrackTypeVideo } |
The types of tracks this class can be. More... | |
Protected Member Functions inherited from Video::VideoDecoder::Track | |
virtual void | pauseIntern (bool shouldPause) |
Function called by pause() for subclasses to implement. More... | |
Definition at line 231 of file quicktime.h.
Video::QuickTimeDecoder::VideoTrackHandler::VideoTrackHandler | ( | QuickTimeDecoder * | decoder, |
QuickTimeTrack * | parent | ||
) |
Definition at line 965 of file quicktime.cpp.
bool Video::QuickTimeDecoder::VideoTrackHandler::decodeNextFrame | ( | Graphics::Surface & | surface | ) |
Definition at line 991 of file quicktime.cpp.
References Video::QuickTimeDecoder::VideoSampleDesc::_videoCodec.
|
inlinevirtual |
Get the current frame of this track.
Implements Video::VideoDecoder::VideoTrack.
Definition at line 238 of file quicktime.h.
References _curFrame.
|
virtual |
Get the duration of the track.
By default, this returns 0 for unknown.
Reimplemented from Video::VideoDecoder::Track.
Definition at line 968 of file quicktime.cpp.
|
virtual |
Get the frame count of this track.
Reimplemented from Video::VideoDecoder::VideoTrack.
Definition at line 980 of file quicktime.cpp.
|
private |
Definition at line 1055 of file quicktime.cpp.
|
virtual |
Get the height of this track.
Implements Video::VideoDecoder::VideoTrack.
Definition at line 976 of file quicktime.cpp.
|
private |
Definition at line 1011 of file quicktime.cpp.
References error().
|
virtual |
Get the start time of the next frame since the start of the video.
Implements Video::VideoDecoder::VideoTrack.
Definition at line 984 of file quicktime.cpp.
|
virtual |
Get the width of this track.
Implements Video::VideoDecoder::VideoTrack.
Definition at line 972 of file quicktime.cpp.
|
private |
Definition at line 247 of file quicktime.h.
Referenced by getCurFrame().
|
private |
Definition at line 245 of file quicktime.h.
|
private |
Definition at line 248 of file quicktime.h.
|
private |
Definition at line 246 of file quicktime.h.