VlcVideoMemoryStream Class Referenceabstract

Video memory stream (deprecated) 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

Video memory stream (deprecated)

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

See also
VlcAbstractVideoStream
Deprecated:
Deprecated since VLC-Qt 1.1, will be removed in 2.0

Member Function Documentation

void VlcVideoMemoryStream::setCallbacks ( VlcMediaPlayer player)

Set VlcMediaPlayer callbacks.

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

Set required information for rendering video.

Returns
overall buffersize needed
void VlcVideoMemoryStream::unsetCallbacks ( VlcMediaPlayer player)

Unset VlcMediaPlayer callbacks.

Parameters
playermedia player (VlcMediaPlayer *)

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