-
Notifications
You must be signed in to change notification settings - Fork 12
ref_iface_IVDXFilterPreview_Toggle
VirtualDub Plugin SDK 1.2
IVDXFilterPreview interface
Toggles the display of the preview window.
void Toggle(VDXHWND hwnd);
hwnd | Owner window to use for placement of the preview window. |
This method is not thread-safe.
Errors may not be returned from this function (see SetError()).
If the preview window is displayed it is closed. If it is closed and preview is enabled, the preview window is opened and positioned next to the owning window.
Toggle() may be called even if preview is not enabled. In that case, the call is ignored.
The window handle for the filter's configuration dialog should be passed as the owning window. This allows the filter preview window to stay on top and to position itself appropriately.
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