DXVAHD_STREAM_STATE_OUTPUT_RATE_DATA structure (dxvahd.h)

Specifies the output frame rate for an input stream when using Microsoft DirectX Video Acceleration High Definition (DXVA-HD).

Syntax

typedef struct _DXVAHD_STREAM_STATE_OUTPUT_RATE_DATA {
  BOOL               RepeatFrame;
  DXVAHD_OUTPUT_RATE OutputRate;
  DXVAHD_RATIONAL    CustomRate;
} DXVAHD_STREAM_STATE_OUTPUT_RATE_DATA;

Members

RepeatFrame

Specifies how the device performs frame-rate conversion, if required. The default state value is FALSE (interpolation).

Value Meaning
TRUE
The device repeats frames.
FALSE
The device interpolates frames.

OutputRate

Specifies the output rate, as a member of the DXVAHD_OUTPUT_RATE enumeration.

CustomRate

Specifies a custom output rate, as a DXVAHD_RATIONAL structure. This member is ignored unless OutputRate equals DXVAHD_OUTPUT_RATE_CUSTOM. The default state value is 1/1.

To get the list of custom rates supported by the video processor, call IDXVAHD_Device::GetVideoProcessorCustomRates. If a custom rate is used, it must be taken from this list.

Remarks

The output rate might require the device to convert the frame rate of the input stream. If so, the value of RepeatFrame controls whether the device creates interpolated frames or simply repeats input frames.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header dxvahd.h

See also

DXVA-HD

DXVAHD_STREAM_STATE

Direct3D Video Structures

IDXVAHD_VideoProcessor::SetVideoProcessStreamState

Media Foundation Structures