Expand Minimize

DXVADDI_EXTENDEDFORMAT structure

The DXVADDI_EXTENDEDFORMAT structure describes the extended format of the video frame.

Syntax


typedef struct _DXVADDI_EXTENDEDFORMAT {
  union {
    struct {
      UINT SampleFormat  :8;
      UINT VideoChromaSubsampling  :4;
      UINT NominalRange  :3;
      UINT VideoTransferMatrix  :3;
      UINT VideoLighting  :4;
      UINT VideoPrimaries  :5;
      UINT VideoTransferFunction  :5;
    };
    UINT   Value;
  };
} DXVADDI_EXTENDEDFORMAT;

Members

SampleFormat

[in] A UINT value that specifies how a video frame is sampled. The eight bits are defined by one of the values in the DXVADDI_SAMPLEFORMAT enumeration type.

VideoChromaSubsampling

[in] The chroma encoding scheme for Y'Cb'Cr' data. The four bits are defined by a bitwise OR of the values in the DXVADDI_VIDEOCHROMASUBSAMPLING enumeration type.

NominalRange

[in] A UINT value that specifies whether sample data includes headroom (that is, values beyond 1.0 white) and toeroom (that is, superblacks below the reference 0.0 black). The three bits are defined by one of the values in the DXVADDI_NOMINALRANGE enumeration type.

VideoTransferMatrix

[in] The conversion matrix from Y'Cb'Cr' to (studio) R'G'B'. The three bits are defined by one of the values in the DXVADDI_VIDEOTRANSFERMATRIX enumeration type.

VideoLighting

[in] Lighting conditions for viewing video. The four bits are defined by one of the values in the DXVADDI_VIDEOLIGHTING enumeration type.

VideoPrimaries

[in] Color primaries, which state which RGB basis functions are used. The five bits are defined by one of the values in the DXVADDI_VIDEOPRIMARIES enumeration type.

VideoTransferFunction

[in] The conversion function from R'G'B' to RGB. The five bits are defined by the DXVADDI_VIDEOTRANSFERFUNCTION enumeration type.

Value

A 32-bit value that describes the extended format of the video frame.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

DXVADDI_VIDEODESC

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft