Video YUV frame data container. More...
#include <VLCQtCore/YUVVideoFrame.h>
Public Member Functions | |
VlcYUVVideoFrame (unsigned *width, unsigned *height, unsigned *pitches, unsigned *lines) | |
VlcVideoFrame constructor. This construction ensures data is set and containers prepared. More... | |
VlcYUVVideoFrame (const std::shared_ptr< VlcYUVVideoFrame > &frame) | |
VlcVideoFrame constructor. This construction copies an existing frame into a new one. More... | |
Public Member Functions inherited from VlcAbstractVideoFrame | |
VlcAbstractVideoFrame (int planeCount) | |
VlcVideoFrame constructor. More... | |
void | clear () |
Reset frame to default values. | |
bool | isValid () |
Validate frame. More... | |
void | setPitchesAndLines (unsigned *pitches, unsigned *lines) |
Set pitches and lines helper. More... | |
void | setPitchesAndLines (const std::shared_ptr< VlcAbstractVideoFrame > &frame) |
Set pitches and lines helper. More... | |
Additional Inherited Members | |
Public Attributes inherited from VlcAbstractVideoFrame | |
QByteArray | frameBuffer |
quint16 | width |
quint16 | height |
std::vector< char * > | planes |
std::vector< quint32 > | planeSizes |
Video YUV frame data container.
VlcYUVVideoFrame::VlcYUVVideoFrame | ( | unsigned * | width, |
unsigned * | height, | ||
unsigned * | pitches, | ||
unsigned * | lines | ||
) |
VlcVideoFrame constructor. This construction ensures data is set and containers prepared.
width | |
height | |
pitches | |
lines |
VlcYUVVideoFrame::VlcYUVVideoFrame | ( | const std::shared_ptr< VlcYUVVideoFrame > & | frame | ) |
VlcVideoFrame constructor. This construction copies an existing frame into a new one.
frame | existing shared pointer to a frame |