xoreos
0.0.5
|
Public Member Functions | |
XMVVideoTrack (uint32 width, uint32 height, uint32 ×tamp) | |
bool | endOfTrack () const |
Return if the track has finished. 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... | |
Common::Timestamp | getNextFrameStartTime () const |
Get the start time of the next frame since the start of the video. More... | |
bool | decodeFrame (Graphics::Surface &surface, Common::SeekableReadStream &frameData) |
void | initCodec (Common::SeekableReadStream &extraData) |
void | finish () |
Public Member Functions inherited from Video::VideoDecoder::VideoTrack | |
VideoTrack () | |
virtual | ~VideoTrack () |
TrackType | getTrackType () const |
Get the type of track. More... | |
virtual int | getFrameCount () const |
Get the frame count of this track. 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... | |
virtual Common::Timestamp | getDuration () const |
Get the duration of the track. More... | |
Private Attributes | |
uint32 | _width |
uint32 | _height |
uint32 & | _timestamp |
int | _curFrame |
bool | _finished |
Common::ScopedPtr< Codec > | _videoCodec |
The video codec. More... | |
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... | |
bool Video::XboxMediaVideo::XMVVideoTrack::decodeFrame | ( | Graphics::Surface & | surface, |
Common::SeekableReadStream & | frameData | ||
) |
Definition at line 355 of file xmv.cpp.
Referenced by Video::XboxMediaVideo::processNextFrame().
|
inlinevirtual |
Return if the track has finished.
Reimplemented from Video::VideoDecoder::VideoTrack.
Definition at line 70 of file xmv.h.
References _finished.
|
inline |
|
inlinevirtual |
Get the current frame of this track.
Implements Video::VideoDecoder::VideoTrack.
Definition at line 74 of file xmv.h.
References _curFrame.
|
inlinevirtual |
Get the height of this track.
Implements Video::VideoDecoder::VideoTrack.
Definition at line 73 of file xmv.h.
References _height.
|
virtual |
Get the start time of the next frame since the start of the video.
Implements Video::VideoDecoder::VideoTrack.
|
inlinevirtual |
Get the width of this track.
Implements Video::VideoDecoder::VideoTrack.
Definition at line 72 of file xmv.h.
References _width.
void Video::XboxMediaVideo::XMVVideoTrack::initCodec | ( | Common::SeekableReadStream & | extraData | ) |
Definition at line 365 of file xmv.cpp.
References _height, and _width.
Referenced by Video::XboxMediaVideo::processPacketHeader().
|
private |
Definition at line 85 of file xmv.h.
Referenced by getCurFrame().
|
private |
Definition at line 86 of file xmv.h.
Referenced by endOfTrack(), and finish().
|
private |
Definition at line 83 of file xmv.h.
Referenced by getHeight().
|
private |
|
private |
|
private |
Definition at line 82 of file xmv.h.
Referenced by getWidth().