VlcAbstractVideoFrame Struct Referenceabstract

Abstract video frame data container. More...

#include <VLCQtCore/AbstractVideoFrame.h>

Public Member Functions

 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...
 

Public Attributes

QByteArray frameBuffer
 
quint16 width
 
quint16 height
 
std::vector< char * > planes
 
std::vector< quint32 > planeSizes
 

Detailed Description

Abstract video frame data container.

Since
VLC-Qt 1.1

Constructor & Destructor Documentation

VlcAbstractVideoFrame::VlcAbstractVideoFrame ( int  planeCount)

VlcVideoFrame constructor.

Parameters
planeCount

Member Function Documentation

bool VlcAbstractVideoFrame::isValid ( )

Validate frame.

Returns
true if frame has size greater than 0 in both dimensions
void VlcAbstractVideoFrame::setPitchesAndLines ( unsigned *  pitches,
unsigned *  lines 
)

Set pitches and lines helper.

Parameters
pitches
lines
void VlcAbstractVideoFrame::setPitchesAndLines ( const std::shared_ptr< VlcAbstractVideoFrame > &  frame)

Set pitches and lines helper.

Parameters
frameframe to copy from

Member Data Documentation

QByteArray VlcAbstractVideoFrame::frameBuffer

frame buffer

quint16 VlcAbstractVideoFrame::height

frame height

std::vector<char *> VlcAbstractVideoFrame::planes

planes

std::vector<quint32> VlcAbstractVideoFrame::planeSizes

plane sizes

quint16 VlcAbstractVideoFrame::width

frame width


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