Lines Matching refs:pixdesc
25 #include "pixdesc.h"
1135 int av_get_bits_per_pixel(const AVPixFmtDescriptor *pixdesc)
1138 int log2_pixels = pixdesc->log2_chroma_w + pixdesc->log2_chroma_h;
1140 for (c = 0; c < pixdesc->nb_components; c++) {
1142 bits += (pixdesc->comp[c].depth_minus1 + 1) << s;
1154 const AVPixFmtDescriptor *pixdesc = &av_pix_fmt_descriptors[pix_fmt];
1155 snprintf(buf, buf_size, "%-11s %7d %10d", pixdesc->name,
1156 pixdesc->nb_components, av_get_bits_per_pixel(pixdesc));