Music Hub ..
A session-wide music playback service
Loading...
Searching...
No Matches
NullVideoSink Class Reference
Inheritance diagram for NullVideoSink:
Collaboration diagram for NullVideoSink:

Public Member Functions

 NullVideoSink (QObject *parent)
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.
Public Member Functions inherited from lomiri::MediaHub::VideoSink
virtual ~VideoSink ()
const QMatrix4x4 & transformationMatrix () const
 Queries the 4x4 transformation matrix for the current frame.

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.
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 26 of file video_sink.cpp.

Constructor & Destructor Documentation

◆ NullVideoSink()

NullVideoSink::NullVideoSink ( QObject * parent)
inline

Definition at line 31 of file video_sink.cpp.

References lomiri::MediaHub::VideoSink::VideoSink().

Here is the call graph for this function:

Member Function Documentation

◆ swapBuffers()

bool NullVideoSink::swapBuffers ( )
inlineoverridevirtual

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 36 of file video_sink.cpp.


The documentation for this class was generated from the following file:
  • /build/media-hub-4.7~20260316060616.27~fbd9644+ubports26.04.1/src/lib/MediaHub/video_sink.cpp