ID3D11VideoContext::VideoProcessorGetOutputConstriction method (d3d11.h)

Gets the current level of downsampling that is performed by the video processor.

Syntax

void VideoProcessorGetOutputConstriction(
  [in]  ID3D11VideoProcessor *pVideoProcessor,
  [out] BOOL                 *pEnabled,
  [out] SIZE                 *pSize
);

Parameters

[in] pVideoProcessor

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

[out] pEnabled

Receives the value TRUE if downsampling was explicitly enabled using the ID3D11VideoContext::VideoProcessorSetOutputConstriction method. Receives the value FALSE if the downsampling was disabled or was never set.

[out] pSize

If Enabled receives the value TRUE, this parameter receives the downsampling size. Otherwise, this parameter is ignored.

Return value

None

Requirements

Requirement Value
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