1 #ifndef _AV_TRANSCODER_ESSENCE_STREAM_IDECODER_HPP_
2 #define _AV_TRANSCODER_ESSENCE_STREAM_IDECODER_HPP_
31 virtual bool decodeNextFrame(
Frame& frameBuffer) = 0;
39 virtual bool decodeNextFrame(
Frame& frameBuffer,
const size_t channelIndex) = 0;
std::map< std::string, std::string > Profile
virtual void setupDecoder(const ProfileLoader::Profile &profile=ProfileLoader::Profile())
Setup the decoder.
virtual void flushDecoder()
Reset the internal decoder state / flush internal buffers.
virtual void setNextFrame(Frame &inputFrame)
Set the next frame of the input stream (which bypass the work of decoding)
This class describes decoded (raw) audio or video data.