|
Gnash
0.8.10
|
FFMPEG based AudioDecoder. More...
#include <AudioDecoderFfmpeg.h>
Public Member Functions | |
| AudioDecoderFfmpeg (const AudioInfo &info) | |
| AudioDecoderFfmpeg (SoundInfo &info) | |
| ~AudioDecoderFfmpeg () | |
| boost::uint8_t * | decode (const boost::uint8_t *input, boost::uint32_t inputSize, boost::uint32_t &outputSize, boost::uint32_t &decodedBytes) |
| Decodes a frame and returns a pointer to the data. | |
| boost::uint8_t * | decode (const EncodedAudioFrame &af, boost::uint32_t &outputSize) |
| Decodes an EncodedAudioFrame and returns a pointer to the decoded data. | |
FFMPEG based AudioDecoder.
| info | AudioInfo class with all the info needed to decode the sound correctly. Throws a MediaException on fatal error. |
References _, gnash::media::AudioInfo::codec, gnash::media::CODEC_TYPE_CUSTOM, and gnash::media::AudioInfo::type.
| info | SoundInfo class with all the info needed to decode the sound correctly. Throws a MediaException on fatal error. |
References _.
| boost::uint8_t * gnash::media::ffmpeg::AudioDecoderFfmpeg::decode | ( | const boost::uint8_t * | input, |
| boost::uint32_t | inputSize, | ||
| boost::uint32_t & | outputSize, | ||
| boost::uint32_t & | decodedData | ||
| ) | [virtual] |
Decodes a frame and returns a pointer to the data.
| input | The audio data |
| inputSize | The size of the video data |
| outputSize | The output size of the video data, is passed by reference. |
| decodedData | The amount of bytes that has been decoded when decoding is done, is passed by reference. |
Reimplemented from gnash::media::AudioDecoder.
| boost::uint8_t * gnash::media::ffmpeg::AudioDecoderFfmpeg::decode | ( | const EncodedAudioFrame & | input, |
| boost::uint32_t & | outputSize | ||
| ) | [virtual] |
Decodes an EncodedAudioFrame and returns a pointer to the decoded data.
| input | The audio data |
| outputSize | The output size of the video data, is passed by reference. |
Reimplemented from gnash::media::AudioDecoder.
References gnash::media::EncodedAudioFrame::data, and gnash::media::EncodedAudioFrame::dataSize.
1.7.6.1