video#
Include dependency graph for video.h:
This graph shows which files directly or indirectly include video.h:
todo
Defines
-
_CONVERT(x)#
-
namespace video#
Typedefs
-
using avcodec_buffer_t = util::safe_ptr<AVBufferRef, free_buffer>#
-
using avcodec_ctx_t = util::safe_ptr<AVCodecContext, free_ctx>#
-
using avcodec_frame_t = util::safe_ptr<AVFrame, free_frame>#
-
using hdr_info_t = std::unique_ptr<hdr_info_raw_t>#
-
using packet_t = std::unique_ptr<packet_raw_t>#
-
using sws_t = util::safe_ptr<SwsContext, sws_freeContext>#
-
struct config_t#
-
struct encode_session_t#
Inheritence diagram for video::encode_session_t:
Subclassed by video::avcodec_encode_session_t, video::nvenc_encode_session_t
-
struct encoder_platform_formats_avcodec : public video::encoder_platform_formats_t#
Inheritence diagram for video::encoder_platform_formats_avcodec:
Collaboration diagram for video::encoder_platform_formats_avcodec:
Public Types
-
using init_buffer_function_t = std::function<util::Either<avcodec_buffer_t, int>(platf::avcodec_encode_device_t*)>#
Public Functions
-
inline encoder_platform_formats_avcodec(const AVHWDeviceType &avcodec_base_dev_type, const AVHWDeviceType &avcodec_derived_dev_type, const AVPixelFormat &avcodec_dev_pix_fmt, const AVPixelFormat &avcodec_pix_fmt_8bit, const AVPixelFormat &avcodec_pix_fmt_10bit, const init_buffer_function_t &init_avcodec_hardware_input_buffer_function)#
-
using init_buffer_function_t = std::function<util::Either<avcodec_buffer_t, int>(platf::avcodec_encode_device_t*)>#
-
struct encoder_platform_formats_nvenc : public video::encoder_platform_formats_t#
Inheritence diagram for video::encoder_platform_formats_nvenc:
Collaboration diagram for video::encoder_platform_formats_nvenc:
-
struct encoder_platform_formats_t#
Inheritence diagram for video::encoder_platform_formats_t:
Subclassed by video::encoder_platform_formats_avcodec, video::encoder_platform_formats_nvenc
Public Functions
-
virtual ~encoder_platform_formats_t() = default#
-
virtual ~encoder_platform_formats_t() = default#
-
struct encoder_t#
Collaboration diagram for video::encoder_t:
Public Types
Public Members
-
uint32_t flags#
-
std::string_view name#
-
const std::unique_ptr<const encoder_platform_formats_t> platform_formats#
-
struct codec_t#
Public Functions
-
uint32_t flags#
-
struct hdr_info_raw_t#
-
struct packet_raw_avcodec : public video::packet_raw_t#
Inheritence diagram for video::packet_raw_avcodec:
Collaboration diagram for video::packet_raw_avcodec:
Public Functions
-
inline virtual uint8_t *data() override#
-
inline virtual size_t data_size() override#
-
inline virtual int64_t frame_index() override#
-
inline virtual bool is_idr() override#
-
inline packet_raw_avcodec()#
-
inline ~packet_raw_avcodec()#
Public Members
-
AVPacket *av_packet#
-
inline virtual uint8_t *data() override#
-
struct packet_raw_generic : public video::packet_raw_t#
Inheritence diagram for video::packet_raw_generic:
Collaboration diagram for video::packet_raw_generic:
-
struct packet_raw_t#
Inheritence diagram for video::packet_raw_t:
Subclassed by video::packet_raw_avcodec, video::packet_raw_generic
Public Functions
-
virtual uint8_t *data() = 0#
-
virtual size_t data_size() = 0#
-
virtual int64_t frame_index() = 0#
-
virtual bool is_idr() = 0#
-
virtual ~packet_raw_t() = default#
-
virtual uint8_t *data() = 0#
-
using avcodec_buffer_t = util::safe_ptr<AVBufferRef, free_buffer>#