32 #define AVFORMAT_OS_SUPPORT_H 38 #undef attribute_deprecated 39 #define attribute_deprecated 47 fprintf(stderr,
"Usage: enum_options type\n" 48 "type: format codec\n");
57 printf(
"@item -%s%s @var{", o->
name, per_stream ?
"[:stream_specifier]" :
"");
67 default: printf(
"value");
break;
83 printf(
"%s\n", o->
help);
87 printf(
"\nPossible values:\n@table @samp\n");
89 for (u = opts; u->
name; u++) {
91 printf(
"@item %s\n%s\n", u->
name, u->
help ? u->
help :
"");
93 printf(
"@end table\n");
101 printf(
"@table @option\n");
102 for (o = opts; o->
name; o++) {
106 printf(
"@end table\n");
111 printf(
"@section Format AVOptions\n");
117 printf(
"@section Codec AVOptions\n");
121 int main(
int argc,
char **argv)
126 printf(
"@c DO NOT EDIT THIS FILE!\n" 127 "@c It was generated by print_options.\n\n");
128 if (!strcmp(argv[1],
"format"))
130 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[]
Macro definitions for various function/variable attributes.
const char * help
short English help text
#define u(width, name, range_min, range_max)
#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)
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)