Container for encoded video data.
More...
#include <mipencodedvideomessage.h>
List of all members.
Public Member Functions |
| MIPEncodedVideoMessage (uint32_t msgSubtype, int width, int height, uint8_t *pData, size_t dataLength, bool deleteData) |
| Creates an encoded video message.
|
const uint8_t * | getImageData () const |
| Returns the encoded image data.
|
size_t | getDataLength () const |
| Returns the length of the encoded image data.
|
void | setDataLength (size_t l) |
| Sets the length of the encoded image data.
|
MIPMediaMessage * | createCopy () const |
| Create a copy of this message.
|
Detailed Description
Constructor & Destructor Documentation
MIPEncodedVideoMessage::MIPEncodedVideoMessage |
( |
uint32_t |
msgSubtype, |
|
|
int |
width, |
|
|
int |
height, |
|
|
uint8_t * |
pData, |
|
|
size_t |
dataLength, |
|
|
bool |
deleteData |
|
) |
| [inline] |
Using this constructor encoded video messages can be created.
- Parameters:
-
msgSubtype | Message subtype. |
width | Width of the video frame. |
height | Hieght of the video frame. |
pData | The encoded video data. |
dataLength | The length of the encoded video data. |
deleteData | Flag indicating if the memory block pointed to by pData should be deleted when this message is destroyed. |
Member Function Documentation
MIPMediaMessage* MIPEncodedVideoMessage::createCopy |
( |
| ) |
const [inline, virtual] |
size_t MIPEncodedVideoMessage::getDataLength |
( |
| ) |
const [inline] |
const uint8_t* MIPEncodedVideoMessage::getImageData |
( |
| ) |
const [inline] |
void MIPEncodedVideoMessage::setDataLength |
( |
size_t |
l | ) |
[inline] |
The documentation for this class was generated from the following file: