-
Notifications
You must be signed in to change notification settings - Fork 12
ref_iface_IVDXVideoDecoder_SetDecompressedFormat
VirtualDub Plugin SDK 1.2
IVDXVideoDecoder interface
Sets the desired image format for decoded frames using a custom Windows DIB format.
bool SetDecompressedFormat(const VDXBITMAPINFOHEADER *pbih);
pbih | Desired format for decoded frame. |
This method is not thread-safe.
Errors may not be returned from this function (see SetError()).
True if the format was successfully changed, or false if the format is not supported.
After SetDecompressedFormat() succeeds, the decoder state is reset as if Reset() were called.
This function is never called with any bitmap formats already covered by
the VDXPixmapFormat
enumeration. In particular, it is OK for a decoder
to always return false from SetDecompressedFormat() if no special
formats are supported for 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