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

Public Member Functions

virtual bool open (AVFormatContext *format_ctx) override
 
Blob decode_frame (AVPacket *avpacket)
 
- Public Member Functions inherited from AVStreamWrapper
 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

Blob last_frame
 
double frames_per_second = 0
 
double frame_len = 0
 
SwsContext * converter = nullptr
 
int width = 0
 
int height = 0
 
- Public Attributes inherited from AVStreamWrapper
AVMediaType type
 
int stream_idx
 
AVStream * stream
 
AVCodec * dec
 
AVCodecContext * dec_ctx
 
std::queue< Blobqueue
 

Member Function Documentation

◆ decode_frame()

Blob AVVideoStream::decode_frame ( AVPacket *  avpacket)
inline

◆ open()

virtual bool AVVideoStream::open ( AVFormatContext *  format_ctx)
inlineoverridevirtual

Implements AVStreamWrapper.

Member Data Documentation

◆ converter

SwsContext* AVVideoStream::converter = nullptr

◆ frame_len

double AVVideoStream::frame_len = 0

◆ frames_per_second

double AVVideoStream::frames_per_second = 0

◆ height

int AVVideoStream::height = 0

◆ last_frame

Blob AVVideoStream::last_frame

◆ width

int AVVideoStream::width = 0

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