Miam-Player  0.8.0
A nice music player
QtAV::Filter Class Referenceabstract

#include <Filter.h>

Inheritance diagram for QtAV::Filter:
QtAV::AudioFilter QtAV::VideoFilter QtAV::AudioEncodeFilter QtAV::LibAVFilterAudio QtAV::GLSLFilter QtAV::LibAVFilterVideo QtAV::SubtitleFilter QtAV::VideoEncodeFilter

Public Slots

void setEnabled (bool enabled=true)
 

Signals

void enabledChanged (bool)
 

Public Member Functions

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
 
virtual bool installTo (AVPlayer *player)=0
 installTo Install filter to player can process every frame before rendering. More...
 
bool uninstall ()
 

Protected Member Functions

 Filter (FilterPrivate &d, QObject *parent=0)
 

Properties

bool enabled
 

Constructor & Destructor Documentation

virtual QtAV::Filter::~Filter ( )
virtual
QtAV::Filter::Filter ( FilterPrivate d,
QObject *  parent = 0 
)
protected

Member Function Documentation

void QtAV::Filter::enabledChanged ( bool  )
signal
virtual bool QtAV::Filter::installTo ( AVPlayer player)
pure virtual

installTo Install filter to player can process every frame before rendering.

Equals to player->installFilter(this)

Implemented in QtAV::AudioFilter, and QtAV::VideoFilter.

bool QtAV::Filter::isEnabled ( ) const
bool QtAV::Filter::isOwnedByTarget ( ) const
void QtAV::Filter::setEnabled ( bool  enabled = true)
slot
void QtAV::Filter::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.

QtAV will delete the installed filter internally if filter is owned by target AND it's parent (QObject) is null.

bool QtAV::Filter::uninstall ( )

Property Documentation

bool QtAV::Filter::enabled
readwrite

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