/third_party/ffmpeg/libavfilter/ |
D | avf_showfreqs.c | 303 a = log(av_clipd(a, min, 1)) / log(min); in plot_freq() 425 a = av_clipd(M(RE(0, ch), 0) / s->scale, 0, 1); in plot_freqs() 429 a = av_clipd(M(RE(f, ch), IM(f, ch)) / s->scale, 0, 1); in plot_freqs() 435 a = av_clipd((M_PI + P(RE(0, ch), 0)) / (2. * M_PI), 0, 1); in plot_freqs() 439 a = av_clipd((M_PI + P(RE(f, ch), IM(f, ch))) / (2. * M_PI), 0, 1); in plot_freqs() 448 a = av_clipd((M_PI - P(IM(f, ch) * RE(f-1, ch) - IM(f-1, ch) * RE(f, ch), in plot_freqs()
|
D | vf_geq.c | 111 xi = x = av_clipd(x, 0, w - 2); in getpix() 112 yi = y = av_clipd(y, 0, h - 2); in getpix() 128 xi = av_clipd(x, 0, w - 1); in getpix() 129 yi = av_clipd(y, 0, h - 1); in getpix() 209 …return getpix_integrate_internal(geq, lrint(av_clipd(x, -w, 2*w)), lrint(av_clipd(y, -h, 2*h)), pl… in getpix_integrate()
|
D | af_crystalizer.c | 146 dst[c] = av_clipd(dst[c], -1, 1); in filter_dbl() 215 dst[n] = av_clipd(dst[n], -1, 1); in filter_dblp() 285 dst[c] = av_clipd(dst[c], -1, 1); in ifilter_dbl() 356 dst[n] = av_clipd(dst[n], -1, 1); in ifilter_dblp()
|
D | vf_chromakey.c | 65 return av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0) * 255.0; in do_chromakey_pixel() 87 return av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0) * max; in do_chromakey_pixel16() 204 double f = 1. - av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0); in do_chromahold_slice() 243 double f = 1. - av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0); in do_chromahold16_slice()
|
D | vf_zoompan.c | 180 *zoom = av_clipd(*zoom, 1, 10); in output_single_frame() 187 x = *dx = av_clipd(*dx, 0, FFMAX(in->width - w, 0)); in output_single_frame() 193 y = *dy = av_clipd(*dy, 0, FFMAX(in->height - h, 0)); in output_single_frame()
|
D | vf_colorkey.c | 51 return av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0) * 255.0; in do_colorkey_pixel()
|
D | af_afade.c | 98 gain = av_clipd(1.0 * index / range, 0, 1.0); in fade_gain() 123 gain = av_clipd(1 + 0.2 * log10(gain), 0, 1.0); in fade_gain()
|
D | af_alimiter.c | 267 dst[c] = av_clipd(dst[c], -limit, limit) * level * level_out; in filter_frame()
|
D | af_aecho.c | 220 *d = av_clipd(out, min, max); \
|
D | af_asoftclip.c | 224 dst[n] = av_clipd(src[n] * factor, -1., 1.); in filter_dbl()
|
D | af_astats.c | 332 index = av_clip(lrint(av_clipd(FFABS(nd), 0.0, 1.0) * HISTOGRAM_MAX), 0, HISTOGRAM_MAX); in update_stat() 336 … p->histogram[av_clip(lrint(av_clipd(FFABS(drop), 0.0, 1.0) * HISTOGRAM_MAX), 0, HISTOGRAM_MAX)]--; in update_stat()
|
D | avf_showcqt.c | 442 x = av_clipd(x, 0.0, 1.0); in r_func() 448 x = av_clipd(x, 0.0, 1.0); in g_func() 454 x = av_clipd(x, 0.0, 1.0); in b_func()
|
D | af_afftdn.c | 408 sum = av_clipd(sum, -min, max); in process_frame() 799 dnch->band_excit[i] = av_clipd(dnch->band_excit[i], min, max); in config_input()
|
D | vf_deshake_opencl.c | 509 confidence = av_clipd(confidence, 0.0, 1.0); in ransac_update_num_iters() 510 num_outliers = av_clipd(num_outliers, 0.0, 1.0); in ransac_update_num_iters()
|
D | vf_pseudocolor.c | 544 return av_clipd(res, 0., 1.); in poly_eval()
|
D | vf_xfade.c | 1646 xi = av_clipd(x, 0, w - 1); in getpix() 1647 yi = av_clipd(y, 0, h - 1); in getpix()
|
/third_party/ffmpeg/libavutil/x86/ |
D | intmath.h | 107 #define av_clipd av_clipd_sse2 macro
|
/third_party/ffmpeg/libavutil/ |
D | common.h | 172 #ifndef av_clipd 173 # define av_clipd av_clipd_c macro
|
D | eval.c | 213 return e->value * av_clipd(eval_expr(p, e->param[0]), min, max); in eval_expr()
|
/third_party/ffmpeg/libavformat/ |
D | cafdec.c | 73 st->codecpar->sample_rate = av_clipd(av_int2double(avio_rb64(pb)), 0, INT_MAX); in read_desc_chunk()
|
D | sbgdec.c | 200 ts = av_clipd(seconds * AV_TIME_BASE, INT64_MIN/2, INT64_MAX/2); in str_to_time()
|