Home
last modified time | relevance | path

Searched refs:main_formats (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dvf_alphamerge.c58 AVFilterFormats *main_formats = NULL, *alpha_formats = NULL; in query_formats() local
61 if (!(main_formats = ff_make_format_list(main_fmts)) || in query_formats()
66 if ((ret = ff_formats_ref(main_formats , &ctx->inputs[0]->out_formats)) < 0 || in query_formats()
68 (ret = ff_formats_ref(main_formats , &ctx->outputs[0]->in_formats)) < 0) in query_formats()
72 if (main_formats) in query_formats()
73 av_freep(&main_formats->formats); in query_formats()
74 av_freep(&main_formats); in query_formats()
Dvf_overlay.c208 AVFilterFormats *main_formats = NULL; in query_formats() local
214 if (!(main_formats = ff_make_format_list(main_pix_fmts_yuv420)) || in query_formats()
221 if (!(main_formats = ff_make_format_list(main_pix_fmts_yuv422)) || in query_formats()
228 if (!(main_formats = ff_make_format_list(main_pix_fmts_yuv444)) || in query_formats()
235 if (!(main_formats = ff_make_format_list(main_pix_fmts_rgb)) || in query_formats()
242 if (!(main_formats = ff_make_format_list(main_pix_fmts_gbrp)) || in query_formats()
249 if (!(main_formats = ff_make_format_list(alpha_pix_fmts))) { in query_formats()
259 ret = ff_set_common_formats(ctx, main_formats); in query_formats()
263 if ((ret = ff_formats_ref(main_formats , &ctx->inputs[MAIN]->out_formats )) < 0 || in query_formats()
265 (ret = ff_formats_ref(main_formats , &ctx->outputs[MAIN]->in_formats )) < 0) in query_formats()
[all …]