Lines Matching defs:format
106 enum OverlayFormat { OVERLAY_FORMAT_YUV420, OVERLAY_FORMAT_YUV422, OVERLAY_FORMAT_YUV444, OVERLAY_FORMAT_RGB, OVERLAY_FORMAT_NB} format;
237 switch (s->format) {
274 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format);
282 ff_fill_rgba_map(s->main_rgba_map, inlink->format) >= 0;
283 s->main_has_alpha = ff_fmt_is_in(inlink->format, alpha_pix_fmts);
292 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format);
315 ff_fill_rgba_map(s->overlay_rgba_map, inlink->format) >= 0;
316 s->overlay_has_alpha = ff_fmt_is_in(inlink->format, alpha_pix_fmts);
328 av_get_pix_fmt_name(ctx->inputs[MAIN]->format),
330 av_get_pix_fmt_name(ctx->inputs[OVERLAY]->format),
596 "The rgb option is deprecated and is overriding the format option, use format instead\n");
597 s->format = OVERLAY_FORMAT_RGB;
629 { "format", "set output format", OFFSET(format), AV_OPT_TYPE_INT, {.i64=OVERLAY_FORMAT_YUV420}, 0, OVERLAY_FORMAT_NB-1, FLAGS, "format" },
630 { "yuv420", "", 0, AV_OPT_TYPE_CONST, {.i64=OVERLAY_FORMAT_YUV420}, .flags = FLAGS, .unit = "format" },
631 { "yuv422", "", 0, AV_OPT_TYPE_CONST, {.i64=OVERLAY_FORMAT_YUV422}, .flags = FLAGS, .unit = "format" },
632 { "yuv444", "", 0, AV_OPT_TYPE_CONST, {.i64=OVERLAY_FORMAT_YUV444}, .flags = FLAGS, .unit = "format" },
633 { "rgb", "", 0, AV_OPT_TYPE_CONST, {.i64=OVERLAY_FORMAT_RGB}, .flags = FLAGS, .unit = "format" },