GetVideoProcessorCustomRate function
Queries a custom frame rate that is associated with a rate conversion capability group.
Syntax
VOID APIENTRY* GetVideoProcessorCustomRate( _In_ D3D10DDI_HDEVICE hDevice, _In_ D3D11_1DDI_HVIDEOPROCESSORENUM hProcessorEnum, _In_ UINT RateConversionIndex, _In_ UINT CustomRateIndex, _Out_ D3D11_1DDI_VIDEO_PROCESSOR_CUSTOM_RATE *pRate );
Parameters
- hDevice [in]
-
A handle to the display device (graphics context).
- hProcessorEnum [in]
-
A handle to a video processor enumeration object that was created through a call to the CreateVideoProcessorEnum function.
- RateConversionIndex [in]
-
The zero-based index of the frame-rate conversion capability group. For more information, see the Remarks section.
- CustomRateIndex [in]
-
The zero-based index of the custom rate to query. For more information, see the Remarks section.
- pRate [out]
-
A pointer to a D3D11_1DDI_VIDEO_PROCESSOR_CUSTOM_RATE structure that contains the attributes of the specified custom rate.
Return value
This function does not return a value.
Remarks
The display miniport driver returns the maximum number of frame-rate conversion capabilities that it supports through the RateConversionCapsCount member of the D3D11_1DDI_VIDEO_PROCESSOR_CAPS structure. The driver returns a pointer to this structure through its GetVideoProcessorCaps function. In addition, the attributes of a frame-rate conversion capability group can be queried by calling the GetVideoProcessorCaps function.
The display miniport driver returns the maximum number of custom rates that it supports through the CustomRateCount member of the D3D11_1DDI_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS structure. The driver returns a pointer to this structure through its GetVideoProcessorCaps function. In addition, the attributes of a frame-rate conversion capability group can be queried by calling the GetVideoProcessorRateConversionCaps function.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Header |
|
See also
- CreateVideoProcessorEnum
- D3D11_1DDI_VIDEO_PROCESSOR_CAPS
- GetVideoProcessorCaps
- GetVideoProcessorRateConversionCaps
Send comments about this topic to Microsoft
Build date: 11/29/2012
