Freigeben über


D3DDDI_COLOR_SPACE_TYPE-Enumeration (d3dukmdt.h)

Definiert Datenstromfarbrauminformationen.

Syntax

typedef enum D3DDDI_COLOR_SPACE_TYPE {
  D3DDDI_COLOR_SPACE_RGB_FULL_G22_NONE_P709,
  D3DDDI_COLOR_SPACE_RGB_FULL_G10_NONE_P709,
  D3DDDI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709,
  D3DDDI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020,
  D3DDDI_COLOR_SPACE_RESERVED,
  D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601,
  D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601,
  D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601,
  D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709,
  D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709,
  D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020,
  D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020,
  D3DDDI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020,
  D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020,
  D3DDDI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020,
  D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020,
  D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020,
  D3DDDI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020,
  D3DDDI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020,
  D3DDDI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020,
  D3DDDI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P709,
  D3DDDI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P2020,
  D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P709,
  D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P2020,
  D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_TOPLEFT_P2020,
  D3DDDI_COLOR_SPACE_CUSTOM
} ;

Konstanten

 
D3DDDI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
* Farbraum: RGB
* Bereich: 0-255
* Gamma: 2.2
* Kalkulation: Bild
* Vorwahlen: BT.709

Dies ist die Standarddefinition für sRGB.

Beachten Sie, dass dies häufig mit einem linearen Segment implementiert wird, aber in diesem Fall wird der Exponent korrigiert, um an einer Gamma-2,2-Kurve ausgerichtet zu bleiben.

Dies wird in der Regel mit 8-Bit- und 10-Bit-Farbkanälen verwendet.
D3DDDI_COLOR_SPACE_RGB_FULL_G10_NONE_P709
* Farbraum: RGB
* Bereich: 0-255
* Gamma: 1,0
* Kalkulation: Bild
* Vorwahlen: BT.709

Dies ist die Standarddefinition für scRGB.

Dies wird normalerweise mit 16-Bit-Ganzzahl-, 16-Bit-Gleitkomma- und 32-Bit-Gleitkommakanälen verwendet.
D3DDDI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709
* Farbraum: RGB
* Bereich: 16-235
* Gamma: 2.2
* Kalkulation: Bild
* Vorwahlen: BT.709

Dies ist die Standarddefinition für die ITU-R-Empfehlung BT.709. Beachten Sie, dass die Transferkurve aufgrund der Einbeziehung eines linearen Segments einem reinen exponentiellen Gamma von 1,9 ähnelt.

Dies wird in der Regel mit 8-Bit- und 10-Bit-Farbkanälen verwendet.
D3DDDI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020
* Farbraum: RGB
* Bereich: 16-235
* Gamma: 2.2
* Kalkulation: Bild
* Vorwahlen: BT.2020

Dies wird normalerweise mit 10-, 12- oder 16-Bit-Farbkanälen verwendet.
D3DDDI_COLOR_SPACE_RESERVED
Für die zukünftige Verwendung reserviert.
D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601
* Farbraum: YCbCr
* Bereich: 0-255
* Gamma: 2.2
* Kalkulation: Bild
* Vorwahlen: BT.2020
* Transfermatrix: BT.601

Diese Definition wird häufig für JPG verwendet.

Dies wird in der Regel mit 8-, 10-, 12- oder 16-Bit-Farbkanälen verwendet.
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601
* Farbraum: YCbCr
* Bereich: 16-235
* Gamma: 2.2
* Kostenkalkulation: Video
* Vorwahlen: BT.601

Diese Definition wird häufig für MPEG2 verwendet.

Dies wird in der Regel mit 8-, 10-, 12- oder 16-Bit-Farbkanälen verwendet.
D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601
* Farbraum: YCbCr
* Bereich: 0-255
* Gamma: 2.2
* Kostenkalkulation: Video
* Vorwahlen: BT.601

Dies wird manchmal für die H.264-Kameraaufnahme verwendet.

Dies wird in der Regel mit 8-, 10-, 12- oder 16-Bit-Farbkanälen verwendet.
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709
* Farbraum: YCbCr
* Bereich: 16-235
* Gamma: 2.2
* Kostenkalkulation: Video
* Vorwahlen: BT.709

