Lines Matching defs:desc
229 const AVPixFmtDescriptor *desc;
237 desc = av_pix_fmt_desc_get(priv->common.input_frames->sw_format);
238 av_assert0(desc);
239 if (desc->flags & AV_PIX_FMT_FLAG_RGB)
249 fh->Nf = desc->nb_components;
253 fh->H[i] = 1 + (i == 0 ? desc->log2_chroma_w : 0);
254 fh->V[i] = 1 + (i == 0 ? desc->log2_chroma_h : 0);
440 const AVPixFmtDescriptor *desc;
442 desc = av_pix_fmt_desc_get(ctx->input_frames->sw_format);
443 av_assert0(desc);
445 ctx->surface_width = FFALIGN(avctx->width, 8 << desc->log2_chroma_w);
446 ctx->surface_height = FFALIGN(avctx->height, 8 << desc->log2_chroma_h);