#include <aacdecoder.h>

Definition at line 21 of file aacdecoder.h.
Public Member Functions | |
| aacDecoder (const QString &file, DecoderFactory *, QIODevice *, AudioOutput *) | |
| virtual | ~aacDecoder (void) |
| bool | initialize () |
| void | seek (double) |
| void | stop () |
| MetaIO * | doCreateTagger (void) |
Create a MetaIO object for the format. | |
| bool | initializeMP4 () |
| int | getAACTrack (mp4ff_t *infile) |
| uint32_t | aacRead (char *buffer, uint32_t length) |
| uint32_t | aacSeek (uint64_t position) |
Private Member Functions | |
| void | run () |
| void | flush (bool=FALSE) |
| void | deinit () |
Private Attributes | |
| bool | inited |
| bool | user_stop |
| int | stat |
| char * | output_buf |
| ulong | output_bytes |
| ulong | output_at |
| unsigned int | bks |
| bool | done |
| bool | finish |
| long | len |
| long | bitrate |
| uchar | channels |
| unsigned long | sample_rate |
| unsigned long | output_size |
| double | totalTime |
| double | seekTime |
| bool | mp4_file_flag |
| mp4ff_callback_t * | mp4_callback |
| faacDecHandle | decoder_handle |
| mp4ff_t * | mp4_input_file |
| int | aac_track_number |
| unsigned long | timescale |
| unsigned int | framesize |
| aacDecoder::aacDecoder | ( | const QString & | file, | |
| DecoderFactory * | d, | |||
| QIODevice * | i, | |||
| AudioOutput * | o | |||
| ) |
Definition at line 67 of file aacdecoder.cpp.
| aacDecoder::~aacDecoder | ( | void | ) | [virtual] |
Definition at line 94 of file aacdecoder.cpp.
| bool aacDecoder::initialize | ( | ) | [virtual] |
| void aacDecoder::seek | ( | double | pos | ) | [virtual] |
| void aacDecoder::stop | ( | void | ) | [virtual] |
| MetaIO * aacDecoder::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 631 of file aacdecoder.cpp.
| bool aacDecoder::initializeMP4 | ( | ) |
| int aacDecoder::getAACTrack | ( | mp4ff_t * | infile | ) |
| void aacDecoder::run | ( | void | ) | [private] |
Definition at line 454 of file aacdecoder.cpp.
| void aacDecoder::flush | ( | bool | final = FALSE |
) | [private] |
| void aacDecoder::deinit | ( | ) | [private] |
bool aacDecoder::inited [private] |
Definition at line 45 of file aacdecoder.h.
Referenced by aacDecoder(), deinit(), flush(), initialize(), initializeMP4(), run(), and ~aacDecoder().
bool aacDecoder::user_stop [private] |
Definition at line 45 of file aacdecoder.h.
Referenced by aacDecoder(), deinit(), flush(), initialize(), run(), and stop().
int aacDecoder::stat [private] |
Definition at line 46 of file aacdecoder.h.
Referenced by aacDecoder(), deinit(), initialize(), and run().
char* aacDecoder::output_buf [private] |
Definition at line 47 of file aacdecoder.h.
Referenced by aacDecoder(), flush(), initialize(), run(), and ~aacDecoder().
ulong aacDecoder::output_bytes [private] |
Definition at line 48 of file aacdecoder.h.
Referenced by aacDecoder(), flush(), initialize(), and run().
ulong aacDecoder::output_at [private] |
Definition at line 48 of file aacdecoder.h.
Referenced by aacDecoder(), flush(), initialize(), and run().
unsigned int aacDecoder::bks [private] |
bool aacDecoder::done [private] |
Definition at line 51 of file aacdecoder.h.
Referenced by aacDecoder(), deinit(), flush(), initialize(), and run().
bool aacDecoder::finish [private] |
Definition at line 51 of file aacdecoder.h.
Referenced by aacDecoder(), deinit(), flush(), initialize(), and run().
long aacDecoder::len [private] |
long aacDecoder::bitrate [private] |
Definition at line 52 of file aacdecoder.h.
Referenced by aacDecoder(), deinit(), initialize(), initializeMP4(), and run().
uchar aacDecoder::channels [private] |
Definition at line 53 of file aacdecoder.h.
Referenced by aacDecoder(), deinit(), flush(), initialize(), and initializeMP4().
unsigned long aacDecoder::sample_rate [private] |
Definition at line 54 of file aacdecoder.h.
Referenced by aacDecoder(), deinit(), initialize(), and initializeMP4().
unsigned long aacDecoder::output_size [private] |
Definition at line 55 of file aacdecoder.h.
double aacDecoder::totalTime [private] |
Definition at line 56 of file aacdecoder.h.
Referenced by aacDecoder(), initialize(), initializeMP4(), and run().
double aacDecoder::seekTime [private] |
Definition at line 56 of file aacdecoder.h.
Referenced by aacDecoder(), flush(), initialize(), run(), and seek().
bool aacDecoder::mp4_file_flag [private] |
mp4ff_callback_t* aacDecoder::mp4_callback [private] |
Definition at line 59 of file aacdecoder.h.
Referenced by aacDecoder(), deinit(), and initializeMP4().
faacDecHandle aacDecoder::decoder_handle [private] |
mp4ff_t* aacDecoder::mp4_input_file [private] |
int aacDecoder::aac_track_number [private] |
unsigned long aacDecoder::timescale [private] |
Definition at line 63 of file aacdecoder.h.
Referenced by aacDecoder(), deinit(), initialize(), and initializeMP4().
unsigned int aacDecoder::framesize [private] |
Definition at line 64 of file aacdecoder.h.
Referenced by aacDecoder(), deinit(), initialize(), and initializeMP4().
1.5.5