-
Notifications
You must be signed in to change notification settings - Fork 18
ref_iface_IVDXVideoPrefetcher_PrefetchFrame
VirtualDub Plugin SDK 1.2
IVDXVideoPrefetcher interface
Requests prefetch for a source frame.
void PrefetchFrame(sint32 srcIndex, sint64 frame, uint64 cookie);
| srcIndex | Source stream index to prefetch from. Must be zero. |
| frame | Frame number to prefetch. |
| cookie | Arbitrary 64-bit integer value to associate with the frame prefetch. |
This method is not thread-safe.
Errors may not be returned from this function (see SetError()).
This is the main method a video filter uses to tell the host which source frames are needed to produce an output frame. The host waits until all requested frames are available before invoking the runProc() function.
The cookie is an arbitrary value for use by the filter which is not
interpreted or modified by the host. It is returned through the
mCookie field of the VDXFBitmap structure.
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