ID3D11VideoContext::VideoProcessorGetStreamColorSpace method

Gets the color space for an input stream of the video processor.

Syntax


void VideoProcessorGetStreamColorSpace(
  [in]  ID3D11VideoProcessor              *pVideoProcessor,
        UINT                              StreamIndex,
  [out] D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace
);

Parameters

pVideoProcessor [in]

A pointer to the ID3D11VideoProcessor interface. To get this pointer, call ID3D11VideoDevice::CreateVideoProcessor.

StreamIndex

The zero-based index of the input stream. To get the maximum number of streams, call ID3D11VideoProcessorEnumerator::GetVideoProcessorCaps and check the MaxStreamStates structure member.

pColorSpace [out]

Receives a D3D11_VIDEO_PROCESSOR_COLOR_SPACE value that specifies the color space.

Return value

This method does not return a value.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

D3d11.h

See also

ID3D11VideoContext

 

 

Show: