Filter SDK/C API/AVS VideoInfo
From Avisynth wiki
The AVS_VideoInfo structure holds global information about a clip (i.e. information that does not depend on the frame number). It's a member of the AVS_FilterInfo structure. Below is a description of it (for AVISYNTH_INTERFACE_VERSION=6).
Properties and constants
- Colorspace constants, Colorformat constants and Image_type constants:
These constants are the same as the ones in the C++ API with a AVS_ prefix. For example, the C++ API constant CS_BGR becomes AVS_CS_BGR.
For some reason these constants are not part of the AVS_VideoInfo structure. Why not???
- Colorspace properties, Image_type properties and General properties:
These are the same as in the C++ API.
- Chroma placement constants (bits 20 -> 23):
They are missing in the C API. Todo: add them in the API.
- Remaining constants (they are not present in the C++ API):
enum { AVS_FILTER_TYPE=1, AVS_FILTER_INPUT_COLORSPACE=2, AVS_FILTER_OUTPUT_TYPE=9, AVS_FILTER_NAME=4, AVS_FILTER_AUTHOR=5, AVS_FILTER_VERSION=6, AVS_FILTER_ARGS=7, AVS_FILTER_ARGS_INFO=8, AVS_FILTER_ARGS_DESCRIPTION=10, AVS_FILTER_DESCRIPTION=11 };
enum { //SUBTYPES AVS_FILTER_TYPE_AUDIO=1, AVS_FILTER_TYPE_VIDEO=2, AVS_FILTER_OUTPUT_TYPE_SAME=3, AVS_FILTER_OUTPUT_TYPE_DIFFERENT=4 };
Todo: add description.