-
Notifications
You must be signed in to change notification settings - Fork 18
ref_iface_IVDXVideoSource_CreateVideoDecoder
VirtualDub Plugin SDK 1.2
IVDXVideoSource interface
Creates a new video decoder object for this video source.
bool CreateVideoDecoder(IVDXVideoDecoder **ppDecoder);
| ppDecoderModel | Pointer to location to receive new decoder object pointer. |
This method is not thread-safe.
Errors may not be returned from this function (see SetError()).
True if creation was successful, false for failure.
It is possible for multiple video decoders to be created from the same video source; implementations must not return the same decoder object when the host requests two simultaneous decoders.
The decoder should have one outstanding reference on it; the host will call IVDXUnknown::Release() when it is finished with the object.
V3+ only: Returning false from this method is no longer always a
fatal error. The host may elect to use the format returned by
GetDirectFormat to supply a default decoder.
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