Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
video::encoder_platform_formats_avcodec Struct Reference
Inheritance diagram for video::encoder_platform_formats_avcodec:
[legend]
Collaboration diagram for video::encoder_platform_formats_avcodec:
[legend]

Public Types

using init_buffer_function_t = std::function<util::Either<avcodec_buffer_t, int>(platf::avcodec_encode_device_t *)>

Public Member Functions

 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 AVPixelFormat &avcodec_pix_fmt_yuv444_8bit, const AVPixelFormat &avcodec_pix_fmt_yuv444_10bit, const init_buffer_function_t &init_avcodec_hardware_input_buffer_function)

Public Attributes

AVHWDeviceType avcodec_base_dev_type
AVHWDeviceType avcodec_derived_dev_type
AVPixelFormat avcodec_dev_pix_fmt
AVPixelFormat avcodec_pix_fmt_8bit
AVPixelFormat avcodec_pix_fmt_10bit
AVPixelFormat avcodec_pix_fmt_yuv444_8bit
AVPixelFormat avcodec_pix_fmt_yuv444_10bit
init_buffer_function_t init_avcodec_hardware_input_buffer
Public Attributes inherited from video::encoder_platform_formats_t
platf::mem_type_e dev_type
platf::pix_fmt_e pix_fmt_8bit
platf::pix_fmt_e pix_fmt_10bit
platf::pix_fmt_e pix_fmt_yuv444_8bit
platf::pix_fmt_e pix_fmt_yuv444_10bit

Detailed Description

Definition at line 95 of file video.h.

Member Typedef Documentation

◆ init_buffer_function_t

using video::encoder_platform_formats_avcodec::init_buffer_function_t = std::function<util::Either<avcodec_buffer_t, int>(platf::avcodec_encode_device_t *)>

Definition at line 96 of file video.h.

Constructor & Destructor Documentation

◆ encoder_platform_formats_avcodec()

video::encoder_platform_formats_avcodec::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 AVPixelFormat & avcodec_pix_fmt_yuv444_8bit,
const AVPixelFormat & avcodec_pix_fmt_yuv444_10bit,
const init_buffer_function_t & init_avcodec_hardware_input_buffer_function )
inline

Definition at line 98 of file video.h.

Member Data Documentation

◆ avcodec_base_dev_type

AVHWDeviceType video::encoder_platform_formats_avcodec::avcodec_base_dev_type

Definition at line 123 of file video.h.

◆ avcodec_derived_dev_type

AVHWDeviceType video::encoder_platform_formats_avcodec::avcodec_derived_dev_type

Definition at line 123 of file video.h.

◆ avcodec_dev_pix_fmt

AVPixelFormat video::encoder_platform_formats_avcodec::avcodec_dev_pix_fmt

Definition at line 124 of file video.h.

◆ avcodec_pix_fmt_10bit

AVPixelFormat video::encoder_platform_formats_avcodec::avcodec_pix_fmt_10bit

Definition at line 125 of file video.h.

◆ avcodec_pix_fmt_8bit

AVPixelFormat video::encoder_platform_formats_avcodec::avcodec_pix_fmt_8bit

Definition at line 125 of file video.h.

◆ avcodec_pix_fmt_yuv444_10bit

AVPixelFormat video::encoder_platform_formats_avcodec::avcodec_pix_fmt_yuv444_10bit

Definition at line 126 of file video.h.

◆ avcodec_pix_fmt_yuv444_8bit

AVPixelFormat video::encoder_platform_formats_avcodec::avcodec_pix_fmt_yuv444_8bit

Definition at line 126 of file video.h.

◆ init_avcodec_hardware_input_buffer

init_buffer_function_t video::encoder_platform_formats_avcodec::init_avcodec_hardware_input_buffer

Definition at line 128 of file video.h.


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