Lines Matching defs:opt
49 #include "libavutil/opt.h"
397 static int opt_add_vfilter(void *optctx, const char *opt, const char *arg)
3467 static int opt_width(void *optctx, const char *opt, const char *arg)
3469 screen_width = parse_number_or_die(opt, arg, OPT_INT64, 1, INT_MAX);
3473 static int opt_height(void *optctx, const char *opt, const char *arg)
3475 screen_height = parse_number_or_die(opt, arg, OPT_INT64, 1, INT_MAX);
3479 static int opt_format(void *optctx, const char *opt, const char *arg)
3489 static int opt_sync(void *optctx, const char *opt, const char *arg)
3498 av_log(NULL, AV_LOG_ERROR, "Unknown value for %s: %s\n", opt, arg);
3504 static int opt_seek(void *optctx, const char *opt, const char *arg)
3506 start_time = parse_time_or_die(opt, arg, 1);
3510 static int opt_duration(void *optctx, const char *opt, const char *arg)
3512 duration = parse_time_or_die(opt, arg, 1);
3516 static int opt_show_mode(void *optctx, const char *opt, const char *arg)
3521 parse_number_or_die(opt, arg, OPT_INT, 0, SHOW_MODE_NB-1);
3538 static int opt_codec(void *optctx, const char *opt, const char *arg)
3540 const char *spec = strchr(opt, ':');
3544 arg, opt);
3554 "Invalid media specifier '%s' in option '%s'\n", spec, opt);
3622 void show_help_default(const char *opt, const char *arg)