A video sink abstracts a queue of buffers, that receives a stream of decoded video buffers from an arbitrary source.
More...
#include <video_sink.h>
|
virtual | ~VideoSink () |
|
const QMatrix4x4 & | transformationMatrix () const |
| Queries the 4x4 transformation matrix for the current frame. More...
|
|
virtual bool | swapBuffers ()=0 |
| 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...
|
|
A video sink abstracts a queue of buffers, that receives a stream of decoded video buffers from an arbitrary source.
Definition at line 34 of file video_sink.h.
◆ ~VideoSink()
VideoSink::~VideoSink |
( |
| ) |
|
|
virtualdefault |
◆ VideoSink()
◆ frameAvailable
void lomiri::MediaHub::VideoSink::frameAvailable |
( |
| ) |
|
|
signal |
The signal is emitted whenever a new frame is available and a subsequent call to swapBuffers() will not block and return true.
◆ swapBuffers()
virtual bool lomiri::MediaHub::VideoSink::swapBuffers |
( |
| ) |
|
|
pure virtual |
◆ transformationMatrix()
const QMatrix4x4 & VideoSink::transformationMatrix |
( |
| ) |
const |
Queries the 4x4 transformation matrix for the current frame.
Definition at line 47 of file video_sink.cpp.
◆ d_ptr
The documentation for this class was generated from the following files:
- /build/media-hub-4.7~20221216111809.14~f797858+ubports20.04/src/lib/MediaHub/video_sink.h
- /build/media-hub-4.7~20221216111809.14~f797858+ubports20.04/src/lib/MediaHub/video_sink.cpp