/third_party/ffmpeg/libavfilter/ |
D | af_crystalizer.c | 131 filters(dbl, double, inverse, noclip, 1, 0, 1.0, av_clipd, 1) 132 filters(dbl, double, inverse, clip, 1, 1, 1.0, av_clipd, 1) 133 filters(dbl, double, noinverse, noclip, 0, 0, 1.0, av_clipd, 1) 134 filters(dbl, double, noinverse, clip, 0, 1, 1.0, av_clipd, 1) 136 filters(dblp, double, inverse, noclip, 1, 0, 1.0, av_clipd, 0) 137 filters(dblp, double, inverse, clip, 1, 1, 1.0, av_clipd, 0) 138 filters(dblp, double, noinverse, noclip, 0, 0, 1.0, av_clipd, 0) 139 filters(dblp, double, noinverse, clip, 0, 1, 1.0, av_clipd, 0)
|
D | vf_geq.c | 112 xi = x = av_clipd(x, 0, w - 2); in getpix() 113 yi = y = av_clipd(y, 0, h - 2); in getpix() 135 xi = av_clipd(x, 0, w - 1); in getpix() 136 yi = av_clipd(y, 0, h - 1); in getpix() 233 …return getpix_integrate_internal(geq, lrint(av_clipd(x, -w, 2*w)), lrint(av_clipd(y, -h, 2*h)), pl… in getpix_integrate()
|
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 | 179 *zoom = av_clipd(*zoom, 1, 10); in output_single_frame() 186 x = *dx = av_clipd(*dx, 0, FFMAX(in->width - w, 0)); in output_single_frame() 192 y = *dy = av_clipd(*dy, 0, FFMAX(in->height - h, 0)); in output_single_frame()
|
D | avf_showfreqs.c | 314 a = log(av_clipd(a, min, 1)) / log(min); in plot_freq() 447 a = av_clipd(M(RE(f, ch), IM(f, ch)) / s->scale, 0, 1); in plot_freqs() 454 a = av_clipd((M_PI + P(RE(f, ch), IM(f, ch))) / (2. * M_PI), 0, 1); in plot_freqs() 461 a = av_clipd((M_PI - P(IM(f, ch) * RE(f-1, ch) - IM(f-1, ch) * RE(f, ch), in plot_freqs()
|
D | af_asubboost.c | 140 boost = av_clipd((1. - (fabs(src[n] * dry))) / fabs(buffer[write_pos]), 0., max_boost); in filter_channels() 142 w[2] = av_clipd(w[2], 0., max_boost); in filter_channels()
|
D | af_afftdn.c | 386 const double new_floor = av_clipd(10.0 * log10(den) - 100.0 + offset, -90., -20.); in process_frame() 543 band_noise[i] = av_clipd(noise, -24., 24.); in read_custom_noise() 574 …dnch->last_residual_floor = av_clipd(dnch->last_noise_floor - dnch->last_noise_reduction, -80, -20… in set_parameters() 786 dnch->band_excit[i] = av_clipd(dnch->band_excit[i], min, max); in config_input() 965 new_band_noise[m] = av_clipd(new_band_noise[m], -24.0, 24.0); in set_noise_profile()
|
D | vf_colorkey.c | 60 return av_clipd((diff - similarity) * iblend, 0.0, 1.0) * max; in do_colorkey_pixel()
|
D | af_afade.c | 75 gain = av_clipd(1.0 * index / range, 0, 1.0); in fade_gain() 100 gain = av_clipd(1 + 0.2 * log10(gain), 0, 1.0); in fade_gain()
|
D | af_aecho.c | 189 *d = av_clipd(out, min, max); \
|
D | af_alimiter.c | 285 dst[c] = av_clipd(dst[c], -limit, limit) * level * level_out; in filter_frame()
|
D | af_astats.c | 318 index = av_clip(lrint(av_clipd(FFABS(nd), 0.0, 1.0) * HISTOGRAM_MAX), 0, HISTOGRAM_MAX); in update_stat() 323 … p->histogram[av_clip(lrint(av_clipd(FFABS(drop), 0.0, 1.0) * HISTOGRAM_MAX), 0, HISTOGRAM_MAX)]--; in update_stat()
|
D | af_asoftclip.c | 294 dst[n] = av_clipd(dst[n] * factor, -1., 1.); in filter_dbl()
|
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 | vf_deshake_opencl.c | 501 confidence = av_clipd(confidence, 0.0, 1.0); in ransac_update_num_iters() 502 num_outliers = av_clipd(num_outliers, 0.0, 1.0); in ransac_update_num_iters()
|
D | vf_pseudocolor.c | 130 return av_clipd(x, 0., 1.); in limit()
|
D | vf_xfade.c | 1752 xi = av_clipd(x, 0, w - 1); in getpix() 1753 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 139 #undef av_clipd 140 #define av_clipd av_clipd_avx macro
|
/third_party/ffmpeg/libavutil/ |
D | common.h | 145 #ifndef av_clipd 146 # 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 | 75 st->codecpar->sample_rate = av_clipd(av_int2double(avio_rb64(pb)), 0, INT_MAX); in read_desc_chunk()
|
D | sbgdec.c | 201 ts = av_clipd(seconds * AV_TIME_BASE, INT64_MIN/2, INT64_MAX/2); in str_to_time()
|