-
Notifications
You must be signed in to change notification settings - Fork 12
ref_iface_IVDXVideoDecoderModel_SetDesiredFrame
VirtualDub Plugin SDK 1.2
IVDXVideoDecoderModel interface
Selects the frame to decode. GetNextRequiredSample() is then called repeatedly to determine the required dependencies for this frame.
void SetDesiredFrame(sint64 sample_num);
sample_num | The sample number of the desired frame. |
This method is not thread-safe.
Errors may not be returned from this function (see SetError()).
While this function selects a frame for decoding, it takes a sample number. This is usually easier to handle in the decoder model, as the decoder model typically needs to look up dependencies by decode order. Since the sample number usually matches decoding order, this saves a conversion from frame order to sample order.
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