Lines Matching defs:options
134 void show_help_options(const OptionDef *options, const char *msg, int req_flags,
141 for (po = options; po->name; po++) {
254 /* new-style options contain an offset into optctx, old-style address of
307 const OptionDef *options)
318 po = find_option(options, opt);
321 po = find_option(options, opt + 2);
345 void parse_options(void *optctx, int argc, char **argv, const OptionDef *options,
354 /* parse options */
366 if ((ret = parse_option(optctx, opt, argv[optindex], options)) < 0)
380 av_log(NULL, AV_LOG_DEBUG, "Parsing a group of options: %s %s.\n",
404 av_log(NULL, AV_LOG_DEBUG, "Successfully parsed a group of options.\n");
409 int locate_option(int argc, char **argv, const OptionDef *options,
421 po = find_option(options, cur_opt);
423 po = find_option(options, cur_opt + 2);
468 void parse_loglevel(int argc, char **argv, const OptionDef *options)
470 int idx = locate_option(argc, argv, options, "loglevel");
473 check_options(options);
476 idx = locate_option(argc, argv, options, "v");
479 idx = locate_option(argc, argv, options, "report");
495 idx = locate_option(argc, argv, options, "hide_banner");
551 av_log(NULL, AV_LOG_ERROR, "Directly using swscale dimensions/format options is not supported, please use the -s or -pix_fmt options\n");
688 const OptionDef *options,
737 /* normal options */
738 po = find_option(options, opt);
770 /* boolean -nofoo options */
772 (po = find_option(options, opt + 2)) &&
963 "Could not alloc memory for stream options.\n");