ref_vfcallback_isFPUEnabled - shekh/VirtualDub2 GitHub Wiki

VirtualDub Plugin SDK 1.2

isFPUEnabled video filter callback

isFPUEnabled

Queries whether optimizations using the floating-point unit (FPU) are enabled.

bool __cdecl isFPUEnabled();

Thread safety

This method is not thread-safe.

Exceptions

This function must not throw exceptions (see Except()).

Return value

True if FPU optimizations should be enabled, false otherwise.

Remarks

This is equivalent to getCPUFlags() & CPUF_SUPPORTS_FPU.

Filters are free to ignore this function and use floating-point operations regardless; Windows will emulate them if an FPU is not present. This function simply provides a way for the filter to share the CPU detection and override logic in the host.


Copyright (C) 2007-2012 Avery Lee.

⚠️ **GitHub.com Fallback** ⚠️