-
Notifications
You must be signed in to change notification settings - Fork 19
ref_vfmethod_endProc
VirtualDub Plugin SDK 1.2
endProc video filter method
Cleans up filter instance resources when an operation ends.
int endProc(VDXFilterActivation *fa, const VDXFilterFunctions *ff);
| fa | Pointer to filter activation structure. |
| ff | Pointer to callback function structure. |
This method is not thread-safe.
This function must not throw exceptions (see Except()).
Zero if configuration is successful, non-zero on error or if the user canceled configuration.
If omitted, no default action is taken.
endProc is called for all filters, even if the filter initialization
process is aborted. This means that a filter may have its endProc
called but not startProc, so endProc should check if a resource has
been allocated and mark it as unallocated after it is freed:
if (mfd->resource) { free(mfd->resource); mfd->resource = NULL; }
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