Enum DxgiColorSpace
- Namespace
- PaintDotNet.Dxgi
- Assembly
- PaintDotNet.Windows.dll
public enum DxgiColorSpace
Fields
RgbFullGamma22NoneP709 = 0Property Value Colorspace RGB Range 0-255 Gamma 2.2 Siting Image Primaries BT.709 This is the standard definition for sRGB.
Note that this is often implemented with a linear segment, but in that case the exponent is corrected to stay aligned with a gamma 2.2 curve.
This is usually used with 8 or 10 bit color channels.
RgbFullGamma10NoneP709 = 1Property Value Colorspace RGB Range 0-255 Gamma 1.0 Siting Image Primaries BT.709 This is the standard definition for scRGB, and is usually used with 16 bit integer, 16 bit floating point, or 32 bit floating point color channels.
RgbStudioGamma22NoneP709 = 2Property Value Colorspace RGB Range 16-235 Gamma 2.2 Siting Image Primaries BT.709 This is the standard definition for ITU-R Recommendation BT.709. Note that due to the inclusion of a linear segment, the transfer curve looks similar to a pure exponential gamma of 1.9.
This is usually used with 8 or 10 bit color channels.
RgbStudioGamma22NoneP2020 = 3Property Value Colorspace RGB Range 16-235 Gamma 2.2 Siting Image Primaries BT.2020 This is usually used with 10 or 12 bit color channels.
Reserved = 4Reserved.
YCbCrFullGamma22NoneP709X601 = 5Property Value Colorspace YCbCr Range 0-255 Gamma 2.2 Siting Image Primaries BT.709 Transfer Matrix BT.601 This definition is commonly used for JPG, and is usually used with 8, 10, or 12 bit color channels.
YCbCrStudioGamma22LeftP601 = 6Property Value Colorspace YCbCr Range 16-235 Gamma 2.2 Siting Video Primaries BT.601 This definition is commonly used for MPEG2, and is usually used with 8, 10, or 12 bit color channels.
YCbCrFullGamma22LeftP601 = 7Property Value Colorspace YCbCr Range 0-255 Gamma 2.2 Siting Video Primaries BT.601 This is sometimes used for H.264 camera capture, and is usually used with 8, 10, or 12 bit color channels.
YCbCrStudioG22LeftP709 = 8Property Value Colorspace YCbCr Range 16-235 Gamma 2.2 Siting Video Primaries BT.709 This definition is commonly used for H.264 and HEVC, and is usually used with 8, 10, or 12 bit color channels.
YCbCrFullGamma22LeftP709 = 9Property Value Colorspace YCbCr Range 0-255 Gamma 2.2 Siting Video Primaries BT.709 This is sometimes used for H.264 camera capture, and is usually used with 8, 10, or 12 bit color channels.
YCbCrStudioGamma22LeftP2020 = 10Property Value Colorspace YCbCr Range 16-235 Gamma 2.2 Siting Video Primaries BT.2020 This definition may be used by HEVC, and is usually used with 10 or 12 bit color channels.
YCbCrFullGamma22LeftP2020 = 11Property Value Colorspace YCbCr Range 0-255 Gamma 2.2 Siting Video Primaries BT.2020 This is usually used with 10 or 12 bit color channels.
RgbFullGamma2084NoneP2020 = 12Property Value Colorspace RGB Range 0-255 Gamma 2084 Siting Image Primaries BT.2020 This is usually used with 10 or 12 bit color channels.
YCbCrStudioGamma2084LeftP2020 = 13Property Value Colorspace YCbCr Range 16-235 Gamma 2084 Siting Video Primaries BT.2020 This is usually used with 10 or 12 bit color channels.
RgbStudioGamma2084NoneP2020 = 14Property Value Colorspace RGB Range 16-235 Gamma 2084 Siting Image Primaries BT.2020 This is usually used with 10 or 12 bit color channels.
YCbCrStudioGamma22TopLeftP2020 = 15Property Value Colorspace YCbCr Range 16-235 Gamma 2.2 Siting Video Primaries BT.2020 This is usually used with 10 or 12 bit color channels.
YCbCrStudioGamma2084TopLeftP2020 = 16Property Value Colorspace YCbCr Range 16-235 Gamma 2084 Siting Video Primaries BT.2020 This is usually used with 10 or 12 bit color channels.
RgbFullGamma22NoneP2020 = 17Property Value Colorspace RGB Range 0-255 Gamma 2.2 Siting Image Primaries BT.2020 This is usually used with 10 or 12 bit color channels.
YCbCrStudioGammaHlgTopLeftP2020 = 18Property Value Colorspace YCBCR Range 16-235 Gamma HLG Siting Video Primaries BT.2020 This is usually used with 10 or 12 bit color channels.
YCbCrFullGammaHlgTopLeftP2020 = 19Property Value Colorspace YCBCR Range 0-255 Gamma HLG Siting Video Primaries BT.2020 This is usually used with 10 or 12 bit color channels.
RgbStudioGamma24NoneP709 = 20Property Value Colorspace RGB Range 16-235 Gamma 2.4 Siting Image Primaries BT.709 This is usually used with 8, 10, or 12 bit color channels.
RgbStudioGamma24NoneP2020 = 21Property Value Colorspace RGB Range 16-235 Gamma 2.4 Siting Image Primaries BT.2020 This is usually used with 10 or 12 bit color channels.
YCbCrStudioGamma24LeftP709 = 22Property Value Colorspace YCBCR Range 16-235 Gamma 2.4 Siting Video Primaries BT.709 This is usually used with 8, 10, or 12 bit color channels.
YCbCrStudioGamma24LeftP2020 = 23Property Value Colorspace YCBCR Range 16-235 Gamma 2.4 Siting Video Primaries BT.2020 This is usually used with 10 or 12 bit color channels.
YCbCrStudioGamma24TopLeft2020 = 24Property Value Colorspace YCBCR Range 16-235 Gamma 2.4 Siting Video Primaries BT.2020 This is usually used with 10 or 12 bit color channels.
Custom = -1A custom color definition is used.