ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Video::TheoraDecoder::TheoraVideoTrack Class Reference

Inheritance diagram for Video::TheoraDecoder::TheoraVideoTrack:
Collaboration diagram for Video::TheoraDecoder::TheoraVideoTrack:

List of all members.

Public Member Functions

 TheoraVideoTrack (const Graphics::PixelFormat &format, th_info &theoraInfo, th_setup_info *theoraSetup)
 ~TheoraVideoTrack ()
bool endOfTrack () const
 Return if the track has finished.
uint16 getWidth () const
 Get the width of this track.
uint16 getHeight () const
 Get the height of this track.
Graphics::PixelFormat getPixelFormat () const
 Get the pixel format of this track.
int getCurFrame () const
 Get the current frame of this track.
uint32 getNextFrameStartTime () const
 Get the start time of the next frame in milliseconds since the start of the video.
const Graphics::SurfacedecodeNextFrame ()
 Decode the next frame.
bool decodePacket (ogg_packet &oggPacket)
void setEndOfVideo ()

Private Member Functions

void translateYUVtoRGBA (th_ycbcr_buffer &YUVBuffer)

Private Attributes

int _curFrame
bool _endOfVideo
Common::Rational _frameRate
double _nextFrameStartTime
Graphics::Surface _surface
Graphics::Surface _displaySurface
th_dec_ctx * _theoraDecode

Detailed Description

Definition at line 78 of file theora_decoder.h.


Constructor & Destructor Documentation

Video::TheoraDecoder::TheoraVideoTrack::TheoraVideoTrack ( const Graphics::PixelFormat format,
th_info &  theoraInfo,
th_setup_info *  theoraSetup 
)

Definition at line 252 of file theora_decoder.cpp.

Video::TheoraDecoder::TheoraVideoTrack::~TheoraVideoTrack (  ) 

Definition at line 276 of file theora_decoder.cpp.


Member Function Documentation

const Graphics::Surface* Video::TheoraDecoder::TheoraVideoTrack::decodeNextFrame (  )  [inline, virtual]

Decode the next frame.

Implements Video::VideoDecoder::VideoTrack.

Definition at line 89 of file theora_decoder.h.

bool Video::TheoraDecoder::TheoraVideoTrack::decodePacket ( ogg_packet &  oggPacket  ) 

Definition at line 283 of file theora_decoder.cpp.

bool Video::TheoraDecoder::TheoraVideoTrack::endOfTrack (  )  const [inline, virtual]

Return if the track has finished.

Reimplemented from Video::VideoDecoder::VideoTrack.

Definition at line 83 of file theora_decoder.h.

int Video::TheoraDecoder::TheoraVideoTrack::getCurFrame (  )  const [inline, virtual]

Get the current frame of this track.

See also:
VideoDecoder::getCurFrame()

Implements Video::VideoDecoder::VideoTrack.

Definition at line 87 of file theora_decoder.h.

uint16 Video::TheoraDecoder::TheoraVideoTrack::getHeight (  )  const [inline, virtual]

Get the height of this track.

Implements Video::VideoDecoder::VideoTrack.

Definition at line 85 of file theora_decoder.h.

uint32 Video::TheoraDecoder::TheoraVideoTrack::getNextFrameStartTime (  )  const [inline, virtual]

Get the start time of the next frame in milliseconds since the start of the video.

Implements Video::VideoDecoder::VideoTrack.

Definition at line 88 of file theora_decoder.h.

Graphics::PixelFormat Video::TheoraDecoder::TheoraVideoTrack::getPixelFormat (  )  const [inline, virtual]

Get the pixel format of this track.

Implements Video::VideoDecoder::VideoTrack.

Definition at line 86 of file theora_decoder.h.

uint16 Video::TheoraDecoder::TheoraVideoTrack::getWidth (  )  const [inline, virtual]

Get the width of this track.

Implements Video::VideoDecoder::VideoTrack.

Definition at line 84 of file theora_decoder.h.

void Video::TheoraDecoder::TheoraVideoTrack::setEndOfVideo (  )  [inline]

Definition at line 92 of file theora_decoder.h.

void Video::TheoraDecoder::TheoraVideoTrack::translateYUVtoRGBA ( th_ycbcr_buffer &  YUVBuffer  )  [private]

Definition at line 315 of file theora_decoder.cpp.


Member Data Documentation

Definition at line 95 of file theora_decoder.h.

Definition at line 96 of file theora_decoder.h.

Definition at line 103 of file theora_decoder.h.


The documentation for this class was generated from the following files:


Generated on Sat Mar 16 2019 05:07:24 for ResidualVM by doxygen 1.7.1
curved edge   curved edge