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");
91 printf(
"@item %s\n%s\n",
u->name,
u->help ?
u->help :
"");
93 printf(
"@end table\n");
101 printf(
"@table @option\n");
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"))
Macro definitions for various function/variable attributes.
#define u(width, name, range_min, range_max)
@ AV_OPT_TYPE_BINARY
offset must point to a pointer immediately followed by an int for the length
static const AVOption avcodec_options[]
#define AV_OPT_FLAG_AUDIO_PARAM
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
#define AV_OPT_FLAG_VIDEO_PARAM
#define AV_OPT_FLAG_ENCODING_PARAM
a generic parameter which can be set by the user for muxing or encoding
#define AV_OPT_FLAG_SUBTITLE_PARAM
static void print_usage(void)
int main(int argc, char **argv)
static void show_format_opts(void)
static void print_option(const AVOption *opts, const AVOption *o, int per_stream)
static void show_opts(const AVOption *opts, int per_stream)
static void show_codec_opts(void)
const char * unit
The logical unit to which the option belongs.
const char * help
short English help text