Lines Matching defs:desc
53 static int is_planar_yuv(const AVPixFmtDescriptor *desc)
57 if (desc->flags & ~(AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA) ||
58 desc->nb_components < 3 ||
59 (desc->comp[1].depth_minus1 != desc->comp[2].depth_minus1))
61 for (i = 0; i < desc->nb_components; i++) {
62 if (desc->comp[i].offset_plus1 != 1 ||
63 desc->comp[i].shift != 0 ||
64 desc->comp[i].plane != i)
77 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(fmt);
78 if (is_planar_yuv(desc))