Video::LibAVDecoder Struct Reference
Inheritance diagram for Video::LibAVDecoder:
Video::CameraInput Video::VideoDecoder

Public Member Functions

ReadFrame enqueue_frame (const AVPacket *pkt) noexcept
 
std::pair< AVBufferRef *, const AVCodec * > open_hwdec (const AVCodec &) noexcept
 
int init_codec_context (const AVCodec *codec, AVBufferRef *hw_dev_ctx, const AVStream *stream, std::function< void(AVCodecContext &)> setup)
 
bool open_codec_context (VideoInterface &self, const AVStream *stream, std::function< void(AVCodecContext &)> setup)
 
void init_scaler (VideoInterface &self) noexcept
 
void load_packet_in_frame (const AVPacket &packet, AVFrame &frame)
 
ReadFrame read_one_frame (AVPacket &packet)
 
ReadFrame read_one_frame_raw (AVPacket &packet)
 
ReadFrame read_one_frame_avcodec (AVPacket &packet)
 

Public Attributes

DecoderConfiguration m_conf
 
AVFormatContext * m_formatContext {}
 
AVStream * m_avstream {}
 
const AVCodec * m_codec {}
 
AVCodecContext * m_codecContext {}
 
FrameQueue m_frames
 
Rescale m_rescale
 
bool m_finished {}
 

The documentation for this struct was generated from the following files: