PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMOUTPUTRATE callback function

Sets the rate at which the video processor produces output frames for an input stream.

Syntax

PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMOUTPUTRATE Pfnd3d111DdiVideoprocessorsetstreamoutputrate;

void Pfnd3d111DdiVideoprocessorsetstreamoutputrate(
  D3D10DDI_HDEVICE Arg1,
  D3D11_1DDI_HVIDEOPROCESSOR Arg2,
  UINT Arg3,
  D3D11_1DDI_VIDEO_PROCESSOR_OUTPUT_RATE Arg4,
  BOOL Arg5,
  CONST DXGI_RATIONAL *
)
{...}

Parameters

Arg1

Arg2

Arg3

Arg4

Arg5

*

Return Value

This callback function does not return a value.

Remarks

The standard output rates that are defined by D3D11_1DDI_VIDEO_PROCESSOR_OUTPUT_RATE enumeration values are normal frame-rate (D3D11_1DDI_VIDEO_PROCESSOR_OUTPUT_RATE_NORMAL) and half frame-rate (D3D11_1DDI_VIDEO_PROCESSOR_OUTPUT_RATE_HALF).

If the driver supports custom rates for rate conversion or inverse telecine, it can use a custom rate if the OutputRate parameter is set to D3D11_1DDI_VIDEO_PROCESSOR_OUTPUT_RATE_CUSTOM. The custom rate is specified by the pCustomRate parameter.

Note The driver reports its custom rates in the D3D11_1DDI_VIDEO_PROCESSOR_CAPS structure that is returned through the GetVideoProcessorCustomRate function.

Depending on the output rate, the driver might have to convert the frame rate. If so, the value of the RepeatFrame parameter controls whether the driver creates interpolated frames or repeats input frames.

Requirements

   
Windows version Windows 8 Windows Server 2012
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See Also

CreateVideoProcessor

D3D11_1DDI_VIDEO_PROCESSOR_CAPS

D3D11_1DDI_VIDEO_PROCESSOR_OUTPUT_RATE

GetVideoProcessorCustomRate