hvirtual/quicktime/ffmpeg/cmdutils.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  OptionDef

Defines

#define HAS_ARG   0x0001
#define OPT_BOOL   0x0002
#define OPT_EXPERT   0x0004
#define OPT_STRING   0x0008
#define OPT_VIDEO   0x0010
#define OPT_AUDIO   0x0020
#define OPT_GRAB   0x0040
#define OPT_INT   0x0080
#define OPT_FLOAT   0x0100
#define OPT_SUBTITLE   0x0200

Functions

void show_help_options (const OptionDef *options, const char *msg, int mask, int value)
void parse_options (int argc, char **argv, const OptionDef *options)
void parse_arg_file (const char *filename)
void print_error (const char *filename, int err)


Define Documentation

#define HAS_ARG   0x0001

Definition at line 7 of file cmdutils.h.

Referenced by parse_options(), and show_help_options().

#define OPT_AUDIO   0x0020

Definition at line 12 of file cmdutils.h.

Referenced by show_help().

#define OPT_BOOL   0x0002

Definition at line 8 of file cmdutils.h.

Referenced by parse_options().

#define OPT_EXPERT   0x0004

Definition at line 9 of file cmdutils.h.

Referenced by show_help().

#define OPT_FLOAT   0x0100

Definition at line 15 of file cmdutils.h.

Referenced by parse_options().

#define OPT_GRAB   0x0040

Definition at line 13 of file cmdutils.h.

Referenced by show_help().

#define OPT_INT   0x0080

Definition at line 14 of file cmdutils.h.

Referenced by parse_options().

#define OPT_STRING   0x0008

Definition at line 10 of file cmdutils.h.

Referenced by parse_options().

#define OPT_SUBTITLE   0x0200

Definition at line 16 of file cmdutils.h.

Referenced by show_help().

#define OPT_VIDEO   0x0010

Definition at line 11 of file cmdutils.h.

Referenced by show_help().


Function Documentation

void parse_arg_file ( const char *  filename  ) 

Definition at line 4459 of file ffmpeg.c.

References input_filename, and opt_output_file().

Referenced by parse_options().

Here is the call graph for this function:

void parse_options ( int  argc,
char **  argv,
const OptionDef options 
)

void print_error ( const char *  filename,
int  err 
)

Definition at line 97 of file cmdutils.c.

References fprintf.

void show_help_options ( const OptionDef options,
const char *  msg,
int  mask,
int  value 
)

Definition at line 25 of file cmdutils.c.

References OptionDef::argname, buf, OptionDef::flags, HAS_ARG, OptionDef::help, OptionDef::name, and NULL.

Referenced by show_help().


Generated on Mon Apr 28 14:02:49 2008 for Cinelerra by  doxygen 1.5.5