DXVA_COPPStatusDisplayData Structure

 
Microsoft DirectShow 9.0

DXVA_COPPStatusDisplayData Structure

Contains the result of a Display Data query in Certified Output Protection Protocol (COPP).

Syntax

  typedef struct _DXVA_COPPStatusDisplayData {
  GUID    rApp;
  ULONG   dwFlags;
  ULONG   DisplayWidth;
  ULONG   DisplayHeight;
  ULONG   Format;
  ULONG   d3dFormat;
  ULONG   FreqNumerator;
  ULONG   FreqDenominator;
} DXVA_COPPStatusDisplayData;

Members

rApp

A 128-bit random number that was passed by the application in the AMCOPPStatusInput structure.

dwFlags

Status flag. See COPP_StatusFlags.

DisplayWidth

Width of the display mode, in pixels.

DisplayHeight

Height of the display mode, in pixels.

Format

Contains a DXVA_ExtendedFormat structure packed into a ULONG, describing the video format.

d3dFormat

Contains a D3DFORMAT value that describes the video format. For more information, see the Direct3D SDK documentation.

FreqNumerator

The numerator of the refresh rate of the current display mode.

FreqDenominator

The denominator of the refresh rate of the current display mode.

Remarks

The refresh rate is expressed as a fraction. For example, if the refresh rate is 72 Hz, FreqNumerator = 72 and FreqDenominator = 1. For NTSC television, the values are FreqNumerator = 60000 and FreqDenominator = 1001 (59.94 fields per second).

See Also