-
Notifications
You must be signed in to change notification settings - Fork 14
ref_vfmethod_copyProc2
VirtualDub Plugin SDK 1.2
copyProc2 video filter method
Creates a clone of the filter instance.
void copyProc2(VDXFilterActivation *fa, const VDXFilterFunctions *ff, void *dst, VDXFilterActivation *fa2, const VDXFilterFunctions *ff2);
fa | Pointer to filter activation structure for current instance. |
ff | Pointer to callback function structure for current instance. |
dst | Memory location for new instance data. |
fa2 | Pointer to filter activation structure for new instance. |
ff2 | Pointer to callback function structure for new instance. |
This method is not thread-safe.
Exceptions may be thrown from this function (see Except()).
Requires V14 or later.
If omitted, copyProc is used if available, or else a byte-by-byte memcpy() is done on the instance data.
copyProc2
is similar to copyProc
, but
it includes the activation and function array pointers for the new
instance. This fixes an annoyance with the copyProc
function where the
new activation structure is unknown, so it must be set on all calls that
can come next. This is not necessary if copyProc2
is used.
Note that copyProc2
is only available on API V14, so if your filter
works on an earlier version, you must still deal with copyProc
and its
restrictions.
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