Theora Playback Library  1.0.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Protected Attributes | List of all members
TheoraVideoFrame Class Reference

Public Member Functions

 TheoraVideoFrame (TheoraVideoClip *parent)
 
virtual ~TheoraVideoFrame ()
 
void _setFrameNumber (int number)
 internal function, do not use directly More...
 
int getFrameNumber ()
 returns the frame number of this frame in the theora stream More...
 
void clear ()
 
int getWidth ()
 
int getStride ()
 
int getHeight ()
 
unsigned char * getBuffer ()
 
virtual void decode (struct TheoraPixelTransform *t)
 Called by TheoraVideoClip to decode a source buffer onto itself. More...
 

Public Attributes

float mTimeToDisplay
 global time in seconds this frame should be displayed on More...
 
bool mReady
 whether the frame is ready for display or not More...
 
bool mInUse
 indicates the frame is being used by TheoraWorkerThread instance More...
 
int mIteration
 used to detect when the video restarted to ensure smooth playback More...
 
int mBpp
 

Protected Attributes

TheoraVideoClipmParent
 
unsigned char * mBuffer
 
unsigned long mFrameNumber
 

Constructor & Destructor Documentation

TheoraVideoFrame::TheoraVideoFrame ( TheoraVideoClip parent)
virtual TheoraVideoFrame::~TheoraVideoFrame ( )
virtual

Member Function Documentation

void TheoraVideoFrame::_setFrameNumber ( int  number)
inline

internal function, do not use directly

void TheoraVideoFrame::clear ( )
virtual void TheoraVideoFrame::decode ( struct TheoraPixelTransform t)
virtual

Called by TheoraVideoClip to decode a source buffer onto itself.

unsigned char* TheoraVideoFrame::getBuffer ( )
int TheoraVideoFrame::getFrameNumber ( )
inline

returns the frame number of this frame in the theora stream

int TheoraVideoFrame::getHeight ( )
int TheoraVideoFrame::getStride ( )
int TheoraVideoFrame::getWidth ( )

Member Data Documentation

int TheoraVideoFrame::mBpp
unsigned char* TheoraVideoFrame::mBuffer
protected
unsigned long TheoraVideoFrame::mFrameNumber
protected
bool TheoraVideoFrame::mInUse

indicates the frame is being used by TheoraWorkerThread instance

int TheoraVideoFrame::mIteration

used to detect when the video restarted to ensure smooth playback

TheoraVideoClip* TheoraVideoFrame::mParent
protected
bool TheoraVideoFrame::mReady

whether the frame is ready for display or not

float TheoraVideoFrame::mTimeToDisplay

global time in seconds this frame should be displayed on


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