Lines Matching defs:desc
151 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(format);
156 if (!desc->name)
158 if (desc->flags & ~(AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_PSEUDOPAL | AV_PIX_FMT_FLAG_ALPHA))
160 for (i = 0; i < desc->nb_components; i++) {
161 c = &desc->comp[i];
176 if ((desc->log2_chroma_w || desc->log2_chroma_h) && nb_planes < 3)
179 draw->desc = desc;
183 draw->hsub[1] = draw->hsub[2] = draw->hsub_max = desc->log2_chroma_w;
184 draw->vsub[1] = draw->vsub[2] = draw->vsub_max = desc->log2_chroma_h;
185 for (i = 0; i < ((desc->nb_components - 1) | 1); i++)
186 draw->comp_mask[desc->comp[i].plane] |=
187 1 << (desc->comp[i].offset_plus1 - 1);
198 if ((draw->desc->flags & AV_PIX_FMT_FLAG_RGB) &&
218 "Color conversion not implemented for %s\n", draw->desc->name);
537 const AVPixFmtDescriptor *desc;
543 desc = av_pix_fmt_desc_get(f);
544 if (!desc->name)
546 printf("Testing %s...%*s", desc->name,
547 (int)(16 - strlen(desc->name)), "");