Lines Matching defs:desc
160 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(pix_fmt);
163 if (desc->nb_components != image->numcomps) {
167 switch (desc->nb_components) {
170 desc->comp[3].depth >= image->comps[3].prec &&
175 desc->comp[2].depth >= image->comps[2].prec &&
176 1 << desc->log2_chroma_w == image->comps[2].dx &&
177 1 << desc->log2_chroma_h == image->comps[2].dy;
180 desc->comp[1].depth >= image->comps[1].prec &&
181 1 << desc->log2_chroma_w == image->comps[1].dx &&
182 1 << desc->log2_chroma_h == image->comps[1].dy;
185 desc->comp[0].depth >= image->comps[0].prec &&
229 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(pix_fmt);
235 component_plane = desc->comp[0].plane;
236 for (i = 1; i < desc->nb_components; i++)
237 if (component_plane != desc->comp[i].plane)
256 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(picture->format);
260 adjust[x] = FFMAX(FFMIN(desc->comp[x].depth - image->comps[x].prec, 8), 0) + desc->comp[x].shift;
293 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(picture->format);
297 adjust[x] = FFMAX(FFMIN(desc->comp[x].depth - image->comps[x].prec, 8), 0) + desc->comp[x].shift;
327 const AVPixFmtDescriptor *desc;
438 desc = av_pix_fmt_desc_get(avctx->pix_fmt);
439 pixel_size = desc->comp[0].step;