-
Notifications
You must be signed in to change notification settings - Fork 19
ref_iface_IVDXVideoPrefetcher_PrefetchFrameSymbolic
VirtualDub Plugin SDK 1.2
IVDXVideoPrefetcher interface
Identifies the symbolic source frame associated with an output frame.
void PrefetchFrameSymbolic(sint32 srcIndex, sint64 frame);
| srcIndex | Index of source stream containing symbolic frame. Must be zero. |
| frame | Frame number of symbolic frame. |
This method is not thread-safe.
Errors may not be returned from this function (see SetError()).
The symbolic frame is the source frame most associated with the output frame. For instance, for a noise reduction filter that looks at previous and next frames (three frame window), the symbolic frame is the center frame. This allows for reasonable behavior whenever the filter must be bypassed, such as when side-by-side source/output windows are displayed.
If the symbolic frame is not explicitly provided, the host assumes that it is the average of the frame numbers of all prefetched frames. This is the same as the prefetched frame when only one source frame is requested and provides reasonable behavior for all filters that request a centered source window of frames. For filters that don't fit these criteria, such as those which sometimes omit unnecessary frames or otherwise have lopsided source windows, explicit symbolic fetching is needed.
VirtualDub specific: The symbolic frame is used as the direct prefetch frame whenever filters are forcibly bypassed by setting the video mode to Direct Stream Copy.
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