#include <livido.h>
A channel is an actual implementation of a channel template (livido_channel_template) hold by the filter (livido_instance) and setup by the host to prepare for initialization (::livido_init).
If a channel template is optional (LIVIDO_CHANNEL_OPTIONAL flag), the host can indicate whether is being used or not by setting the flag LIVIDO_CHANNEL_DISABLED in this structure.
Definition at line 1047 of file livido.h.
Data Fields | |
| livido_channel_template * | templ |
| the template that this channel is based upon | |
| int | flags |
| flags that can be set by the host | |
| int | palette |
| the palette for the channel, from one of the palettes provided by the template | |
| int | width |
| channel width in pixels | |
| int | height |
| channel height in pixels | |
| int | shift_h |
| horizontal shift for planar YUV | |
| int | shift_v |
| vertical shift for planar YUV | |
| int | rowstrides [4] |
| length of one row in bytes (include padding) | |
| livido_channel * | next |
| pointer to the next channel in the list, NULL if end | |
| char | reserved [64] |
| reserved space for binary compatibility thru versions | |
|
|
length of one row in bytes (include padding) In packed modes rowstride[0] is the length of the row in bytes (including padding bytes) In planar modes every rowstride denotes the length of the plane in bytes! IMPORTANT: Every host has to set the rowstrides and every plugin has to honour the rowstrides. |
1.3.4