Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
VideoProcessorGetStreamLumaKey
Collapse the table of content
Expand the table of content

ID3D11VideoContext::VideoProcessorGetStreamLumaKey method

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

Syntax


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

Parameters

pVideoProcessor [in]

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

StreamIndex [in]

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 [out]

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

pLower [out]

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

pUpper [out]

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

Return value

This method does not return a value.

Remarks

Windows Phone 8: This API is supported.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

D3d11.h

See also

ID3D11VideoContext

 

 

Community Additions

ADD
Show:
© 2015 Microsoft