Lines Matching defs:desc
177 const AVPixFmtDescriptor *desc;
182 desc = av_pix_fmt_desc_get(dst->format);
184 for (i = 0; i < desc->nb_components; i++)
185 planes_nb = FFMAX(planes_nb, desc->comp[i].plane + 1);
195 const AVComponentDescriptor comp = desc->comp[i];
203 sheight = AV_CEIL_RSHIFT(src->height, desc->log2_chroma_h);
204 dheight = AV_CEIL_RSHIFT(dst->height, desc->log2_chroma_h);
476 const AVPixFmtDescriptor *desc;
479 desc = av_pix_fmt_desc_get(ctx->sw_format);
480 if (!desc)
487 surf->Info.BitDepthLuma = desc->comp[0].depth;
488 surf->Info.BitDepthChroma = desc->comp[0].depth;
489 surf->Info.Shift = desc->comp[0].depth > 8;
491 if (desc->log2_chroma_w && desc->log2_chroma_h)
493 else if (desc->log2_chroma_w)
861 const AVPixFmtDescriptor *desc;
923 desc = av_pix_fmt_desc_get(dst->format);
924 if (desc && desc->flags & AV_PIX_FMT_FLAG_HWACCEL) {