Sunshine master
Self-hosted game stream host for Moonlight.
nvenc_colorspace.h
Go to the documentation of this file.
1
5#pragma once
6
7// lib includes
8#include <ffnvcodec/nvEncodeAPI.h>
9
10namespace nvenc {
11
16 NV_ENC_VUI_COLOR_PRIMARIES primaries;
17 NV_ENC_VUI_TRANSFER_CHARACTERISTIC tranfer_function;
18 NV_ENC_VUI_MATRIX_COEFFS matrix;
20 };
21
22} // namespace nvenc
Standalone NVENC encoder.
Definition nvenc_base.cpp:94
YUV colorspace and color range.
Definition nvenc_colorspace.h:15
NV_ENC_VUI_TRANSFER_CHARACTERISTIC tranfer_function
Transfer function written into NVENC VUI metadata.
Definition nvenc_colorspace.h:17
NV_ENC_VUI_COLOR_PRIMARIES primaries
Color primaries written into NVENC VUI metadata.
Definition nvenc_colorspace.h:16
NV_ENC_VUI_MATRIX_COEFFS matrix
YUV matrix coefficients written into NVENC VUI metadata.
Definition nvenc_colorspace.h:18
bool full_range
Whether the video range is full-range instead of limited.
Definition nvenc_colorspace.h:19