Lines Matching refs:pd
99 const AVPixFmtDescriptor *pd;
102 pd = av_pix_fmt_desc_get(pixfmt);
103 return pd && (!!HAVE_BIGENDIAN == !!(pd->flags & AV_PIX_FMT_FLAG_BE));
110 const AVPixFmtDescriptor *pd;
112 for (pd = av_pix_fmt_desc_next(NULL); pd; pd = av_pix_fmt_desc_next(pd)) {
117 pixfmt = av_pix_fmt_desc_get_id(pd);
119 if (pd->flags & (AV_PIX_FMT_FLAG_BAYER | AV_PIX_FMT_FLAG_ALPHA |
123 if (pd->log2_chroma_w != vsf->subSamplingW ||
124 pd->log2_chroma_h != vsf->subSamplingH)
128 if (is_rgb != !!(pd->flags & AV_PIX_FMT_FLAG_RGB))
137 if (vsf->sampleType != ((pd->flags & AV_PIX_FMT_FLAG_FLOAT) ? stFloat : stInteger))
143 if (strncmp(pd->name, "xyz", 3) == 0)
151 for (i = 0; i < pd->nb_components; i++) {
152 const AVComponentDescriptor *c = &pd->comp[i];