PFND3DWDDM2_0DDI_VIDEOPROCESSORSETSTREAMCOLORSPACE1 callback function (d3d10umddi.h)

Sets the color space information for the video processor input stream. This function must be implemented by Windows Display Driver Model (WDDM) 2.0, or later, drivers.

Syntax

PFND3DWDDM2_0DDI_VIDEOPROCESSORSETSTREAMCOLORSPACE1 Pfnd3dwddm20DdiVideoprocessorsetstreamcolorspace1;

void Pfnd3dwddm20DdiVideoprocessorsetstreamcolorspace1(
  D3D10DDI_HDEVICE hDevice,
  D3D11_1DDI_HVIDEOPROCESSOR hVideoProcessor,
  UINT StreamIndex,
  D3DDDI_COLOR_SPACE_TYPE ColorSpace
)
{...}

Parameters

hDevice

A handle to the display device (graphics context). The Direct3D runtime passed the user-mode driver this handle as the hDevice member of the D3DDDIARG_CREATEDEVICE structure at device creation.

hVideoProcessor

A handle to the video processor object.

StreamIndex

Indicates the input stream.

ColorSpace

Contains a D3DDDI_COLOR_SPACE_TYPE enumeration value identifying the color space.

Return value

None

Remarks

The legacy VideoProcessorSetStreamColorSpacedevice driver interface (DDI) will not be called for WDDM 2.0 drivers.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See also

D3DDDIARG_CREATEDEVICE