Lines Matching defs:scale
112 unsigned scale = ctx->levels - (i / 3);
114 ctx->band[plane][i + 1].width = w >> scale;
115 ctx->band[plane][i + 1].height = h >> scale;
116 ctx->band[plane][i + 1].size = (w >> scale) * (h >> scale);
118 ctx->band[plane][i + 1].x = (w >> scale) * (((i + 1) % 3) != 2);
119 ctx->band[plane][i + 1].y = (h >> scale) * (((i + 1) % 3) != 1);
379 static void filterfn(int16_t *dest, int16_t *tmp, unsigned size, int64_t scale)
409 dest[i * 2] = av_clip_int16(((value >> 32) * (uint64_t)scale) >> 32);
420 dest[i * 2 + 1] = av_clip_int16(((value >> 32) * (uint64_t)scale) >> 32);