EMIPLIB
Public Member Functions

MIPRawRGBVideoMessage Class Reference

Container for an RGB encoded raw video frame. More...

#include <miprawvideomessage.h>

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

List of all members.

Public Member Functions

 MIPRawRGBVideoMessage (int width, int height, uint8_t *pData, bool depth32, bool deleteData)
 Creates a raw video message with RGB representation.
const uint8_t * getImageData () const
 Returns the image data.
bool is32Bit () const
 Returns true if it's 32-bit data, false if it's 24-bit data.
MIPMediaMessagecreateCopy () const
 Returns a copy of the message.

Detailed Description


Constructor & Destructor Documentation

MIPRawRGBVideoMessage::MIPRawRGBVideoMessage ( int  width,
int  height,
uint8_t *  pData,
bool  depth32,
bool  deleteData 
) [inline]

Creates a raw video message with representation.

Parameters:
widthWidth of the video frame.
heightHeight of the video frame.
pDataThe data of the video frame.
depth32Flag indicating if data is in 32-bit or 24-bit format.
deleteDataFlag indicating if the data contained in pData should be deleted when this message is destroyed or when the data is replaced.

Member Function Documentation

MIPMediaMessage* MIPRawRGBVideoMessage::createCopy ( ) const [inline, virtual]
const uint8_t* MIPRawRGBVideoMessage::getImageData ( ) const [inline]
bool MIPRawRGBVideoMessage::is32Bit ( ) const [inline]

The documentation for this class was generated from the following file: