35 fprintf(stderr,
"Usage: enum_options type\n"
36 "type: format codec\n");
42 printf(
"@item -%s%s @var{", o->
name, per_stream ?
"[:stream_specifier]" :
"");
52 default: printf(
"value");
break;
68 printf(
"%s\n", o->
help);
72 printf(
"\nPossible values:\n@table @samp\n");
74 for (u = opts; u->
name; u++) {
76 printf(
"@item %s\n%s\n", u->
name, u->
help ? u->
help :
"");
78 printf(
"@end table\n");
86 printf(
"@table @option\n");
87 for (o = opts; o->
name; o++) {
91 printf(
"@end table\n");
94 static void show_format_opts(
void)
98 printf(
"@section Format AVOptions\n");
106 printf(
"@section Codec AVOptions\n");
110 int main(
int argc,
char **argv)
115 if (!strcmp(argv[1],
"format"))
117 else if (!strcmp(argv[1],
"codec"))
static void show_codec_opts(void)
static void print_usage(void)
#define AV_OPT_FLAG_AUDIO_PARAM
#define AV_OPT_FLAG_VIDEO_PARAM
const char * help
short English help text
#define AV_OPT_FLAG_SUBTITLE_PARAM
int main(int argc, char **argv)
const char * unit
The logical unit to which the option belongs.
#define AV_OPT_FLAG_ENCODING_PARAM
offset must point to a pointer immediately followed by an int for the length
static void show_opts(const AVOption *opts, int per_stream)
#define AV_OPT_FLAG_DECODING_PARAM
const OptionDef options[]
static void print_option(const AVOption *opts, const AVOption *o, int per_stream)