Lines Matching defs:groups
597 static int match_group_separator(const OptionGroupDef *groups, int nb_groups,
603 const OptionGroupDef *p = &groups[i];
620 OptionGroupList *l = &octx->groups[group_idx];
623 GROW_ARRAY(l->groups, l->nb_groups);
624 g = &l->groups[l->nb_groups - 1];
665 const OptionGroupDef *groups, int nb_groups)
673 octx->groups = av_mallocz_array(octx->nb_groups, sizeof(*octx->groups));
674 if (!octx->groups)
678 octx->groups[i].group_def = &groups[i];
691 OptionGroupList *l = &octx->groups[i];
694 av_freep(&l->groups[j].opts);
695 av_dict_free(&l->groups[j].codec_opts);
696 av_dict_free(&l->groups[j].format_opts);
697 av_dict_free(&l->groups[j].resample_opts);
699 sws_freeContext(l->groups[j].sws_opts);
701 av_dict_free(&l->groups[j].swr_opts);
703 av_freep(&l->groups);
705 av_freep(&octx->groups);
715 const OptionGroupDef *groups, int nb_groups)
723 init_parse_context(octx, groups, nb_groups);
740 av_log(NULL, AV_LOG_DEBUG, " matched as %s.\n", groups[0].name);
755 if ((ret = match_group_separator(groups, nb_groups, opt)) >= 0) {
759 groups[ret].name, arg);