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: