EMIPLIB
Public Member Functions

MIPEncodedVideoMessage Class Reference

Container for encoded video data. More...

#include <mipencodedvideomessage.h>

Inheritance diagram for MIPEncodedVideoMessage:
Inheritance graph
[legend]
Collaboration diagram for MIPEncodedVideoMessage:
Collaboration graph
[legend]

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.
MIPMediaMessagecreateCopy () 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:
msgSubtypeMessage subtype.
widthWidth of the video frame.
heightHieght of the video frame.
pDataThe encoded video data.
dataLengthThe length of the encoded video data.
deleteDataFlag 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: