ID3D11VideoDevice::CreateVideoProcessor method
Creates a video processor device for Microsoft Direct3D 11.
Syntax
HRESULT CreateVideoProcessor( [in] ID3D11VideoProcessorEnumerator *pEnum, [in] UINT RateConversionIndex, [out] ID3D11VideoProcessor **ppVideoProcessor );
Parameters
- pEnum [in]
-
A pointer to the ID3D11VideoProcessorEnumerator interface. To get this pointer, call ID3D11VideoDevice::CreateVideoProcessorEnumerator.
- RateConversionIndex [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 [out]
-
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
|
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