enumeración D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT (d3d11_4.h)

Especifica índices para matrices de información de histograma por componente.

Syntax

typedef enum D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT {
  D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_Y = 0,
  D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_U = 1,
  D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_V = 2,
  D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_R = 0,
  D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_G = 1,
  D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_B = 2,
  D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_A = 3
} ;

Constantes

 
D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_Y
Valor: 0
Si el formato es un formato YUV, indica un histograma para el componente Y.
D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_U
Valor: 1
Si el formato es un formato YUV, indica un histograma para el componente U.
D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_V
Valor: 2
Si el formato es un formato YUV, indica un histograma para el componente V.
D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_R
Valor: 0
Si el formato es un formato RGB/BGR, indica un histograma para el componente de R.
D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_G
Valor: 1
Si el formato es un formato RGB/BGR, indica un histograma para el componente G.
D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_B
Valor: 2
Si el formato es un formato RGB/BGR, indica un histograma para el componente B.
D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_A
Valor: 3
Si el formato tiene un canal alfa, indica un histograma para el componente A.

Comentarios

El D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS es la enumeración de marcas que usa D3D11_FEATURE_DATA_VIDEO_DECODER_HISTOGRAM para permitir especificar uno o varios componentes para los que se consultan los datos del histograma.

Requisitos

Requisito Value
Cliente mínimo compatible compilación 20348 de Windows 10
Servidor mínimo compatible compilación 20348 de Windows 10
Encabezado d3d11_4.h