Lines Matching refs:groups
582 static int match_group_separator(const OptionGroupDef *groups, int nb_groups,
588 const OptionGroupDef *p = &groups[i];
605 OptionGroupList *l = &octx->groups[group_idx];
608 GROW_ARRAY(l->groups, l->nb_groups);
609 g = &l->groups[l->nb_groups - 1];
643 const OptionGroupDef *groups, int nb_groups)
651 octx->groups = av_calloc(octx->nb_groups, sizeof(*octx->groups));
652 if (!octx->groups)
656 octx->groups[i].group_def = &groups[i];
667 OptionGroupList *l = &octx->groups[i];
670 av_freep(&l->groups[j].opts);
671 av_dict_free(&l->groups[j].codec_opts);
672 av_dict_free(&l->groups[j].format_opts);
674 av_dict_free(&l->groups[j].sws_dict);
675 av_dict_free(&l->groups[j].swr_opts);
677 av_freep(&l->groups);
679 av_freep(&octx->groups);
689 const OptionGroupDef *groups, int nb_groups)
697 init_parse_context(octx, groups, nb_groups);
714 av_log(NULL, AV_LOG_DEBUG, " matched as %s.\n", groups[0].name);
729 if ((ret = match_group_separator(groups, nb_groups, opt)) >= 0) {
733 groups[ret].name, arg);