-
Notifications
You must be signed in to change notification settings - Fork 12
ref_struct_VDXVideoFrameInfo
VirtualDub Plugin SDK 1.2
VDXVideoFrameInfo structure
Describes a video frame in a video stream.
struct VDXVideoFrameInfo {
char mTypeChar;
uint8 mFrameType;
sint64 mBytePosition;
};
mTypeChar
A readable character used to describe the video frame. For AVI-style
streams, the characters 'K' and ' ' should be used for key and delta
frames, respectively; for MPEG-style streams, 'I', 'P', and 'B' can be
used. This is only for user interface purposes, so it should not be
interpreted by hosts to detect the frame type.
mFrameType
A value indicating the frame's basic type, most notably its dependency
on other frames. This must be one of values in the VDXVideoFrameInfo
enumeration.
mBytePosition
The approximate starting byte position within the file. This can be used
by the host both for informative purposes — such as indicating to the
user the approximate byte position of corrupted data — or for
optimization purposes, such as seek optimization. A value of -1
indicates that no byte position is available. It is OK to return -1
as
the byte position all samples.
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