Sunshine master
Self-hosted game stream host for Moonlight.
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:
[legend]
Collaboration diagram for video::encoder_platform_formats_nvenc:
[legend]

Public Member Functions

 encoder_platform_formats_nvenc (const platf::mem_type_e &dev_type, const platf::pix_fmt_e &pix_fmt_8bit, const platf::pix_fmt_e &pix_fmt_10bit, const platf::pix_fmt_e &pix_fmt_yuv444_8bit, const platf::pix_fmt_e &pix_fmt_yuv444_10bit)
 Construct NVENC platform format mappings.
 
- Public Member Functions inherited from video::encoder_platform_formats_t

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 & dev_type,
const platf::pix_fmt_e & pix_fmt_8bit,
const platf::pix_fmt_e & pix_fmt_10bit,
const platf::pix_fmt_e & pix_fmt_yuv444_8bit,
const platf::pix_fmt_e & pix_fmt_yuv444_10bit )
inline

Construct NVENC platform format mappings.

Parameters
dev_typePlatform memory type.
pix_fmt_8bitPlatform 8-bit pixel format.
pix_fmt_10bitPlatform 10-bit pixel format.
pix_fmt_yuv444_8bitPlatform 8-bit YUV444 pixel format.
pix_fmt_yuv444_10bitPlatform 10-bit YUV444 pixel format.

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