-
Notifications
You must be signed in to change notification settings - Fork 18
ref_iface_IVDXAContext_CreateFragmentProgram
VirtualDub Plugin SDK 1.2
IVDXAContext interface
Creates a fragment program from a byte code description.
uint32 CreateFragmentProgram(VDXAProgramFormat programFormat, const void *data, uint32 length);
| programFormat | Byte code format type.
|
| data | Pointer to byte code data. |
| length | Length of byte code data, in bytes. |
This method is not thread-safe.
Handle to created fragment program, or zero on failure.
This method is expensive and should be called in startProc, not in
accelRunProc.
Currently, the supplied byte code program must target the Direct3D 9
shader model 2.0 profile. This is for hardware compatibility and
emulation reasons. The runtime will fail the creation if a shader is
compiled against the ps_2_x or ps_3_0 profile.
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