-
Notifications
You must be signed in to change notification settings - Fork 12
ref_iface_IVDXInputOptions_Write
VirtualDub Plugin SDK 1.2
IVDXInputOptions interface
Writes the contents of the option structure to a block of memory.
uint32 Write(void *buf, uint32 buflen);
buf | Buffer to accept serialized data. This can be NULL to determine the size of the required buffer. |
buflen | Length of buffer pointed to by buf, in bytes. This must be zero if buf == NULL. |
This method is not thread-safe.
Errors may not be returned from this function (see SetError()).
If the size of the buffer is at least enough to hold the serialized data, the number of bytes written to buf is returned. Otherwise, the number of bytes required is returned.
This function is typically called twice: once to retrieve the required buffer size, and again to actually write the data. The size of the data should always be consistent between calls.
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