ID3D11VideoContext::VideoProcessorGetStreamLumaKey method (d3d11.h)

Gets the luma key for an input stream of the video processor.

Syntax

void VideoProcessorGetStreamLumaKey(
  ID3D11VideoProcessor *pVideoProcessor,
  UINT                 StreamIndex,
  BOOL                 *pEnabled,
  FLOAT                *pLower,
  FLOAT                *pUpper
);

Parameters

pVideoProcessor

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.

pEnabled

Receives the value TRUE if luma keying is enabled, or FALSE otherwise.

pLower

Receives the lower bound for the luma key. The valid range is [0…1].

pUpper

Receives the upper bound for the luma key. The valid range is [0…1].

Return value

None

Requirements

   
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See also

ID3D11VideoContext