Phonon::Experimental::VideoDataOutput2
#include <videodataoutput2.h>
![Inheritance graph](classPhonon_1_1Experimental_1_1VideoDataOutput2__inherit__graph.png)
Signals | |
void | endOfMediaSignal () |
void | frameReadySignal (const Phonon::Experimental::VideoFrame2 &) |
Protected Member Functions | |
void | endOfMedia () override |
void | frameReady (const VideoFrame2 &) override |
![]() | |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
bool | isSignalConnected (const QMetaMethod &signal) const const |
int | receivers (const char *signal) const const |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
![]() | |
AbstractVideoDataOutput (AbstractVideoDataOutputPrivate &dd) | |
![]() | |
AbstractVideoOutput (AbstractVideoOutputPrivate &d) | |
Detailed Description
This class gives you the video data.
This class implements a special AbstractVideoOutput that gives your application the video data.
You can also use the video data for further processing (e.g. encoding and saving to a file).
Definition at line 48 of file videodataoutput2.h.
Member Function Documentation
◆ endOfMedia()
|
overrideprotectedvirtual |
This function is called after the last frameReady of a MediaObject was called.
Implements Phonon::Experimental::AbstractVideoDataOutput.
Definition at line 47 of file videodataoutput2.cpp.
◆ endOfMediaSignal
|
signal |
This signal is emitted after the last frameReady signal of a media is emitted.
◆ frameReady()
|
overrideprotectedvirtual |
This function is called whenever a frame should be displayed.
- Warning
- frameReady can get called from any thread (other than the main thread or the thread affinity of this QObject). A common error to create a deadlock situation is to block the thread this function is called from, until the main thread has found time to handle the frame. If it is blocking while the main thread decides to stop/delete the MediaObject you might get a deadlock.
Implements Phonon::Experimental::AbstractVideoDataOutput.
Definition at line 42 of file videodataoutput2.cpp.
◆ frameReadySignal
|
signal |
The signal is emitted whenever a frame should be displayed.
nowStamp is the current time, outStamp tells the users what time the frame should be displayed with.
The relevant frames should be fetched and displayed using frameForTime method.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 21 2024 11:56:59 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.