Bewerken

Delen via


DXVADDI_SAMPLEFORMAT enumeration (d3dumddi.h)

The DXVADDI_SAMPLEFORMAT enumeration type contains values that identify how a video frame is sampled.

Syntax

typedef enum _DXVADDI_SAMPLEFORMAT {
  DXVADDI_SampleFormatMask,
  DXVADDI_SampleUnknown,
  DXVADDI_SampleProgressiveFrame,
  DXVADDI_SampleFieldInterleavedEvenFirst,
  DXVADDI_SampleFieldInterleavedOddFirst,
  DXVADDI_SampleFieldSingleEven,
  DXVADDI_SampleFieldSingleOdd,
  DXVADDI_SampleSubStream
} DXVADDI_SAMPLEFORMAT;

Constants

 
DXVADDI_SampleFormatMask
The sample format mask. The first 8 (0xFF) bits of a DWORD can be used to specify input sample format.
DXVADDI_SampleUnknown
The sample format is unknown.
DXVADDI_SampleProgressiveFrame
The sample contains a progressive frame.
DXVADDI_SampleFieldInterleavedEvenFirst
The sample contains two interleaved fields; the even field is temporally first.
DXVADDI_SampleFieldInterleavedOddFirst
The sample contains two interleaved fields; the odd field is temporally first.
DXVADDI_SampleFieldSingleEven
The sample contains an even interleaved field.
DXVADDI_SampleFieldSingleOdd
The sample contains an odd interleaved field.
DXVADDI_SampleSubStream
The sample contains a video substream.

Remarks

One of the values of DXVADDI_SAMPLEFORMAT can be specified in the SampleFormat member of the DXVADDI_EXTENDEDFORMAT structure.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See also

DXVADDI_EXTENDEDFORMAT