Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
video::encoder_platform_formats_nvenc Struct Reference

NVENC-specific pixel formats supported by a platform. More...

#include <src/video.h>

Inheritance diagram for video::encoder_platform_formats_nvenc:
Collaboration diagram for video::encoder_platform_formats_nvenc:

Public Member Functions

 encoder_platform_formats_nvenc (const platf::mem_type_e &device_type, const platf::pix_fmt_e &format_8bit, const platf::pix_fmt_e &format_10bit, const platf::pix_fmt_e &format_yuv444_8bit, const platf::pix_fmt_e &format_yuv444_10bit)
 Construct NVENC platform format mappings.

Additional Inherited Members

Public Attributes inherited from video::encoder_platform_formats_t
platf::mem_type_e dev_type
 Platform memory type required by this encoder.
platf::pix_fmt_e pix_fmt_10bit
 10-bit 4:2:0 input format accepted by this encoder.
platf::pix_fmt_e pix_fmt_8bit
 8-bit 4:2:0 input format accepted by this encoder.
platf::pix_fmt_e pix_fmt_yuv444_10bit
 10-bit 4:4:4 input format accepted by this encoder.
platf::pix_fmt_e pix_fmt_yuv444_8bit
 8-bit 4:4:4 input format accepted by this encoder.

Detailed Description

NVENC-specific pixel formats supported by a platform.

Constructor & Destructor Documentation

◆ encoder_platform_formats_nvenc()

video::encoder_platform_formats_nvenc::encoder_platform_formats_nvenc ( const platf::mem_type_e & device_type,
const platf::pix_fmt_e & format_8bit,
const platf::pix_fmt_e & format_10bit,
const platf::pix_fmt_e & format_yuv444_8bit,
const platf::pix_fmt_e & format_yuv444_10bit )
inline

Construct NVENC platform format mappings.

Parameters
device_typePlatform memory type.
format_8bitPlatform 8-bit pixel format.
format_10bitPlatform 10-bit pixel format.
format_yuv444_8bitPlatform 8-bit YUV444 pixel format.
format_yuv444_10bitPlatform 10-bit YUV444 pixel format.

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