Home
last modified time | relevance | path

Searched refs:av_clipd (Results 1 – 21 of 21) sorted by relevance

/third_party/ffmpeg/libavfilter/
Davf_showfreqs.c303 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()
Dvf_geq.c111 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()
Daf_crystalizer.c146 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()
Dvf_chromakey.c65 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()
Dvf_zoompan.c180 *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()
Dvf_colorkey.c51 return av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0) * 255.0; in do_colorkey_pixel()
Daf_afade.c98 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()
Daf_alimiter.c267 dst[c] = av_clipd(dst[c], -limit, limit) * level * level_out; in filter_frame()
Daf_aecho.c220 *d = av_clipd(out, min, max); \
Daf_asoftclip.c224 dst[n] = av_clipd(src[n] * factor, -1., 1.); in filter_dbl()
Daf_astats.c332 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()
Davf_showcqt.c442 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()
Daf_afftdn.c408 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()
Dvf_deshake_opencl.c509 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()
Dvf_pseudocolor.c544 return av_clipd(res, 0., 1.); in poly_eval()
Dvf_xfade.c1646 xi = av_clipd(x, 0, w - 1); in getpix()
1647 yi = av_clipd(y, 0, h - 1); in getpix()
/third_party/ffmpeg/libavutil/x86/
Dintmath.h107 #define av_clipd av_clipd_sse2 macro
/third_party/ffmpeg/libavutil/
Dcommon.h172 #ifndef av_clipd
173 # define av_clipd av_clipd_c macro
Deval.c213 return e->value * av_clipd(eval_expr(p, e->param[0]), min, max); in eval_expr()
/third_party/ffmpeg/libavformat/
Dcafdec.c73 st->codecpar->sample_rate = av_clipd(av_int2double(avio_rb64(pb)), 0, INT_MAX); in read_desc_chunk()
Dsbgdec.c200 ts = av_clipd(seconds * AV_TIME_BASE, INT64_MIN/2, INT64_MAX/2); in str_to_time()