Gnash  0.8.10
Public Member Functions | Public Attributes
gnash::media::EncodedVideoFrame Class Reference

An encoded video frame. More...

#include <MediaParser.h>

List of all members.

Public Member Functions

 EncodedVideoFrame (boost::uint8_t *data, boost::uint32_t size, unsigned int frameNum, boost::uint64_t timestamp=0)
 Create an encoded video frame.
const boost::uint8_t * data () const
 Return pointer to actual data. Ownership retained by this class.
boost::uint32_t dataSize () const
 Return size of data buffer.
boost::uint64_t timestamp () const
 Return video frame presentation timestamp.
unsigned frameNum () const
 Return video frame number.

Public Attributes

std::auto_ptr< EncodedExtraDataextradata

Detailed Description

An encoded video frame.


Constructor & Destructor Documentation

gnash::media::EncodedVideoFrame::EncodedVideoFrame ( boost::uint8_t *  data,
boost::uint32_t  size,
unsigned int  frameNum,
boost::uint64_t  timestamp = 0 
) [inline]

Create an encoded video frame.

Parameters:
dataData buffer, ownership transferred
sizeSize of the data buffer
frameNumFrame number.
timestampPresentation timestamp, in milliseconds.

Member Function Documentation

const boost::uint8_t* gnash::media::EncodedVideoFrame::data ( ) const [inline]

Return pointer to actual data. Ownership retained by this class.

Referenced by gnash::media::gst::VideoDecoderGst::push().

boost::uint32_t gnash::media::EncodedVideoFrame::dataSize ( ) const [inline]

Return size of data buffer.

Referenced by gnash::media::gst::VideoDecoderGst::push().

unsigned gnash::media::EncodedVideoFrame::frameNum ( ) const [inline]

Return video frame number.

Referenced by gnash::media::gst::VideoDecoderGst::push().

boost::uint64_t gnash::media::EncodedVideoFrame::timestamp ( ) const [inline]

Return video frame presentation timestamp.

Referenced by gnash::media::MediaParser::nextVideoFrameTimestamp().


Member Data Documentation


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