-
Notifications
You must be signed in to change notification settings - Fork 12
ref_vfmethod_prefetchProc2
VirtualDub Plugin SDK 1.2
prefetchProc2 video filter method
Lists the input frames required to produce a given output frame.
bool prefetchProc2(const VDXFilterActivation *fa, const VDXFilterFunctions *ff, sint64 frame, IVDXVideoPrefetcher *prefetcher);
fa | Pointer to filter activation structure. |
ff | Pointer to callback function structure. |
frame | Output frame for which to determine inputs. |
This method is not thread-safe.
This function must not throw exceptions (see Except()).
True if handled, false otherwise.
Requires V14 or later.
If omitted or not handled, the source frame is automatically chosen based on the output frame timestamp. This makes the frame numbers equal if the filter does not change the video frame rate.
prefetchProc2
is similar to
prefetchProc
, but with expanded
capabilities via the prefetcher
argument. These include:
- Prefetching more than one source frame.
- Associating an arbitrary 64-bit value (a cookie) with each source prefetch.
- Specifying a direct association between a source frame and the filter's output, allowing the filter to be bypassed entirely for that frame.
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