|
Sunshine master
Self-hosted game stream host for Moonlight.
|
NVENC-specific pixel formats supported by a platform. More...
#include <src/video.h>
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. | |
NVENC-specific pixel formats supported by a platform.
|
inline |
Construct NVENC platform format mappings.
| dev_type | Platform memory type. |
| pix_fmt_8bit | Platform 8-bit pixel format. |
| pix_fmt_10bit | Platform 10-bit pixel format. |
| pix_fmt_yuv444_8bit | Platform 8-bit YUV444 pixel format. |
| pix_fmt_yuv444_10bit | Platform 10-bit YUV444 pixel format. |