Lines Matching defs:desc
27 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(c->srcFormat);
28 int nb_components = desc->nb_components;
31 int sixteen_bits = desc->comp[0].depth >= 9;
32 unsigned off = 1<<(desc->comp[0].depth - 1);
33 unsigned shift = desc->comp[0].depth;
40 a = (1<<(desc->comp[0].depth - 1))/2;
41 b = 3*(1<<(desc->comp[0].depth-1))/2;
43 target_table[0][plane] = plane && !(desc->flags & AV_PIX_FMT_FLAG_RGB) ? 1<<(desc->comp[0].depth - 1) : a;
44 target_table[1][plane] = plane && !(desc->flags & AV_PIX_FMT_FLAG_RGB) ? 1<<(desc->comp[0].depth - 1) : b;
48 if (desc->flags & AV_PIX_FMT_FLAG_PLANAR) {
51 int x_subsample = plane ? desc->log2_chroma_w: 0;
52 int y_subsample = plane ? desc->log2_chroma_h: 0;
129 int alpha_pos = desc->comp[plane_count].offset;