User`s manual

Reference Manual 65
unsigned long flags;
unsigned long size;
} TCFG_HEADER;
Members
name
The name of the configuration. It uses a string less than
MAX_NAME (64) characters included in quotes. For example:
“MPEG2, IPB” for a stream setting and “4M” for a bitrate set-
ting.
desc
The description of the configuration. Use a string of less than
MAX_DESC (256) characters included in quotes.
flags
The flags member provides information on what fields are pro-
vided in the structure where the TCFG_HEADER is located.
Each bit in flags corresponds to one field. Each TCFGxxxx
structure (except for TCFGSYSTEM) has a corresponding
FLAGS_xxxx enumeration that shows the relationship between
field and bit position. The enumeration also has a
FLAGS_xxxx_MANDETORY field indicating which fields have
to be provided. Set a bit as 1 if the corresponding field value is
provided. Take the TCFGFRAMERATE structure as an exam-
ple, if only the mandatory fields are provided, which are frame
rate and tv_standard, then the flags should be 0x9 (1001).
size
The size of the structure is where the TCFGHEADER is
located. For example, in a TCFGSTREAM structure, the size in
TCFG_HEADER is the size of TCFGSTREAM.