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.
|
Detailed Description
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:
-
data | Data buffer, ownership transferred |
size | Size of the data buffer |
frameNum | Frame number. |
timestamp | Presentation timestamp, in milliseconds. |
Member Function Documentation
const boost::uint8_t* gnash::media::EncodedVideoFrame::data |
( |
| ) |
const |
|
inline |
boost::uint32_t gnash::media::EncodedVideoFrame::dataSize |
( |
| ) |
const |
|
inline |
unsigned gnash::media::EncodedVideoFrame::frameNum |
( |
| ) |
const |
|
inline |
boost::uint64_t gnash::media::EncodedVideoFrame::timestamp |
( |
| ) |
const |
|
inline |
Member Data Documentation
The documentation for this class was generated from the following file: