Lines Matching defs:desc
212 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(pix_fmt);
214 av_assert2(desc);
216 if (desc->nb_components != components) {
222 match = match && desc->comp[3].depth >= bpc &&
226 match = match && desc->comp[2].depth >= bpc &&
227 (log2_chroma_wh >> 10 & 3) == desc->log2_chroma_w &&
228 (log2_chroma_wh >> 8 & 3) == desc->log2_chroma_h;
230 match = match && desc->comp[1].depth >= bpc &&
231 (log2_chroma_wh >> 6 & 3) == desc->log2_chroma_w &&
232 (log2_chroma_wh >> 4 & 3) == desc->log2_chroma_h;
235 match = match && desc->comp[0].depth >= bpc &&
238 (desc->flags & AV_PIX_FMT_FLAG_PAL) == pal8 * AV_PIX_FMT_FLAG_PAL;