-
Notifications
You must be signed in to change notification settings - Fork 18
ref_vfmethod_eventProc
VirtualDub Plugin SDK 1.2
eventProc video filter method
Invoked to notify the filter of out of band events during rendering.
bool eventProc(const VDXFilterActivation *fa, const VDXFilterFunctions *ff, uint32 event, void *eventData);
| fa | Pointer to filter activation structure. |
| ff | Pointer to callback function structure. |
| event | ID of event. |
| eventData | Optional data structure for event. The presence and type of this data is different for each event type. |
This method is not thread-safe.
This function must not throw exceptions (see Except()).
True if the event was recognized and handled, or false otherwise. A host may elect not to send further events of a type if a filter indicates that it does not handle that event type.
Requires V14 or later.
If omitted, no default action is taken.
Event IDs use kVDXVFEvent_ as their symbol prefix. The events that can
be delivered are as follows:
InvalidateCaches
A change has occurred in an upstream filter that requires caches to be flushed on downstream filters. This generally occurs when upstream filter parameters are tweaked through the UI. Invalidation events are used because they are faster than reinitializing the filter chain.
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