ID3D11VideoDevice::CreateVideoProcessor method (d3d11.h)

Creates a video processor device for Microsoft Direct3D 11.

Syntax

HRESULT CreateVideoProcessor(
  [in]  ID3D11VideoProcessorEnumerator *pEnum,
  [in]  UINT                           RateConversionIndex,
  [out] ID3D11VideoProcessor           **ppVideoProcessor
);

Parameters

[in] pEnum

A pointer to the ID3D11VideoProcessorEnumerator interface. To get this pointer, call ID3D11VideoDevice::CreateVideoProcessorEnumerator.

[in] RateConversionIndex

Specifies the frame-rate conversion capabilities for the video processor. The value is a zero-based index that corresponds to the TypeIndex parameter of the ID3D11VideoProcessorEnumerator::GetVideoProcessorRateConversionCaps method.

[out] ppVideoProcessor

Receives a pointer to the ID3D11VideoProcessor interface. The caller must release the interface.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The ID3D11DeviceContext::ClearState method does not affect the internal state of the video processor.

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

ID3D11VideoDevice