Lines Matching defs:desc
122 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(frame->format);
128 if (!desc)
832 const AVPixFmtDescriptor *desc)
838 int shift_x = (i == 1 || i == 2) ? desc->log2_chroma_w : 0;
839 int shift_y = (i == 1 || i == 2) ? desc->log2_chroma_h : 0;
841 if (desc->flags & AV_PIX_FMT_FLAG_PAL && i == 1) {
847 for (j = 0; j < desc->nb_components; j++) {
848 if (desc->comp[j].plane == i) {
849 comp = &desc->comp[j];
865 const AVPixFmtDescriptor *desc;
878 desc = av_pix_fmt_desc_get(frame->format);
879 if (!desc)
886 if (desc->flags & (AV_PIX_FMT_FLAG_BITSTREAM | AV_PIX_FMT_FLAG_HWACCEL)) {
895 calc_cropping_offsets(offsets, frame, desc);
914 calc_cropping_offsets(offsets, frame, desc);