Lines Matching defs:desc
146 AVPixFmtDescriptor const *desc = av_pix_fmt_desc_get(s->pix_fmt);
148 if (desc) {
149 w_align = 1 << desc->log2_chroma_w;
150 h_align = 1 << desc->log2_chroma_h;
352 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(s->pix_fmt);
353 int chroma_shift = desc->log2_chroma_w;
425 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(frame->format);
428 av_assert0(desc->flags & AV_PIX_FMT_FLAG_PLANAR);
430 for (p = 0; p<desc->nb_components; p++) {
433 int bytes = is_chroma ? AV_CEIL_RSHIFT(frame->width, desc->log2_chroma_w) : frame->width;
434 int height = is_chroma ? AV_CEIL_RSHIFT(frame->height, desc->log2_chroma_h) : frame->height;
435 if (desc->comp[0].depth >= 9) {
491 const AVCodecDescriptor *desc = avcodec_descriptor_get(codec_id);
494 if (profile == FF_PROFILE_UNKNOWN || !desc || !desc->profiles)
497 for (p = desc->profiles; p->profile != FF_PROFILE_UNKNOWN; p++)
1158 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(avctx->pix_fmt);
1159 bits_per_coded_sample = av_get_bits_per_pixel(desc);