Main Page | Modules | Data Structures | File List | Data Fields | Globals

livido_channel Struct Reference
[Channel]

#include <livido.h>


Detailed Description

Instance of channel templates allocated and set by the host.

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_templatetempl
 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_channelnext
 pointer to the next channel in the list, NULL if end

char reserved [64]
 reserved space for binary compatibility thru versions


Field Documentation

int livido_channel::rowstrides[4]
 

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.

Definition at line 1069 of file livido.h.


The documentation for this struct was generated from the following file:
Generated on Wed Apr 6 20:21:07 2005 for LiViDO by doxygen 1.3.4