VlcVideoMemoryStream Class Referenceabstract

Video memory stream. More...

#include <VLCQtCore/VideoMemoryStream.h>

Public Member Functions

void setCallbacks (VlcMediaPlayer *player)
 Set VlcMediaPlayer callbacks. More...
 
void unsetCallbacks (VlcMediaPlayer *player)
 Unset VlcMediaPlayer callbacks. More...
 

Static Public Member Functions

static unsigned setPitchAndLines (const vlc_chroma_description_t *chromaDescription, unsigned width, unsigned height, unsigned *pitches, unsigned *lines, unsigned *visiblePitches=0, unsigned *visibleLines=0)
 Set required information for rendering video. More...
 

Protected Member Functions

virtual void * lockCallback (void **planes)=0
 Lock callback.
 
virtual void unlockCallback (void *picture, void *const *planes)=0
 Unlock callback.
 
virtual void displayCallback (void *picture)=0
 Display callback.
 
virtual unsigned formatCallback (char *chroma, unsigned *width, unsigned *height, unsigned *pitches, unsigned *lines)=0
 Format callback.
 
virtual void formatCleanUpCallback ()=0
 Format cleanup callback.
 

Detailed Description

VlcVideoMemoryStream is a template class for creating own video rendering engines.

Member Function Documentation

void VlcVideoMemoryStream::setCallbacks ( VlcMediaPlayer player)
Parameters
playermedia player (VlcMediaPlayer *)
unsigned VlcVideoMemoryStream::setPitchAndLines ( const vlc_chroma_description_t *  chromaDescription,
unsigned  width,
unsigned  height,
unsigned *  pitches,
unsigned *  lines,
unsigned *  visiblePitches = 0,
unsigned *  visibleLines = 0 
)
static
Returns
overall buffersize needed
void VlcVideoMemoryStream::unsetCallbacks ( VlcMediaPlayer player)
Parameters
playermedia player (VlcMediaPlayer *)

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