Lines Matching defs:desc
260 const AVPixFmtDescriptor *desc;
269 desc = av_pix_fmt_desc_get(priv->common.input_frames->sw_format);
270 av_assert0(desc);
271 if (desc->nb_components == 1) {
274 if (desc->log2_chroma_w == 1 && desc->log2_chroma_h == 1) {
276 } else if (desc->log2_chroma_w == 1 && desc->log2_chroma_h == 0) {
278 } else if (desc->log2_chroma_w == 0 && desc->log2_chroma_h == 0) {
282 "%s is not supported.\n", desc->name);
286 bit_depth = desc->comp[0].depth;
409 (ctx->surface_width - avctx->width) >> desc->log2_chroma_w;
412 (ctx->surface_height - avctx->height) >> desc->log2_chroma_h;