Gnash
0.8.10
|
An encoded video frame. More...
#include <MediaParser.h>
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< EncodedExtraData > | extradata |
An encoded video frame.
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.
data | Data buffer, ownership transferred |
size | Size of the data buffer |
frameNum | Frame number. |
timestamp | Presentation timestamp, in milliseconds. |
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().
std::auto_ptr<EncodedExtraData> gnash::media::EncodedVideoFrame::extradata |
Referenced by gnash::media::gst::VideoDecoderGst::push().