-
Notifications
You must be signed in to change notification settings - Fork 18
ref_iface_IVDXAContext_SetTextureMatrixDual
VirtualDub Plugin SDK 1.2
IVDXAContext interface
Sets a 4x3 matrix to use for generating two pairs of texture sampling coordinates.
void SetTextureMatrixDual(uint32 coordIndex, uint32 textureHandle, float xoffset1, float yoffset1, float xoffset2, float yoffset2);
| coordIndex | Texture coordinate set to apply a matrix to (0-7). |
| textureHandle | Handle of texture to use as a basis for computing texture coordinates. |
| xoffset1 | Horizontal texel position of top-left coordinate of texture rectangle to sample for the first two texture coordinates. |
| yoffset1 | Vertical texel position of top-left coordinate of texture rectangle to sample for the first two texture coordinate. |
| xoffset2 | Horizontal texel position of top-left coordinate of texture rectangle to sample for the second two texture coordinates. |
| yoffset2 | Vertical texel position of top-left coordinate of texture rectangle to sample for the second two texture coordinate. |
This method is not thread-safe.
This method is used to pack two sets of texture coordinates into one
texture coordinate slot by using all four components of the texture
coordinate interpolator. The first pair of texture coordinates is placed
in the x and y components, while the second pair of texture
coordinates is placed in the w and z components. Note that the
second pair is in reversed order (wz instead of zw) in order to take
advantage of the .wzyx swizzle in pixel shader model 2.0.
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