Creates a video processor device for Microsoft Direct3D 11.
public:
HRESULT CreateVideoProcessor(
ID3D11VideoProcessorEnumerator *pEnum,
UINT RateConversionIndex,
ID3D11VideoProcessor **ppVideoProcessor
)
pEnum
Type: ID3D11VideoProcessorEnumerator *
[in] A pointer to the ID3D11VideoProcessorEnumerator interface. To get this pointer, call ID3D11VideoDevice::CreateVideoProcessorEnumerator.
RateConversionIndex
Type: UINT
[in] 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.
ppVideoProcessor
Type: ID3D11VideoProcessor **
[out] Receives a pointer to the ID3D11VideoProcessor interface. The caller must release the interface.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
See Direct3D 11 return codes for possible return values.
The ID3D11DeviceContext::ClearState method does not affect the internal state of the video processor.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).