Lines Matching defs:nb_formats
71 int nb_formats;
185 for (i = 0; i < ctx->nb_formats; i++) {
297 constraints->valid_sw_formats = av_malloc_array(ctx->nb_formats + 1,
303 for (i = j = 0; i < ctx->nb_formats; i++) {
389 ctx->nb_formats = 0;
399 ctx->formats[ctx->nb_formats].pix_fmt = pix_fmt;
400 ctx->formats[ctx->nb_formats].image_format = image_list[i];
401 ++ctx->nb_formats;
698 for (i = 0; i < ctx->nb_formats; i++) {
703 pix_fmts = av_malloc((ctx->nb_formats + 1) * sizeof(*pix_fmts));
713 for (i = 0; i < ctx->nb_formats; i++) {
716 av_assert0(k < ctx->nb_formats);