Diese Definition wird häufig für H.264 und HEVC verwendet.

Dies wird in der Regel mit 8-, 10-, 12- oder 16-Bit-Farbkanälen verwendet.
D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709
* Farbraum: YCbCr
* Bereich: 0-255
* Gamma: 2.2
* Kostenkalkulation: Video
* Vorwahlen: BT.709

Dies wird manchmal für die H.264-Kameraaufnahme verwendet.

Dies wird in der Regel mit 8-, 10-, 12- oder 16-Bit-Farbkanälen verwendet.
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020
* Farbraum: YCbCr
* Bereich: 16-235
* Gamma: 2.2
* Kostenkalkulation: Video
* Vorwahlen: BT.2020

Diese Definition kann von HEVC verwendet werden.

Dies wird normalerweise mit 10-, 12- oder 16-Bit-Farbkanälen verwendet.
D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020
* Farbraum: YCbCr
* Bereich: 0-255
* Gamma: 2.2
* Kostenkalkulation: Video
* Vorwahlen: BT.2020

Dies wird normalerweise mit 10-, 12- oder 16-Bit-Farbkanälen verwendet.
D3DDDI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020
* Farbraum: RGB
* Bereich: 0-255
* Gamma: 2084
* Kostenkalkulation: Center
* Vorwahlen: BT.2020
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020
* Farbraum: YCbCr
* Bereich: 16-235
* Gamma: 2084
* Kalkulation: Links
* Vorwahlen: BT.2020
D3DDDI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020
* Farbraum: RGB
* Bereich: 16-235
* Gamma: 2084
* Kostenkalkulation: Center
* Vorwahlen: BT.2020
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020
* Farbraum: YCbCr
* Bereich: 16-235
* Gamma: 2.2
* Kalkulation: Oben links
* Vorwahlen: BT.2020
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020
* Farbraum: YCbCr
* Bereich: 16-235
* Gamma: 2084
* Kalkulation: Oben links
* Vorwahlen: BT.2020
D3DDDI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020
* Farbraum: RGB
* Bereich: 0-255
* Gamma: 2.2
* Kalkulation: Keine
* Vorwahlen: BT.2020
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020
* Farbraum: YCbCr
* Bereich: 16-235
* Gamma: HLG
* Kalkulation: Oben links
* Vorwahlen: BT.2020

Dieser Farbraum kann als Eingabe für die Videoprozessor-DDIs verwendet werden, wird aber nie zum Scannen verwendet.
D3DDDI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020
* Farbraum: YCbCr
* Bereich: 0-255
* Gamma: HLG
* Kalkulation: Oben links
* Vorwahlen: BT.2020

Dieser Farbraum kann als Eingabe für die Videoprozessor-DDIs verwendet werden, wird aber nie zum Scannen verwendet.
D3DDDI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P709
* Farbraum: RGB
* Bereich: 0-255
* Gamma: HLG
* Kalkulation: Keine
* Vorwahlen: BT.709
D3DDDI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P2020
* Farbraum: RGB
* Bereich: 16-235
* Gamma: 2,4
* Kalkulation: Keine
* Vorwahlen: BT.709
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P709
* Farbraum: YCbCr
* Bereich: 16-235
* Gamma: 2,4
* Kalkulation: Links
* Vorwahlen: BT.709
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P2020
* Farbraum: YCbCr
* Bereich: 16-235
* Gamma: 2,4
* Kalkulation: Links
* Vorwahlen: BT.2020
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_TOPLEFT_P2020
* Farbraum: YCbCr
* Bereich: 16-235
* Gamma: 2,4
* Kalkulation: Oben links
* Vorwahlen: BT.2020
D3DDDI_COLOR_SPACE_CUSTOM
Es wird eine benutzerdefinierte Farbdefinition verwendet.

Hinweise

Die Subsampling und das Layout der Farbkanäle werden aus dem Oberflächenformat abgeleitet.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows 10
Unterstützte Mindestversion (Server) Windows Server 2016
Kopfzeile d3dukmdt.h (einschließlich D3dumddi.h, D3dkmddi.h)