EMIPLIB
|
Container for an YUYV encoded raw video frame. More...
#include <miprawvideomessage.h>
Public Member Functions | |
MIPRawYUYVVideoMessage (int width, int height, uint8_t *pData, bool deleteData) | |
Creates a raw video message with a YUYV representation. | |
const uint8_t * | getImageData () const |
Returns the image data. | |
MIPMediaMessage * | createCopy () const |
Returns a copy of the message. |
MIPRawYUYVVideoMessage::MIPRawYUYVVideoMessage | ( | int | width, |
int | height, | ||
uint8_t * | pData, | ||
bool | deleteData | ||
) | [inline] |
Creates a raw video message with a YUYV 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* MIPRawYUYVVideoMessage::createCopy | ( | ) | const [inline, virtual] |
Reimplemented from MIPMediaMessage.
References MIPMediaMessage::copyMediaInfoFrom(), MIPVideoMessage::getHeight(), and MIPVideoMessage::getWidth().
const uint8_t* MIPRawYUYVVideoMessage::getImageData | ( | ) | const [inline] |