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.
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 |
|
See also