Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
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()
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.c174 *zoom = av_clipd(*zoom, 1, 10); in output_single_frame()
181 x = *dx = av_clipd(*dx, 0, FFMAX(in->width - w, 0)); in output_single_frame()
187 y = *dy = av_clipd(*dy, 0, FFMAX(in->height - h, 0)); in output_single_frame()
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()
Davf_showfreqs.c297 a = log(av_clipd(a, min, 1)) / log(min); in plot_freq()
416 a = av_clipd(M(RE(0, ch), 0) / s->scale, 0, 1); in plot_freqs()
420 a = av_clipd(M(RE(f, ch), IM(f, ch)) / s->scale, 0, 1); in plot_freqs()
Dvf_colorkey.c51 return av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0) * 255.0; in do_colorkey_pixel()
Daf_afade.c97 gain = av_clipd(1.0 * index / range, 0, 1.0); in fade_gain()
122 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); \
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_xfade.c1313 xi = av_clipd(x, 0, w - 1); in getpix()
1314 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.h597 #ifndef av_clipd
598 # 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()