Lines Matching defs:flags
144 if (((po->flags & req_flags) != req_flags) ||
145 (alt_flags && !(po->flags & alt_flags)) ||
146 (po->flags & rej_flags))
163 void show_help_children(const AVClass *class, int flags)
168 av_opt_show2(&class, NULL, flags, 0);
173 show_help_children(child, flags);
256 void *dst = po->flags & (OPT_OFFSET | OPT_SPEC) ?
260 if (po->flags & OPT_SPEC) {
274 if (po->flags & OPT_STRING) {
281 } else if (po->flags & OPT_BOOL || po->flags & OPT_INT) {
283 } else if (po->flags & OPT_INT64) {
285 } else if (po->flags & OPT_TIME) {
287 } else if (po->flags & OPT_FLOAT) {
289 } else if (po->flags & OPT_DOUBLE) {
300 if (po->flags & OPT_EXIT)
311 .flags = HAS_ARG,
322 if ((po->name && (po->flags & OPT_BOOL)))
324 } else if (po->flags & OPT_BOOL)
333 if (po->flags & HAS_ARG && !arg) {
342 return !!(po->flags & HAS_ARG);
386 if (g->group_def->flags &&
387 !(g->group_def->flags & o->opt->flags)) {
429 if (!po->name || po->flags & HAS_ARG)
462 if (po->flags & OPT_PERFILE)
463 av_assert0(po->flags & (OPT_INPUT | OPT_OUTPUT));
504 if(o && !o->flags)
633 int global = !(opt->flags & (OPT_PERFILE | OPT_SPEC | OPT_OFFSET));
740 if (po->flags & OPT_EXIT) {
743 } else if (po->flags & HAS_ARG) {
773 po->name && po->flags & OPT_BOOL) {
899 int flags = s->oformat ? AV_OPT_FLAG_ENCODING_PARAM
911 flags |= AV_OPT_FLAG_VIDEO_PARAM;
915 flags |= AV_OPT_FLAG_AUDIO_PARAM;
919 flags |= AV_OPT_FLAG_SUBTITLE_PARAM;
935 if (av_opt_find(&cc, t->key, NULL, flags, AV_OPT_SEARCH_FAKE_OBJ) ||
938 av_opt_find(&priv_class, t->key, NULL, flags,
942 av_opt_find(&cc, t->key + 1, NULL, flags,