No description available.
The DXVA_COPPStatusDisplayData structure describes the display mode of the signal that is transmitted over the connector associated with a DirectX VA COPP device.
rAppSpecifies a 128-bit random number, used once. This random number is generated by the requesting application and supplied to the display driver in the rApp member of the DXVA_COPPStatusInput structure.
dwFlagsSpecifies additional status information that might be relevant to the calling application. The display driver should set dwFlags to the COPP_StatusNormal (0x00) value from the COPP_StatusFlags enumeration type or to a valid ORed combination of the following COPP_StatusFlags:
DisplayWidthSpecifies the current display width in pixels.
DisplayHeightSpecifies the current display height in pixels.
FormatSpecifies how data is formatted on the display as defined by a DXVA_ExtendedFormat structure.
d3dFormatSpecifies the Direct3D surface format of the display. This is a value from the D3DFORMAT enumeration type. For more information, see the latest DirectX SDK documentation.
FreqNumeratorSpecifies the numerator for the refresh rate of the current display mode.
FreqDenominatorSpecifies the denominator for the refresh rate of the current display mode.
The display driver returns display status through the pOutput parameter of COPPQueryStatus. The DXVA_COPPStatusOutput structure describes the returned status information. The display driver should cast the display status to a pointer to a DXVA_COPPStatusDisplayData structure and return the status information in the COPPStatus member of DXVA_COPPStatusOutput.
Because the DXVA_COPPQueryDisplayData request returns display information for the connector associated with the COPP device, this display information is not necessarily the same as the Windows desktop display mode. For example, if the connector associated with the COPP device is S-Video and the Windows desktop is set to 1024 x 768 at 85 Hz, then the DXVA_COPPQueryDisplayData request should return the resolution of the S-Video signal (720 x 480 at 60/1.01 Hz interlaced) and not the desktop resolution.
The refresh rate of the current display mode is expressed as a numerator/denominator pair. For example, 72 Hz is expressed by setting FreqNumerator to 72 and FreqDenominator to 1, and NTSC TV modes are expressed by setting FreqNumerator to 60,000 and FreqDenominator to 1,001.
DXVA_COPPSetProtectionLevelCmdData