Lines Matching defs:optctx
281 static int write_option(void *optctx, const OptionDef *po, const char *opt,
284 /* new-style options contain an offset into optctx, old-style address of
287 (uint8_t *)optctx + po->u.off : po->u.dst_ptr;
316 int ret = po->u.func_arg(optctx, opt, arg);
330 int parse_option(void *optctx, const char *opt, const char *arg,
356 ret = write_option(optctx, po, opt, arg);
363 void parse_options(void *optctx, int argc, char **argv, const OptionDef *options,
384 if ((ret = parse_option(optctx, opt, argv[optindex], options)) < 0)
389 parse_arg_function(optctx, opt);
394 int parse_optgroup(void *optctx, OptionGroup *g)
417 ret = write_option(optctx, o->opt, o->key, o->val);
513 int opt_default(void *optctx, const char *opt, const char *arg)
819 int opt_cpuflags(void *optctx, const char *opt, const char *arg)
831 int opt_loglevel(void *optctx, const char *opt, const char *arg)
983 int opt_max_alloc(void *optctx, const char *opt, const char *arg)
997 int opt_timelimit(void *optctx, const char *opt, const char *arg)
1120 int show_version(void *optctx, const char *opt, const char *arg)
1129 int show_buildconf(void *optctx, const char *opt, const char *arg)
1137 int show_license(void *optctx, const char *opt, const char *arg)
1223 static int show_formats_devices(void *optctx, const char *opt, const char *arg, int device_only)
1278 int show_formats(void *optctx, const char *opt, const char *arg)
1280 return show_formats_devices(optctx, opt, arg, 0);
1283 int show_devices(void *optctx, const char *opt, const char *arg)
1285 return show_formats_devices(optctx, opt, arg, 1);
1413 int show_codecs(void *optctx, const char *opt, const char *arg)
1506 int show_decoders(void *optctx, const char *opt, const char *arg)
1512 int show_encoders(void *optctx, const char *opt, const char *arg)
1518 int show_bsfs(void *optctx, const char *opt, const char *arg)
1529 int show_protocols(void *optctx, const char *opt, const char *arg)
1544 int show_filters(void *optctx, const char *opt, const char *arg)
1588 int show_colors(void *optctx, const char *opt, const char *arg)
1602 int show_pix_fmts(void *optctx, const char *opt, const char *arg)
1635 int show_layouts(void *optctx, const char *opt, const char *arg)
1664 int show_sample_fmts(void *optctx, const char *opt, const char *arg)
1815 int show_help(void *optctx, const char *opt, const char *arg)