Lines Matching defs:pix_fmt
64 enum AVPixelFormat pix_fmt;
97 enum AVPixelFormat pix_fmt;
107 // The map fourcc <-> pix_fmt isn't bijective because of the annoying U/V
159 vaapi_format_from_pix_fmt(enum AVPixelFormat pix_fmt)
163 if (vaapi_format_map[i].pix_fmt == pix_fmt)
173 return desc->pix_fmt;
179 enum AVPixelFormat pix_fmt,
186 if (ctx->formats[i].pix_fmt == pix_fmt) {
204 enum AVPixelFormat pix_fmt;
240 pix_fmt = vaapi_pix_fmt_from_fourcc(fourcc);
241 if (pix_fmt != AV_PIX_FMT_NONE) {
267 sizeof(pix_fmt));
279 pix_fmt = vaapi_pix_fmt_from_fourcc(fourcc);
281 if (pix_fmt == AV_PIX_FMT_NONE)
285 if (constraints->valid_sw_formats[k] == pix_fmt)
290 constraints->valid_sw_formats[j++] = pix_fmt;
298 sizeof(pix_fmt));
307 if (constraints->valid_sw_formats[k] == ctx->formats[i].pix_fmt)
312 constraints->valid_sw_formats[j++] = ctx->formats[i].pix_fmt;
318 constraints->valid_hw_formats = av_malloc_array(2, sizeof(pix_fmt));
365 enum AVPixelFormat pix_fmt;
392 pix_fmt = vaapi_pix_fmt_from_fourcc(fourcc);
393 if (pix_fmt == AV_PIX_FMT_NONE) {
398 fourcc, av_get_pix_fmt_name(pix_fmt));
399 ctx->formats[ctx->nb_formats].pix_fmt = pix_fmt;
699 if (ctx->formats[i].pix_fmt == hwfc->sw_format)
714 if (ctx->formats[i].pix_fmt == hwfc->sw_format)
717 pix_fmts[k++] = ctx->formats[i].pix_fmt;