EMIPLIB
|
Container for an YUV420P encoded raw video frame. More...
#include <miprawvideomessage.h>
Public Member Functions | |
MIPRawYUV420PVideoMessage (int width, int height, uint8_t *pData, bool deleteData) | |
Creates a raw video message with a YUV420P representation. | |
const uint8_t * | getImageData () const |
Returns the image data. | |
MIPMediaMessage * | createCopy () const |
Returns a copy of the message. |
MIPRawYUV420PVideoMessage::MIPRawYUV420PVideoMessage | ( | int | width, |
int | height, | ||
uint8_t * | pData, | ||
bool | deleteData | ||
) | [inline] |
Creates a raw video message with a YUV420P representation.
width | Width of the video frame. |
height | Height of the video frame. |
pData | The data of the video frame. |
deleteData | Flag indicating if the data contained in pData should be deleted when this message is destroyed or when the data is replaced. |
MIPMediaMessage* MIPRawYUV420PVideoMessage::createCopy | ( | ) | const [inline, virtual] |
Reimplemented from MIPMediaMessage.
References MIPMediaMessage::copyMediaInfoFrom(), MIPVideoMessage::getHeight(), and MIPVideoMessage::getWidth().
const uint8_t* MIPRawYUV420PVideoMessage::getImageData | ( | ) | const [inline] |