#include <avfdecoder.h>

Definition at line 13 of file avfdecoder.h.
| avfDecoder::avfDecoder | ( | const QString & | file, | |
| DecoderFactory * | d, | |||
| QIODevice * | i, | |||
| AudioOutput * | o | |||
| ) |
Definition at line 34 of file avfdecoder.cpp.
| avfDecoder::~avfDecoder | ( | void | ) | [virtual] |
Definition at line 62 of file avfdecoder.cpp.
| bool avfDecoder::initialize | ( | ) | [virtual] |
| double avfDecoder::lengthInSeconds | ( | ) |
| void avfDecoder::seek | ( | double | pos | ) | [virtual] |
| void avfDecoder::stop | ( | void | ) | [virtual] |
| MetaIO * avfDecoder::doCreateTagger | ( | void | ) | [virtual] |
Create a MetaIO object for the format.
This method should be overwritten by subclasses to return an instance of the appropriate MetaIO subtype. It is used by Decoder::getMetadata, Decoder::readMetadata and Decoder::commitMetadata.
The default implementation returns a NULL pointer, which essentially means, that if the decoder does not overrider this method or all of the users (see previous paragraph), files that the decoder supports cannot be indexed using metadata in the file.
e.g. the mp3 decoder (MadDecoder) implements this, whereas the audio CD decoder (CdDecoder) does not.
MetaIO owned by the caller Reimplemented from Decoder.
Definition at line 358 of file avfdecoder.cpp.
| void avfDecoder::run | ( | void | ) | [private] |
Definition at line 222 of file avfdecoder.cpp.
| void avfDecoder::flush | ( | bool | final = FALSE |
) | [private] |
| void avfDecoder::deinit | ( | ) | [private] |
bool avfDecoder::inited [private] |
Definition at line 32 of file avfdecoder.h.
Referenced by avfDecoder(), deinit(), flush(), initialize(), run(), and ~avfDecoder().
bool avfDecoder::user_stop [private] |
Definition at line 32 of file avfdecoder.h.
Referenced by avfDecoder(), deinit(), flush(), initialize(), run(), and stop().
int avfDecoder::stat [private] |
Definition at line 33 of file avfdecoder.h.
Referenced by avfDecoder(), deinit(), initialize(), and run().
char* avfDecoder::output_buf [private] |
Definition at line 34 of file avfdecoder.h.
Referenced by avfDecoder(), flush(), initialize(), run(), and ~avfDecoder().
ulong avfDecoder::output_bytes [private] |
Definition at line 35 of file avfdecoder.h.
Referenced by avfDecoder(), flush(), initialize(), and run().
ulong avfDecoder::output_at [private] |
Definition at line 35 of file avfdecoder.h.
Referenced by avfDecoder(), flush(), initialize(), and run().
unsigned int avfDecoder::bks [private] |
bool avfDecoder::done [private] |
Definition at line 38 of file avfdecoder.h.
Referenced by avfDecoder(), deinit(), flush(), initialize(), and run().
bool avfDecoder::finish [private] |
Definition at line 38 of file avfdecoder.h.
Referenced by avfDecoder(), deinit(), flush(), initialize(), and run().
long avfDecoder::len [private] |
Definition at line 39 of file avfdecoder.h.
Referenced by avfDecoder(), deinit(), initialize(), and run().
long avfDecoder::freq [private] |
long avfDecoder::bitrate [private] |
int avfDecoder::chan [private] |
Definition at line 40 of file avfdecoder.h.
Referenced by avfDecoder(), deinit(), flush(), and initialize().
unsigned long avfDecoder::output_size [private] |
Definition at line 41 of file avfdecoder.h.
double avfDecoder::totalTime [private] |
double avfDecoder::seekTime [private] |
Definition at line 42 of file avfdecoder.h.
Referenced by avfDecoder(), flush(), initialize(), run(), and seek().
QString avfDecoder::devicename [private] |
Definition at line 44 of file avfdecoder.h.
long int avfDecoder::start [private] |
Definition at line 46 of file avfdecoder.h.
long int avfDecoder::end [private] |
Definition at line 47 of file avfdecoder.h.
AVOutputFormat* avfDecoder::fmt [private] |
AVInputFormat* avfDecoder::ifmt [private] |
AVFormatParameters avfDecoder::params [private] |
AVFormatParameters* avfDecoder::ap [private] |
AVFormatContext* avfDecoder::oc [private] |
AVFormatContext * avfDecoder::ic [private] |
Definition at line 53 of file avfdecoder.h.
Referenced by avfDecoder(), deinit(), initialize(), and run().
AVStream* avfDecoder::enc_st [private] |
Definition at line 54 of file avfdecoder.h.
AVStream * avfDecoder::dec_st [private] |
AVCodec* avfDecoder::codec [private] |
Definition at line 55 of file avfdecoder.h.
AVCodec * avfDecoder::enc_codec [private] |
Definition at line 55 of file avfdecoder.h.
AVCodecContext* avfDecoder::audio_enc [private] |
Definition at line 56 of file avfdecoder.h.
AVCodecContext * avfDecoder::audio_dec [private] |
AVPacket avfDecoder::pkt1 [private] |
AVPacket* avfDecoder::pkt [private] |
int avfDecoder::errcode [private] |
Definition at line 60 of file avfdecoder.h.
unsigned char* avfDecoder::ptr [private] |
int avfDecoder::dec_len [private] |
int avfDecoder::data_size [private] |
short avfDecoder::samples[AVCODEC_MAX_AUDIO_FRAME_SIZE/2] [private] |
1.5.5