VlcYUVVideoFrame Struct Reference

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
 

Detailed Description

Video YUV frame data container.

Since
VLC-Qt 1.1

Constructor & Destructor Documentation

VlcYUVVideoFrame::VlcYUVVideoFrame ( unsigned *  width,
unsigned *  height,
unsigned *  pitches,
unsigned *  lines 
)

VlcVideoFrame constructor. This construction ensures data is set and containers prepared.

Parameters
width
height
pitches
lines
VlcYUVVideoFrame::VlcYUVVideoFrame ( const std::shared_ptr< VlcYUVVideoFrame > &  frame)

VlcVideoFrame constructor. This construction copies an existing frame into a new one.

Parameters
frameexisting shared pointer to a frame

The documentation for this struct was generated from the following files: