Lines Matching defs:depth
42 int depth = comp.depth;
43 unsigned mask = (1ULL << depth) - 1;
53 int shift = 8 - depth - (skip & 7);
68 int is_8bit = shift + depth <= 8;
69 int is_16bit= shift + depth <=16;
107 int depth = comp.depth;
116 int shift = 8 - depth - (skip & 7);
129 if (shift + depth <= 8) {
138 if (shift + depth <= 16) {
2621 bits += pixdesc->comp[c].depth << s;
2739 av_assert0(!c->plane && !c->step && !c->offset && !c->shift && !c->depth);
2743 av_assert0(c->step >= c->depth);
2745 av_assert0(8*c->step >= c->depth);
2751 tmp[0] = tmp[1] = (1ULL << c->depth) - 1;
2823 *min = FFMIN(desc->comp[i].depth, *min);
2824 *max = FFMAX(desc->comp[i].depth, *max);
2870 int depth_minus1 = (dst_pix_fmt == AV_PIX_FMT_PAL8) ? 7/nb_components : (dst_desc->comp[i].depth - 1);
2871 if (src_desc->comp[i].depth - 1 > depth_minus1 && (consider & FF_LOSS_DEPTH)) {
2921 score -= (nb_components * 65536) >> FFMIN(dst_desc->comp[0].depth - 1, src_desc->comp[0].depth - 1);