DXVA2FloatToFixed function (dxva2api.h)

Converts a floating-point number to a DXVA2_Fixed32 value.

Syntax

DXVA2_Fixed32 DXVA2FloatToFixed(
  [in] const float _float_
);

Parameters

[in] _float_

Floating-point number to convert to a fixed-point value.

Return value

The function returns a DXVA2_Fixed32 structure that contains the converted fixed-point value.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header dxva2api.h

See also

Media Foundation Functions