Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DXVA2_Fixed32 structure

Defines a 32-bit fixed-point number.

Syntax


typedef struct _DXVA2_Fixed32 {
  union {
    struct {
      USHORT Fraction;
      SHORT  Value;
    };
    LONG   ll;
  };
} DXVA2_Fixed32;

Members

Fraction

Fractional part of the number.

Value

Integer part of the number.

ll

Accesses the entire 32 bits of the number. You can use this member to compare DXVA2_Fixed32 values.

Remarks

To convert between floating-point numbers and DXVA2_Fixed32 values, use the DXVA2FixedToFloat and DXVA2FloatToFixed functions.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Dxva2api.h

See also

Media Foundation Structures

 

 

Show:
© 2017 Microsoft