Music Hub  ..
A session-wide music playback service
lomiri::MediaHub::HybrisVideoSink Class Reference

#include <hybris_video_sink.h>

+ Inheritance diagram for lomiri::MediaHub::HybrisVideoSink:
+ Collaboration diagram for lomiri::MediaHub::HybrisVideoSink:

Public Member Functions

virtual ~HybrisVideoSink ()
 
bool swapBuffers () override
 Releases the current buffer, and consumes the next buffer in the queue, making it available for consumption by consumers of this API in an implementation-specific way. Clients will usually rely on a GL texture to receive the latest buffer. More...
 
- Public Member Functions inherited from lomiri::MediaHub::VideoSink
virtual ~VideoSink ()
 
const QMatrix4x4 & transformationMatrix () const
 Queries the 4x4 transformation matrix for the current frame. More...
 

Static Public Member Functions

static VideoSinkFactory createFactory (PlayerKey playerKey)
 

Additional Inherited Members

- Signals inherited from lomiri::MediaHub::VideoSink
void frameAvailable ()
 The signal is emitted whenever a new frame is available and a subsequent call to swapBuffers() will not block and return true. More...
 
- Protected Member Functions inherited from lomiri::MediaHub::VideoSink
 VideoSink (VideoSinkPrivate *d, QObject *parent=nullptr)
 
- Protected Attributes inherited from lomiri::MediaHub::VideoSink
QScopedPointer< VideoSinkPrivated_ptr
 

Detailed Description

Definition at line 29 of file hybris_video_sink.h.

Constructor & Destructor Documentation

◆ ~HybrisVideoSink()

HybrisVideoSink::~HybrisVideoSink ( )
virtual

Definition at line 96 of file hybris_video_sink.cpp.

Member Function Documentation

◆ createFactory()

VideoSinkFactory HybrisVideoSink::createFactory ( PlayerKey  playerKey)
static

Definition at line 107 of file hybris_video_sink.cpp.

Referenced by lomiri::MediaHub::createVideoSinkFactory().

◆ swapBuffers()

bool HybrisVideoSink::swapBuffers ( )
overridevirtual

Releases the current buffer, and consumes the next buffer in the queue, making it available for consumption by consumers of this API in an implementation-specific way. Clients will usually rely on a GL texture to receive the latest buffer.

Implements lomiri::MediaHub::VideoSink.

Definition at line 126 of file hybris_video_sink.cpp.


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