![]() |
Miam-Player
0.8.0
A nice music player
|
#include <AudioDecoder.h>
Public Member Functions | |
| virtual AudioDecoderId | id () const =0 |
| QString | name () const |
| virtual QByteArray | data () const |
| virtual AudioFrame | frame ()=0 |
| AudioResampler * | resampler () |
Public Member Functions inherited from QtAV::AVDecoder | |
| virtual | ~AVDecoder () |
| virtual QString | description () const |
| virtual bool | open () |
| default is open FFmpeg codec context codec config must be done before open NOTE: open() and close() are not thread safe. More... | |
| virtual bool | close () |
| bool | isOpen () const |
| virtual void | flush () |
| void | setCodecContext (void *codecCtx) |
| void * | codecContext () const |
| bool | isAvailable () const |
| virtual bool | decode (const Packet &packet)=0 |
| int | undecodedSize () const |
| void | setOptions (const QVariantHash &dict) |
| setOptions More... | |
| QVariantHash | options () const |
Static Public Member Functions | |
| static QStringList | supportedCodecs () |
| static AudioDecoder * | create (AudioDecoderId id) |
| static AudioDecoder * | create (const char *name="FFmpeg") |
| create create a decoder from registered name. More... | |
| template<class C > | |
| static bool | Register (AudioDecoderId id, const char *name) |
| static AudioDecoderId * | next (AudioDecoderId *id=0) |
| next More... | |
| static const char * | name (AudioDecoderId id) |
| static AudioDecoderId | id (const char *name) |
Protected Member Functions | |
| AudioDecoder (AudioDecoderPrivate &d) | |
Protected Member Functions inherited from QtAV::AVDecoder | |
| AVDecoder (AVDecoderPrivate &d) | |
| void | setCodecName (const QString &name) |
| QString | codecName () const |
| virtual void | codecNameChanged () |
Additional Inherited Members | |
Signals inherited from QtAV::AVDecoder | |
| void | error (const QtAV::AVError &e) |
| void | descriptionChanged () |
|
protected |
|
static |
|
static |
create create a decoder from registered name.
FFmpeg decoder will be created for empty name
| name | can be "FFmpeg" |
|
virtual |
|
pure virtual |
|
pure virtual |
|
static |
|
virtual |
Reimplemented from QtAV::AVDecoder.
|
static |
|
static |
next
| id | NULL to get the first id address |
|
inlinestatic |
| AudioResampler* QtAV::AudioDecoder::resampler | ( | ) |
|
static |