Loading...
Searching...
No Matches
Video::LibAVDecoder Struct Reference
Inheritance diagram for Video::LibAVDecoder:
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 |
| MissingTimestamps | m_missingTimestamps |
| int64_t | m_ptsLead {} |
| std::atomic_bool | m_finished {} |
| Set by the decoding thread, polled by the owner waiting for the end. | |
Member Data Documentation
◆ m_ptsLead
| int64_t Video::LibAVDecoder::m_ptsLead {} |
The largest pts - dts seen: a seek for a time asks for that much earlier, the demuxer seeking on dts.
The documentation for this struct was generated from the following files:
- Rescale.hpp
- VideoDecoder.cpp