-
Notifications
You must be signed in to change notification settings - Fork 12
ref_iface_IVDXFilterPreview_InitButton
VirtualDub Plugin SDK 1.2
IVDXFilterPreview interface
Specifies a button to automatically be updated when the filter preview window is opened or closed.
void InitButton(VDXHWND hwndButton);
hwndButton | Button to update when the filter preview window state changes. |
This method is not thread-safe.
Errors may not be returned from this function (see SetError()).
InitButton() reduces the work a filter has to do to support filter preview by having the host automatically change the button label between Hide/Show Preview and to disable it if filter previewing is not enabled.
In cases where the automatic update performed by InitButton() is not suitable, a button callback can be used instead.
VirtualDub specific: Starting with 1.7.0, any keyboard accelerator on the button is preserved if possible.
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