xoreos
0.0.5
|
Public Member Functions | |
FaderVideoTrack (uint32 width, uint32 height, int n) | |
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... | |
void | drawFrame (Graphics::Surface &surface) |
Public Member Functions inherited from Video::VideoDecoder::FixedRateVideoTrack | |
FixedRateVideoTrack () | |
virtual | ~FixedRateVideoTrack () |
Common::Timestamp | getNextFrameStartTime () const |
Get the start time of the next frame since the start of the video. More... | |
virtual Common::Timestamp | getDuration () const |
Get the duration of the track. More... | |
Common::Timestamp | getFrameTime (uint frame) const |
Get the time the given frame should be shown. More... | |
uint | getFrameAtTime (const Common::Timestamp &time) const |
Get the frame that should be displaying at the given time. More... | |
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... | |
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... | |
Protected Member Functions | |
Common::Rational | getFrameRate () const |
Get the rate at which this track is played. More... | |
Protected Member Functions inherited from Video::VideoDecoder::Track | |
virtual void | pauseIntern (bool shouldPause) |
Function called by pause() for subclasses to implement. More... | |
Private Attributes | |
uint32 | _width |
uint32 | _height |
int | _curFrame |
byte | _c |
int | _n |
Additional Inherited Members | |
Public Types inherited from Video::VideoDecoder::Track | |
enum | TrackType { kTrackTypeNone, kTrackTypeAudio, kTrackTypeVideo } |
The types of tracks this class can be. More... | |
void Video::Fader::FaderVideoTrack::drawFrame | ( | Graphics::Surface & | surface | ) |
Definition at line 49 of file fader.cpp.
References _height, _width, Graphics::Surface::getData(), and Graphics::Surface::getWidth().
|
inlinevirtual |
Get the current frame of this track.
Implements Video::VideoDecoder::VideoTrack.
Definition at line 49 of file fader.h.
References _curFrame.
|
inlinevirtual |
Get the frame count of this track.
Reimplemented from Video::VideoDecoder::VideoTrack.
Definition at line 50 of file fader.h.
References _n.
|
inlineprotectedvirtual |
Get the rate at which this track is played.
Implements Video::VideoDecoder::FixedRateVideoTrack.
|
inlinevirtual |
Get the height of this track.
Implements Video::VideoDecoder::VideoTrack.
Definition at line 48 of file fader.h.
References _height.
|
inlinevirtual |
Get the width of this track.
Implements Video::VideoDecoder::VideoTrack.
Definition at line 47 of file fader.h.
References _width.
|
private |
Definition at line 60 of file fader.h.
Referenced by getCurFrame().
|
private |
Definition at line 59 of file fader.h.
Referenced by getHeight().
|
private |
Definition at line 62 of file fader.h.
Referenced by getFrameCount().
|
private |
Definition at line 58 of file fader.h.
Referenced by getWidth().