enumerasi D3DDDI_COLOR_SPACE_TYPE (d3dukmdt.h)

Mendefinisikan informasi ruang warna aliran.

Sintaks

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

Konstanta

 
D3DDDI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
* Colorspace: RGB
* Rentang: 0-255
* Gamma: 2.2
* Biaya: Gambar
* Utama: BT.709

Ini adalah definisi standar untuk sRGB.

Perhatikan bahwa ini sering diimplementasikan dengan segmen linier, tetapi dalam hal ini eksponen dikoreksi agar tetap selaras dengan kurva gamma 2.2.

Ini biasanya digunakan dengan saluran warna 8 bit dan 10 bit.
D3DDDI_COLOR_SPACE_RGB_FULL_G10_NONE_P709
* Colorspace: RGB
* Rentang: 0-255
* Gamma: 1.0
* Biaya: Gambar
* Utama: BT.709

Ini adalah definisi standar untuk scRGB.

Ini biasanya digunakan dengan bilangan bulat 16 bit, titik float 16 bit, dan saluran floating point 32 bit.
D3DDDI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709
* Colorspace: RGB
* Rentang: 16-235
* Gamma: 2.2
* Biaya: Gambar
* Utama: BT.709

Ini adalah definisi standar untuk Rekomendasi ITU-R BT.709. Perhatikan bahwa karena dimasukkannya segmen linier, kurva transfer terlihat mirip dengan gamma eksponensial murni 1,9.

Ini biasanya digunakan dengan saluran warna 8 bit dan 10 bit.
D3DDDI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020
* Colorspace: RGB
* Rentang: 16-235
* Gamma: 2.2
* Biaya: Gambar
* Utama: BT.2020

Ini biasanya digunakan dengan saluran warna 10, 12, atau 16 bit.
D3DDDI_COLOR_SPACE_RESERVED
Disiapkan untuk penggunaan masa mendatang.
D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601
* Colorspace: YCbCr
* Rentang: 0-255
* Gamma: 2.2
* Biaya: Gambar
* Utama: BT.2020
* Transfer Matriks: BT.601

Definisi ini umumnya digunakan untuk JPG.

Ini biasanya digunakan dengan saluran warna 8, 10, 12, atau 16 bit.
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601
* Colorspace: YCbCr
* Rentang: 16-235
* Gamma: 2.2
* Biaya: Video
* Utama: BT.601

Definisi ini umumnya digunakan untuk MPEG2.

Ini biasanya digunakan dengan saluran warna 8, 10, 12, atau 16 bit.
D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601
* Colorspace: YCbCr
* Rentang: 0-255
* Gamma: 2.2
* Biaya: Video
* Utama: BT.601

Ini terkadang digunakan untuk pengambilan kamera H.264 .

Ini biasanya digunakan dengan saluran warna 8, 10, 12, atau 16 bit.
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709
* Colorspace: YCbCr
* Rentang: 16-235
* Gamma: 2.2
* Biaya: Video
* Utama: BT.709

Definisi ini umumnya digunakan untuk H.264 dan HEVC.

Ini biasanya digunakan dengan saluran warna 8, 10, 12, atau 16 bit.
D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709
* Colorspace: YCbCr
* Rentang: 0-255
* Gamma: 2.2
* Biaya: Video
* Utama: BT.709

Ini terkadang digunakan untuk pengambilan kamera H.264 .

Ini biasanya digunakan dengan saluran warna 8, 10, 12, atau 16 bit.
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020
* Colorspace: YCbCr
* Rentang: 16-235
* Gamma: 2.2
* Biaya: Video
* Utama: BT.2020

Definisi ini dapat digunakan oleh HEVC.

Ini biasanya digunakan dengan saluran warna 10, 12, atau 16 bit.
D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020
* Colorspace: YCbCr
* Rentang: 0-255
* Gamma: 2.2
* Biaya: Video
* Utama: BT.2020

Ini biasanya digunakan dengan saluran warna 10, 12, atau 16 bit.
D3DDDI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020
* Colorspace: RGB
* Rentang: 0-255
* Gamma: 2084
* Biaya: Tengah
* Utama: BT.2020
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020
* Colorspace: YCbCr
* Rentang: 16-235
* Gamma: 2084
* Biaya: Kiri
* Utama: BT.2020
D3DDDI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020
* Colorspace: RGB
* Rentang: 16-235
* Gamma: 2084
* Biaya: Pusat
* Utama: BT.2020
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020
* Colorspace: YCbCr
* Rentang: 16-235
* Gamma: 2.2
* Biaya: Kiri atas
* Utama: BT.2020
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020
* Colorspace: YCbCr
* Rentang: 16-235
* Gamma: 2084
* Biaya: Kiri atas
* Utama: BT.2020
D3DDDI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020
* Colorspace: RGB
* Rentang: 0-255
* Gamma: 2.2
* Biaya: Tidak ada
* Utama: BT.2020
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020
* Colorspace: YCbCr
* Rentang: 16-235
* Gamma: HLG
* Biaya: Kiri atas
* Utama: BT.2020

Ruang warna ini dapat digunakan sebagai input ke DDI prosesor video, tetapi tidak akan pernah digunakan untuk memindai.
D3DDDI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020
* Colorspace: YCbCr
* Rentang: 0-255
* Gamma: HLG
* Biaya: Kiri atas
* Utama: BT.2020

Ruang warna ini dapat digunakan sebagai input ke DDI prosesor video, tetapi tidak akan pernah digunakan untuk memindai.
D3DDDI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P709
* Colorspace: RGB
* Rentang: 0-255
* Gamma: HLG
* Biaya: Tidak ada
* Utama: BT.709
D3DDDI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P2020
* Colorspace: RGB
* Rentang: 16-235
* Gamma: 2.4
* Biaya: Tidak ada
* Utama: BT.709
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P709
* Colorspace: YCbCr
* Rentang: 16-235
* Gamma: 2.4
* Biaya: Kiri
* Utama: BT.709
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P2020
* Colorspace: YCbCr
* Rentang: 16-235
* Gamma: 2.4
* Biaya: Kiri
* Utama: BT.2020
D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_TOPLEFT_P2020
* Colorspace: YCbCr
* Rentang: 16-235
* Gamma: 2.4
* Biaya: Kiri atas
* Utama: BT.2020
D3DDDI_COLOR_SPACE_CUSTOM
Definisi warna kustom digunakan.

Keterangan

Subsampling dan tata letak saluran warna disimpulkan dari format permukaan.

Persyaratan

Persyaratan Nilai
Klien minimum yang didukung Windows 10
Server minimum yang didukung Server Windows 2016
Header d3dukmdt.h (termasuk D3dumddi.h, D3dkmddi.h)