-
Notifications
You must be signed in to change notification settings - Fork 18
ref_iface_IVDXStreamSource_GetDirectFormat
VirtualDub Plugin SDK 1.2
IVDXStreamSource interface
Obtains the direct format for the stream, if present.
const void *GetDirectFormat();
This method is not thread-safe.
Errors may not be returned from this function (see SetError()).
A pointer to the direct format structure, or NULL if direct stream copy is not supported. The direct format is a VDXBITMAPINFOHEADER for a video stream and VDXWAVEFORMATEX for an audio stream.
If an implementation wishes to support the direct stream copy feature, it must return a non-null direct format. This is the format that is used for the output stream. The pointer must remain valid for the life of the stream source. Currently, a direct format must always be exposed for an audio stream.
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