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
VideoDecoder.hpp
Go to the documentation of this file.
1
#ifndef _AV_TRANSCODER_DECODER_VIDEO_DECODER_HPP_
2
#define _AV_TRANSCODER_DECODER_VIDEO_DECODER_HPP_
3
4
#include "
IDecoder.hpp
"
5
6
namespace
avtranscoder
7
{
8
9
class
InputStream;
10
11
class
AvExport
VideoDecoder
:
public
IDecoder
12
{
13
public
:
14
VideoDecoder
(
InputStream
& inputStream);
15
~
VideoDecoder
();
16
17
void
setupDecoder(
const
ProfileLoader::Profile
& profile =
ProfileLoader::Profile
());
18
19
bool
decodeNextFrame(
Frame
& frameBuffer);
20
bool
decodeNextFrame(
Frame
& frameBuffer,
const
size_t
subStreamIndex);
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
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::VideoDecoder::_isSetup
bool _isSetup
Definition:
VideoDecoder.hpp:27
avtranscoder::Frame
This class describes decoded (raw) audio or video data.
Definition:
Frame.hpp:16
avtranscoder::VideoDecoder::_inputStream
InputStream * _inputStream
Stream from which we read next frames (no ownership, has link)
Definition:
VideoDecoder.hpp:25
IDecoder.hpp
avtranscoder::VideoDecoder
Definition:
VideoDecoder.hpp:11
avtranscoder::IDecoder
Definition:
IDecoder.hpp:11
src
AvTranscoder
decoder
VideoDecoder.hpp
Generated by
1.8.8