31 #define AVFORMAT_OS_SUPPORT_H
41 fprintf(stderr,
"Usage: enum_options type\n"
42 "type: format codec\n");
51 printf(
"@item -%s%s @var{", o->
name, per_stream ?
"[:stream_specifier]" :
"");
61 default: printf(
"value");
break;
77 printf(
"%s\n", o->
help);
81 printf(
"\nPossible values:\n@table @samp\n");
83 for (u = opts; u->
name; u++) {
85 printf(
"@item %s\n%s\n", u->
name, u->
help ? u->
help :
"");
87 printf(
"@end table\n");
95 printf(
"@table @option\n");
96 for (o = opts; o->
name; o++) {
100 printf(
"@end table\n");
105 printf(
"@section Format AVOptions\n");
111 printf(
"@section Codec AVOptions\n");
115 int main(
int argc,
char **argv)
120 printf(
"@c DO NOT EDIT THIS FILE!\n"
121 "@c It was generated by print_options.\n\n");
122 if (!strcmp(argv[1],
"format"))
124 else if (!strcmp(argv[1],
"codec"))
static void show_codec_opts(void)
#define AV_OPT_FLAG_SUBTITLE_PARAM
#define AV_OPT_FLAG_AUDIO_PARAM
static void print_usage(void)
static const AVOption avcodec_options[]
const char * help
short English help text
#define AV_OPT_FLAG_ENCODING_PARAM
a generic parameter which can be set by the user for muxing or encoding
int main(int argc, char **argv)
Libavcodec external API header.
const char * unit
The logical unit to which the option belongs.
offset must point to a pointer immediately followed by an int for the length
static void show_format_opts(void)
static void show_opts(const AVOption *opts, int per_stream)
#define AV_OPT_FLAG_VIDEO_PARAM
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
static void print_option(const AVOption *opts, const AVOption *o, int per_stream)