DXVA_SampleFormat enumeration

The DXVA_SampleFormat enumeration type describes the format of data that the input sample contains.

Syntax


typedef enum _DXVA_SampleFormat { 
  DXVA_SampleFormatMask                 = 0xFF,
  DXVA_SampleUnknown                    = 0,
  DXVA_SamplePreviousFrame              = 1,
  DXVA_SampleProgressiveFrame           = 2,
  DXVA_SampleFieldInterleavedEvenFirst  = 3,
  DXVA_SampleFieldInterleavedOddFirst   = 4,
  DXVA_SampleFieldSingleEven            = 5,
  DXVA_SampleFieldSingleOdd             = 6,
  DXVA_SampleSubStream                  = 7
} DXVA_SampleFormat;

Constants

DXVA_SampleFormatMask

Specifies the sample format mask. The first 8 (0x000000FF) bits of a DWORD can be used to specify input sample format.

DXVA_SampleUnknown

Specifies that the sample format is unknown.

DXVA_SamplePreviousFrame

Specifies that the sample contains the previous output frame.

DXVA_SampleProgressiveFrame

Specifies that the sample contains a progressive frame.

DXVA_SampleFieldInterleavedEvenFirst

Specifies that the sample contains two interleaved fields; the even field is temporally first.

DXVA_SampleFieldInterleavedOddFirst

Specifies that the sample contains two interleaved fields; the odd field is temporally first.

DXVA_SampleFieldSingleEven

Specifies that the sample contains an even interleaved field.

DXVA_SampleFieldSingleOdd

Specifies that the sample contains an odd interleaved field.

DXVA_SampleSubStream

Windows Server 2003 SP1 and later and Windows XP SP2 and later versions only.

Specifies that the sample contains a video substream.

Requirements

Header

Dxva.h (include Dxva.h)

See also

DXVA_ExtendedFormat
DXVA_VideoSample
DXVA_VideoSample2

 

 

Send comments about this topic to Microsoft

Show: