-
Notifications
You must be signed in to change notification settings - Fork 18
ref_iface_IVDXVideoSource_GetRealFrame
VirtualDub Plugin SDK 1.2
IVDXVideoSource interface
Returns the actual frame being decoded for a given frame in the source.
sint64 GetRealFrame(sint64 frame_num);
| frame_num | Number of frame being queried. |
This method is not thread-safe.
Errors may not be returned from this function (see SetError()).
The frame number of the actual frame that is decoded.
This routine is used to determine when multiple frame entries in the video source are being supported by a single actual frame, such as due to covering a dropout or due to frame duplication. It is used in Direct Stream Copy mode to determine when a frame can be omitted. GetRealFrame(frame_num) != frame_num implies that a particular frame is supported by a dummy sample which can be omitted during copying. For instance, if GetRealFrame() returns 2 for frames 2-5, the underlying samples for frames 3-5 can be replaced with null frames or deleted without disturbing decoding.
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