Lines Matching defs:arg

75 int show_license(void *optctx, const char *opt, const char *arg)
248 int show_version(void *optctx, const char *opt, const char *arg)
257 int show_buildconf(void *optctx, const char *opt, const char *arg)
574 int show_help(void *optctx, const char *opt, const char *arg)
579 topic = av_strdup(arg ? arg : "");
667 int show_codecs(void *optctx, const char *opt, const char *arg)
764 int show_decoders(void *optctx, const char *opt, const char *arg)
770 int show_encoders(void *optctx, const char *opt, const char *arg)
776 int show_bsfs(void *optctx, const char *opt, const char *arg)
788 int show_filters(void *optctx, const char *opt, const char *arg)
844 static int show_formats_devices(void *optctx, const char *opt, const char *arg, int device_only, int muxdemuxers)
907 int show_formats(void *optctx, const char *opt, const char *arg)
909 return show_formats_devices(optctx, opt, arg, 0, SHOW_DEFAULT);
912 int show_muxers(void *optctx, const char *opt, const char *arg)
914 return show_formats_devices(optctx, opt, arg, 0, SHOW_MUXERS);
917 int show_demuxers(void *optctx, const char *opt, const char *arg)
919 return show_formats_devices(optctx, opt, arg, 0, SHOW_DEMUXERS);
922 int show_devices(void *optctx, const char *opt, const char *arg)
924 return show_formats_devices(optctx, opt, arg, 1, SHOW_DEFAULT);
927 int show_protocols(void *optctx, const char *opt, const char *arg)
942 int show_colors(void *optctx, const char *opt, const char *arg)
956 int show_pix_fmts(void *optctx, const char *opt, const char *arg)
994 int show_layouts(void *optctx, const char *opt, const char *arg)
1027 int show_sample_fmts(void *optctx, const char *opt, const char *arg)
1036 int show_dispositions(void *optctx, const char *opt, const char *arg)
1046 int opt_cpuflags(void *optctx, const char *opt, const char *arg)
1051 if ((ret = av_parse_cpu_caps(&flags, arg)) < 0)
1058 int opt_cpucount(void *optctx, const char *opt, const char *arg)
1075 ret = av_opt_eval_int(&pclass, opts, arg, &count);
1210 int opt_report(void *optctx, const char *opt, const char *arg)
1215 int opt_max_alloc(void *optctx, const char *opt, const char *arg)
1220 max = strtol(arg, &tail, 10);
1222 av_log(NULL, AV_LOG_FATAL, "Invalid max_alloc \"%s\".\n", arg);
1229 int opt_loglevel(void *optctx, const char *opt, const char *arg)
1248 av_assert0(arg);
1249 while (*arg) {
1250 token = arg;
1259 if (av_strstart(token, "repeat", &arg)) {
1265 } else if (av_strstart(token, "level", &arg)) {
1276 if (!*arg) {
1278 } else if (*arg == '+') {
1279 arg++;
1285 if (!strcmp(log_levels[i].name, arg)) {
1291 level = strtol(arg, &tail, 10);
1294 "Possible levels are numbers or:\n", arg);
1370 static int show_sinks_sources_parse_arg(const char *arg, char **dev, AVDictionary **opts)
1373 if (arg) {
1376 *dev = av_strdup(arg);
1392 int show_sources(void *optctx, const char *opt, const char *arg)
1402 if ((ret = show_sinks_sources_parse_arg(arg, &dev, &opts)) < 0)
1430 int show_sinks(void *optctx, const char *opt, const char *arg)
1440 if ((ret = show_sinks_sources_parse_arg(arg, &dev, &opts)) < 0)