DXVA2_Fixed32 结构 (dxva2api.h)
定义 32 位定点数。
语法
typedef struct _DXVA2_Fixed32 {
union {
struct {
USHORT Fraction;
SHORT Value;
};
LONG ll;
};
} DXVA2_Fixed32;
成员
Fraction
数字的小数部分。
Value
数字的整数部分。
ll
访问数字的整个 32 位。 可以使用此成员比较 DXVA2_Fixed32 值。
备注
若要在浮点数和 DXVA2_Fixed32 值之间转换,请使用 DXVA2FixedToFloat 和 DXVA2FloatToFixed 函数。
要求
最低受支持的客户端 | Windows Vista [仅限桌面应用] |
最低受支持的服务器 | Windows Server 2008 [仅限桌面应用] |
标头 | dxva2api.h |
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