AvTranscoder
0.9.4
C++APIforLibav/FFmpeg
|
#include <IInputStream.hpp>
Public Member Functions | |
virtual | ~IInputStream () |
virtual bool | readNextPacket (CodedData &data)=0 |
Read the next packet of the stream. More... | |
virtual const StreamProperties & | getProperties () const =0 |
virtual size_t | getStreamIndex () const =0 |
virtual VideoCodec & | getVideoCodec ()=0 |
virtual AudioCodec & | getAudioCodec ()=0 |
virtual DataCodec & | getDataCodec ()=0 |
virtual void | activate (const bool activate=true)=0 |
Functions about buffering Activate the stream will buffered its data when read packets. More... | |
virtual bool | isActivated () const =0 |
virtual void | clearBuffering ()=0 |
Definition at line 15 of file IInputStream.hpp.
|
inlinevirtual |
Definition at line 18 of file IInputStream.hpp.
|
pure virtual |
Functions about buffering Activate the stream will buffered its data when read packets.
Implemented in avtranscoder::InputStream.
|
pure virtual |
Implemented in avtranscoder::InputStream.
|
pure virtual |
Implemented in avtranscoder::InputStream.
Referenced by avtranscoder::StreamTranscoder::StreamTranscoder().
|
pure virtual |
Implemented in avtranscoder::InputStream.
Referenced by avtranscoder::StreamTranscoder::StreamTranscoder().
|
pure virtual |
Implemented in avtranscoder::InputStream.
Referenced by avtranscoder::Transcoder::fillProcessStat(), avtranscoder::StreamTranscoder::getDuration(), avtranscoder::StreamTranscoder::processFrame(), and avtranscoder::StreamTranscoder::StreamTranscoder().
|
pure virtual |
Implemented in avtranscoder::InputStream.
Referenced by avtranscoder::StreamTranscoder::needToSwitchToGenerator(), avtranscoder::StreamTranscoder::preProcessCodecLatency(), and avtranscoder::StreamTranscoder::StreamTranscoder().
|
pure virtual |
Return the codec informations of the stream
Raise | a runtime error if the stream is not of the corresponding type |
Implemented in avtranscoder::InputStream.
Referenced by avtranscoder::StreamTranscoder::StreamTranscoder().
|
pure virtual |
Implemented in avtranscoder::InputStream.
|
pure virtual |
Read the next packet of the stream.
data | data of next packet read |
Implemented in avtranscoder::InputStream.
Referenced by avtranscoder::StreamTranscoder::processRewrap().