ref_vfcallback_isMMXEnabled - shekh/VirtualDub2 GitHub Wiki
VirtualDub Plugin SDK 1.2
isMMXEnabled video filter callback
Queries whether optimizations using the CPU's MMX unit are enabled.
bool __cdecl isMMXEnabled();
This method is not thread-safe.
This function must not throw exceptions (see Except()).
True if MMX optimizations should be enabled, false otherwise.
This is equivalent to getCPUFlags() & CPUF_SUPPORTS_MMX
.
Filters are free to ignore this function and use their own detection logic for whether MMX is present; this function simply allows the CPU detection and override logic in the host to be reused. A filter should still check for MMX support for executing such instructions, however, because otherwise the result will be a crash.
Copyright (C) 2007-2012 Avery Lee.