
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 HAS_ARG 0x0001 |
| #define OPT_AUDIO 0x0020 |
| #define OPT_BOOL 0x0002 |
| #define OPT_EXPERT 0x0004 |
| #define OPT_FLOAT 0x0100 |
| #define OPT_GRAB 0x0040 |
| #define OPT_INT 0x0080 |
| #define OPT_STRING 0x0008 |
| #define OPT_SUBTITLE 0x0200 |
| #define OPT_VIDEO 0x0010 |
| 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().

| void parse_options | ( | int | argc, | |
| char ** | argv, | |||
| const OptionDef * | options | |||
| ) |
Definition at line 48 of file cmdutils.c.
References av_strdup(), OptionDef::flags, OptionDef::float_arg, fprintf, OptionDef::func_arg, HAS_ARG, OptionDef::int_arg, OptionDef::name, NULL, OPT_BOOL, OPT_FLOAT, OPT_INT, OPT_STRING, parse_arg_file(), OptionDef::str_arg, and OptionDef::u.
Referenced by main().

| void print_error | ( | const char * | filename, | |
| int | err | |||
| ) |
| 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().
1.5.5