PFND3D11_1DDI_GETVIDEOPROCESSORCUSTOMRATE callback function (d3d10umddi.h)

Queries a custom frame rate that is associated with a rate conversion capability group.

Syntax

PFND3D11_1DDI_GETVIDEOPROCESSORCUSTOMRATE Pfnd3d111DdiGetvideoprocessorcustomrate;

void Pfnd3d111DdiGetvideoprocessorcustomrate(
  D3D10DDI_HDEVICE unnamedParam1,
  D3D11_1DDI_HVIDEOPROCESSORENUM unnamedParam2,
  UINT unnamedParam3,
  UINT unnamedParam4,
  D3D11_1DDI_VIDEO_PROCESSOR_CUSTOM_RATE *unnamedParam5
)
{...}

Parameters

unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

hProcessorEnum [in]

A handle to a video processor enumeration object that was created through a call to the CreateVideoProcessorEnum function.

unnamedParam3

CustomRateIndex [in]

The zero-based index of the custom rate to query. For more information, see the Remarks section.

unnamedParam4

RateConversionIndex [in]

The zero-based index of the frame-rate conversion capability group. For more information, see the Remarks section.

unnamedParam5

pRate [out]

A pointer to a D3D11_1DDI_VIDEO_PROCESSOR_CUSTOM_RATE structure that contains the attributes of the specified custom rate.

Return value

None

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

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See also

CreateVideoProcessorEnum

D3D11_1DDI_VIDEO_PROCESSOR_CAPS

GetVideoProcessorCaps

GetVideoProcessorRateConversionCaps