av_clipd 220 libavfilter/af_aecho.c *d = av_clipd(out, min, max); \ av_clipd 97 libavfilter/af_afade.c gain = av_clipd(1.0 * index / range, 0, 1.0); av_clipd 122 libavfilter/af_afade.c gain = av_clipd(1 + 0.2 * log10(gain), 0, 1.0); av_clipd 408 libavfilter/af_afftdn.c sum = av_clipd(sum, -min, max); av_clipd 799 libavfilter/af_afftdn.c dnch->band_excit[i] = av_clipd(dnch->band_excit[i], min, max); av_clipd 267 libavfilter/af_alimiter.c dst[c] = av_clipd(dst[c], -limit, limit) * level * level_out; av_clipd 146 libavfilter/af_crystalizer.c dst[c] = av_clipd(dst[c], -1, 1); av_clipd 215 libavfilter/af_crystalizer.c dst[n] = av_clipd(dst[n], -1, 1); av_clipd 442 libavfilter/avf_showcqt.c x = av_clipd(x, 0.0, 1.0); av_clipd 448 libavfilter/avf_showcqt.c x = av_clipd(x, 0.0, 1.0); av_clipd 454 libavfilter/avf_showcqt.c x = av_clipd(x, 0.0, 1.0); av_clipd 297 libavfilter/avf_showfreqs.c a = log(av_clipd(a, min, 1)) / log(min); av_clipd 416 libavfilter/avf_showfreqs.c a = av_clipd(M(RE(0, ch), 0) / s->scale, 0, 1); av_clipd 420 libavfilter/avf_showfreqs.c a = av_clipd(M(RE(f, ch), IM(f, ch)) / s->scale, 0, 1); av_clipd 65 libavfilter/vf_chromakey.c return av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0) * 255.0; av_clipd 87 libavfilter/vf_chromakey.c return av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0) * max; av_clipd 204 libavfilter/vf_chromakey.c double f = 1. - av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0); av_clipd 243 libavfilter/vf_chromakey.c double f = 1. - av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0); av_clipd 51 libavfilter/vf_colorkey.c return av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0) * 255.0; av_clipd 509 libavfilter/vf_deshake_opencl.c confidence = av_clipd(confidence, 0.0, 1.0); av_clipd 510 libavfilter/vf_deshake_opencl.c num_outliers = av_clipd(num_outliers, 0.0, 1.0); av_clipd 111 libavfilter/vf_geq.c xi = x = av_clipd(x, 0, w - 2); av_clipd 112 libavfilter/vf_geq.c yi = y = av_clipd(y, 0, h - 2); av_clipd 128 libavfilter/vf_geq.c xi = av_clipd(x, 0, w - 1); av_clipd 129 libavfilter/vf_geq.c yi = av_clipd(y, 0, h - 1); av_clipd 209 libavfilter/vf_geq.c return getpix_integrate_internal(geq, lrint(av_clipd(x, -w, 2*w)), lrint(av_clipd(y, -h, 2*h)), plane, w, h); av_clipd 1313 libavfilter/vf_xfade.c xi = av_clipd(x, 0, w - 1); av_clipd 1314 libavfilter/vf_xfade.c yi = av_clipd(y, 0, h - 1); av_clipd 174 libavfilter/vf_zoompan.c *zoom = av_clipd(*zoom, 1, 10); av_clipd 181 libavfilter/vf_zoompan.c x = *dx = av_clipd(*dx, 0, FFMAX(in->width - w, 0)); av_clipd 187 libavfilter/vf_zoompan.c y = *dy = av_clipd(*dy, 0, FFMAX(in->height - h, 0)); av_clipd 597 libavutil/common.h #ifndef av_clipd av_clipd 213 libavutil/eval.c return e->value * av_clipd(eval_expr(p, e->param[0]), min, max);