MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / show_format_opts

Function show_format_opts

tools/enum_options.c:89–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89static void show_format_opts(void)
90{
91 const AVInputFormat *iformat = NULL;
92 const AVOutputFormat *oformat = NULL;
93 void *iformat_opaque = NULL;
94 void *oformat_opaque = NULL;
95
96 printf("@section Generic format AVOptions\n");
97 show_opts(avformat_get_class());
98
99 printf("@section Format-specific AVOptions\n");
100 while ((iformat = av_demuxer_iterate(&iformat_opaque))) {
101 if (!iformat->priv_class)
102 continue;
103 printf("@subsection %s AVOptions\n", iformat->priv_class->class_name);
104 show_opts(iformat->priv_class);
105 }
106 while ((oformat = av_muxer_iterate(&oformat_opaque))) {
107 if (!oformat->priv_class)
108 continue;
109 printf("@subsection %s AVOptions\n", oformat->priv_class->class_name);
110 show_opts(oformat->priv_class);
111 }
112}
113
114static void show_codec_opts(void)
115{

Callers 1

mainFunction · 0.70

Calls 4

avformat_get_classFunction · 0.85
av_demuxer_iterateFunction · 0.85
av_muxer_iterateFunction · 0.85
show_optsFunction · 0.70

Tested by

no test coverage detected