Enum DxgiColorSpace
- Namespace
- PaintDotNet.Dxgi
- Assembly
- PaintDotNet.Windows.dll
public enum DxgiColorSpace
Fields
RgbFullGamma22NoneP709 = 0
Property 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 = 1
Property 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 = 2
Property 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 = 3
Property 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 = 4
Reserved.
YCbCrFullGamma22NoneP709X601 = 5
Property 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 = 6
Property 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 = 7
Property 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 = 8
Property 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 = 9
Property 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 = 10
Property 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 = 11
Property 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 = 12
Property 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 = 13
Property 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 = 14
Property 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 = 15
Property 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 = 16
Property 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 = 17
Property 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 = 18
Property 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 = 19
Property 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 = 20
Property 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 = 21
Property 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 = 22
Property 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 = 23
Property 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 = 24
Property 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 = -1
A custom color definition is used.