OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
AVStreamWrapper Class Referenceabstract
Inheritance diagram for AVStreamWrapper:
AVAudioStream AVVideoStream

Public Member Functions

 AVStreamWrapper ()
 
virtual ~AVStreamWrapper ()
 
virtual void reset ()
 
virtual void close ()
 
virtual bool open (AVFormatContext *format_ctx)=0
 
virtual bool open (AVFormatContext *format_ctx, AVMediaType type_)
 

Public Attributes

AVMediaType type
 
int stream_idx
 
AVStream * stream
 
AVCodec * dec
 
AVCodecContext * dec_ctx
 
std::queue< Blobqueue
 

Constructor & Destructor Documentation

◆ AVStreamWrapper()

AVStreamWrapper::AVStreamWrapper ( )
inline

◆ ~AVStreamWrapper()

virtual AVStreamWrapper::~AVStreamWrapper ( )
inlinevirtual

Member Function Documentation

◆ close()

virtual void AVStreamWrapper::close ( )
inlinevirtual

◆ open() [1/2]

virtual bool AVStreamWrapper::open ( AVFormatContext *  format_ctx)
pure virtual

Implemented in AVAudioStream, and AVVideoStream.

◆ open() [2/2]

virtual bool AVStreamWrapper::open ( AVFormatContext *  format_ctx,
AVMediaType  type_ 
)
inlinevirtual

◆ reset()

virtual void AVStreamWrapper::reset ( )
inlinevirtual

Member Data Documentation

◆ dec

AVCodec* AVStreamWrapper::dec

◆ dec_ctx

AVCodecContext* AVStreamWrapper::dec_ctx

◆ queue

std::queue<Blob> AVStreamWrapper::queue

◆ stream

AVStream* AVStreamWrapper::stream

◆ stream_idx

int AVStreamWrapper::stream_idx

◆ type

AVMediaType AVStreamWrapper::type

The documentation for this class was generated from the following file: