AvTranscoder
0.9.4
C++APIforLibav/FFmpeg
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
AudioDecoder.hpp
Go to the documentation of this file.
1
#ifndef _AV_TRANSCODER_ESSENCE_STREAM_AV_INPUT_AUDIO_HPP_
2
#define _AV_TRANSCODER_ESSENCE_STREAM_AV_INPUT_AUDIO_HPP_
3
4
#include "
IDecoder.hpp
"
5
6
namespace
avtranscoder
7
{
8
9
class
InputStream;
10
11
class
AvExport
AudioDecoder
:
public
IDecoder
12
{
13
public
:
14
AudioDecoder
(
InputStream
& inputStream);
15
~
AudioDecoder
();
16
17
void
setupDecoder(
const
ProfileLoader::Profile
& profile =
ProfileLoader::Profile
());
18
19
bool
decodeNextFrame(
Frame
& frameBuffer);
20
bool
decodeNextFrame(
Frame
& frameBuffer,
const
size_t
channelIndex);
21
22
void
flushDecoder();
23
24
private
:
25
InputStream
*
_inputStream
;
///< Stream from which we read next frames (no ownership, has link)
26
27
bool
_isSetup
;
28
};
29
}
30
31
#endif
avtranscoder::AudioDecoder
Definition:
AudioDecoder.hpp:11
avtranscoder
Definition:
AudioCodec.cpp:6
avtranscoder::InputStream
Definition:
InputStream.hpp:15
avtranscoder::ProfileLoader::Profile
std::map< std::string, std::string > Profile
Definition:
ProfileLoader.hpp:38
avtranscoder::AudioDecoder::_inputStream
InputStream * _inputStream
Stream from which we read next frames (no ownership, has link)
Definition:
AudioDecoder.hpp:25
avtranscoder::Frame
This class describes decoded (raw) audio or video data.
Definition:
Frame.hpp:16
IDecoder.hpp
avtranscoder::AudioDecoder::_isSetup
bool _isSetup
Definition:
AudioDecoder.hpp:27
avtranscoder::IDecoder
Definition:
IDecoder.hpp:11
src
AvTranscoder
decoder
AudioDecoder.hpp
Generated by
1.8.8