![]() |
Miam-Player
0.8.0
A nice music player
|
#include <Filter.h>
Public Member Functions | |
| VideoFilter (QObject *parent=0) | |
| VideoFilterContext * | context () |
| virtual bool | isSupported (VideoFilterContext::Type ct) const |
| bool | installTo (AVPlayer *player) |
| installTo Install filter to player can process every frame before rendering. More... | |
| bool | installTo (AVOutput *output) |
| installTo The process() function is in rendering thread. More... | |
| void | apply (Statistics *statistics, VideoFrame *frame=0) |
| bool | prepareContext (VideoFilterContext *&ctx, Statistics *statistics=0, VideoFrame *frame=0) |
Public Member Functions inherited from QtAV::Filter | |
| virtual | ~Filter () |
| bool | isEnabled () const |
| void | setOwnedByTarget (bool value=true) |
| setOwnedByTarget If a filter is owned by target, it's not safe to access the filter after it's installed to a target. More... | |
| bool | isOwnedByTarget () const |
| bool | uninstall () |
Protected Member Functions | |
| VideoFilter (VideoFilterPrivate &d, QObject *parent=0) | |
| virtual void | process (Statistics *statistics, VideoFrame *frame=0)=0 |
Protected Member Functions inherited from QtAV::Filter | |
| Filter (FilterPrivate &d, QObject *parent=0) | |
Additional Inherited Members | |
Public Slots inherited from QtAV::Filter | |
| void | setEnabled (bool enabled=true) |
Signals inherited from QtAV::Filter | |
| void | enabledChanged (bool) |
Properties inherited from QtAV::Filter | |
| bool | enabled |
| QtAV::VideoFilter::VideoFilter | ( | QObject * | parent = 0 | ) |
|
protected |
| void QtAV::VideoFilter::apply | ( | Statistics * | statistics, |
| VideoFrame * | frame = 0 |
||
| ) |
| VideoFilterContext* QtAV::VideoFilter::context | ( | ) |
|
virtual |
installTo Install filter to player can process every frame before rendering.
Equals to player->installFilter(this)
Implements QtAV::Filter.
| bool QtAV::VideoFilter::installTo | ( | AVOutput * | output | ) |
installTo The process() function is in rendering thread.
Used by
|
virtual |
Reimplemented in QtAV::VideoEncodeFilter, QtAV::LibAVFilterVideo, QtAV::SubtitleFilter, and QtAV::GLSLFilter.
| bool QtAV::VideoFilter::prepareContext | ( | VideoFilterContext *& | ctx, |
| Statistics * | statistics = 0, |
||
| VideoFrame * | frame = 0 |
||
| ) |
|
protectedpure virtual |
Implemented in QtAV::VideoEncodeFilter, QtAV::SubtitleFilter, QtAV::LibAVFilterVideo, and QtAV::GLSLFilter.