Lines Matching defs:formats
69 // Surface formats which can be used with this device.
70 VAAPISurfaceFormat *formats;
186 if (ctx->formats[i].pix_fmt == pix_fmt) {
188 *image_format = &ctx->formats[i].image_format;
296 // Return the full set of image formats known by the implementation.
307 if (constraints->valid_sw_formats[k] == ctx->formats[i].pix_fmt)
312 constraints->valid_sw_formats[j++] = ctx->formats[i].pix_fmt;
384 ctx->formats = av_malloc(image_count * sizeof(*ctx->formats));
385 if (!ctx->formats) {
399 ctx->formats[ctx->nb_formats].pix_fmt = pix_fmt;
400 ctx->formats[ctx->nb_formats].image_format = image_list[i];
442 av_freep(&ctx->formats);
451 av_freep(&ctx->formats);
691 enum AVPixelFormat **formats)
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;
721 *formats = pix_fmts;
785 // Requested direct mapping but the formats do not match.