Condividi tramite


enumerazione D3DDDI_COLOR_SPACE_TYPE (d3dukmdt.h)

Definisce le informazioni sullo spazio dei colori del flusso.

Sintassi

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
} ;

Costanti

 
D3DDDI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
* Spazio colori: RGB
* Intervallo: 0-255
* Gamma: 2.2
* Costo: Immagine
* Primarie: BT.709

Questa è la definizione standard per sRGB.

Si noti che questo viene spesso implementato con un segmento lineare, ma in questo caso l'esponente viene corretto per rimanere allineato a una curva gamma 2.2.

Questo viene in genere usato con canali colore a 8 bit e a 10 bit.
D3DDDI_COLOR_SPACE_RGB_FULL_G10_NONE_P709
* Spazio colori: RGB
* Intervallo: 0-255
* Gamma: 1.0
* Costo: Immagine
* Primarie: BT.709

Questa è la definizione standard per scRGB.

Questa operazione viene in genere usata con numeri interi a 16 bit, a virgola mobile a 16 bit e canali a virgola mobile a 32 bit.
D3DDDI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709
* Spazio colori: RGB
* Intervallo: 16-235
* Gamma: 2.2
* Costo: Immagine
* Primarie: BT.709

Questa è la definizione standard per la raccomandazione ITU-R BT.709. Si noti che a causa dell'inclusione di un segmento lineare, la curva di trasferimento è simile a una gamma esponenziale pura di 1,9.

Questo viene in genere usato con canali colore a 8 bit e a 10 bit.
D3DDDI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020
* Spazio colori: RGB
* Intervallo: 16-235
* Gamma: 2.2
* Costo: Immagine
* Primarie: BT.2020

In genere viene usato con canali di colore a 10, 12 o 16 bit.
D3DDDI_COLOR_SPACE_RESERVED
Riservato per utilizzi futuri.
D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601
* Spazio colori: YCbCr
* Intervallo: 0-255
* Gamma: 2.2
* Costo: Immagine
* Primarie: BT.2020
* Matrice di trasferimento: BT.601

Questa definizione viene comunemente usata per JPG.

Questo viene in genere usato con canali colore a 8, 10, 12 o 16 bit.
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601
* Spazio colori: YCbCr
* Intervallo: 16-235
* Gamma: 2.2
* Costo: Video
* Primarie: BT.601

Questa definizione viene comunemente usata per MPEG2.

Questo viene in genere usato con canali colore a 8, 10, 12 o 16 bit.
D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601
* Spazio colori: YCbCr
* Intervallo: 0-255
* Gamma: 2.2
* Costo: Video
* Primarie: BT.601

Questo viene talvolta usato per l'acquisizione della fotocamera H.264 .

Questo viene in genere usato con canali colore a 8, 10, 12 o 16 bit.
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709
* Spazio colori: YCbCr
* Intervallo: 16-235
* Gamma: 2.2
* Costo: Video
* Primarie: BT.709

Questa definizione viene comunemente usata per H.264 e HEVC.

Questo viene in genere usato con canali colore a 8, 10, 12 o 16 bit.
D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709
* Spazio colori: YCbCr
* Intervallo: 0-255
* Gamma: 2.2
* Costo: Video
* Primarie: BT.709

Questo viene talvolta usato per l'acquisizione della fotocamera H.264 .

Questo viene in genere usato con canali colore a 8, 10, 12 o 16 bit.
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020
* Spazio colori: YCbCr
* Intervallo: 16-235
* Gamma: 2.2
* Costo: Video
* Primarie: BT.2020

Questa definizione può essere usata da HEVC.

In genere viene usato con canali di colore a 10, 12 o 16 bit.
D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020
* Spazio colori: YCbCr
* Intervallo: 0-255
* Gamma: 2.2
* Costo: Video
* Primarie: BT.2020

In genere viene usato con canali di colore a 10, 12 o 16 bit.
D3DDDI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020
* Spazio colori: RGB
* Intervallo: 0-255
* Gamma: 2084
* Costo: Centro
* Primarie: BT.2020
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020
* Spazio colori: YCbCr
* Intervallo: 16-235
* Gamma: 2084
* Costo: a sinistra
* Primarie: BT.2020
D3DDDI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020
* Spazio colori: RGB
* Intervallo: 16-235
* Gamma: 2084
* Costo: Centro
* Primaries: BT.2020
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020
* Colorspace: YCbCr
* Intervallo: 16-235
* Gamma: 2.2
* Costo: in alto a sinistra
* Primaries: BT.2020
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020
* Colorspace: YCbCr
* Intervallo: 16-235
* Gamma: 2084
* Costo: in alto a sinistra
* Primaries: BT.2020
D3DDDI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020
* Spazi colori: RGB
* Intervallo: 0-255
* Gamma: 2.2
* Costo: Nessuno
* Primaries: BT.2020
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020
* Colorspace: YCbCr
* Intervallo: 16-235
* Gamma: HLG
* Costo: in alto a sinistra
* Primaries: BT.2020

Questo spazio colore può essere usato come input per le DDI del processore video, ma non verrà mai usato per analizzare.
D3DDDI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020
* Colorspace: YCbCr
* Intervallo: 0-255
* Gamma: HLG
* Costo: in alto a sinistra
* Primaries: BT.2020

Questo spazio colore può essere usato come input per le DDI del processore video, ma non verrà mai usato per analizzare.
D3DDDI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P709
* Spazi colori: RGB
* Intervallo: 0-255
* Gamma: HLG
* Costo: Nessuno
* Primaries: BT.709
D3DDDI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P2020
* Spazi colori: RGB
* Intervallo: 16-235
* Gamma: 2.4
* Costo: Nessuno
* Primaries: BT.709
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P709
* Colorspace: YCbCr
* Intervallo: 16-235
* Gamma: 2.4
* Costo: sinistra
* Primaries: BT.709
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P2020
* Colorspace: YCbCr
* Intervallo: 16-235
* Gamma: 2.4
* Costo: sinistra
* Primaries: BT.2020
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_TOPLEFT_P2020
* Colorspace: YCbCr
* Intervallo: 16-235
* Gamma: 2.4
* Costo: in alto a sinistra
* Primaries: BT.2020
D3DDDI_COLOR_SPACE_CUSTOM
Viene usata una definizione di colore personalizzata.

Commenti

I sottocampionamento e il layout dei canali di colore vengono dedotti dal formato superficie.

Requisiti

Requisito Valore
Client minimo supportato Windows 10
Server minimo supportato Windows Server 2016
Intestazione d3dukmdt.h (include D3dumddi.h, D3dkmddi.h)