VlcVideoStream Class Referenceabstract

Video memory stream. More...

#include <VLCQtCore/VideoStream.h>

Public Member Functions

 VlcVideoStream (Vlc::RenderFormat format, QObject *parent=0)
 VlcVideoStream constructor. More...
 
Vlc::RenderFormat format () const
 Rendering format. More...
 
void init (VlcMediaPlayer *player)
 Initialise video memory stream with player. More...
 
void deinit ()
 Prepare video memory stream for deletion.
 
std::shared_ptr< const VlcAbstractVideoFramerenderFrame () const
 Get current frame. More...
 
- Public Member Functions inherited from VlcAbstractVideoStream
void setCallbacks (VlcMediaPlayer *player)
 Set VlcMediaPlayer callbacks. More...
 
void unsetCallbacks (VlcMediaPlayer *player)
 Unset VlcMediaPlayer callbacks. More...
 

Additional Inherited Members

Detailed Description

Video memory stream.

VlcVideoStream sets proper callbacks to get YUV frames from libVLC. This class should be subclassed and implement frameUpdated to specify what to do with the frame.

See also
VlcQmlVideoStream
VlcAbstractVideoFrame
Since
VLC-Qt 1.1

Constructor & Destructor Documentation

VlcVideoStream::VlcVideoStream ( Vlc::RenderFormat  format,
QObject *  parent = 0 
)
explicit

VlcVideoStream constructor.

Parameters
formatrendering format
parentparent object

Member Function Documentation

Vlc::RenderFormat VlcVideoStream::format ( ) const
inline

Rendering format.

Returns
current rendering format
void VlcVideoStream::init ( VlcMediaPlayer player)

Initialise video memory stream with player.

Parameters
playermedia player
std::shared_ptr<const VlcAbstractVideoFrame> VlcVideoStream::renderFrame ( ) const
inline

Get current frame.

Returns
current frame

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