-
Notifications
You must be signed in to change notification settings - Fork 12
ref_vfcallback_isMMXEnabled
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.
Setting up your development environment
Conventions
Plugin initialization
Dynamic loading
Reference counting
Using CPU extensions
Introduction
What's new
Breaking changes
Gotchas
Deprecated features
Migrating from the old Filter SDK
Programming model
Handling bitmaps
Creating a video filter
Setting filter parameters
Processing video frames
Managing filter data
Creating time-varying filters
Handling aspect ratio
Prefetching multiple source frames
Handling multiple sources
Making a filter configurable
Scripting support
CPU dependent optimization
VDXA index omitted
Getting started
Writing the module entry point
Creating a video filter
Adding configurability
Adding script support
Introduction
What's new
Autodetect
Direct mode
Video frames vs. samples
Video decodint model
Video decoder