av_clipf 685 libavcodec/aacps.c g_decay_slope = av_clipf(g_decay_slope, 0.f, 1.f); av_clipf 345 libavcodec/aacpsy.c coeff->min_snr = av_clipf(1.0f / minsnr, PSY_SNR_25DB, PSY_SNR_1DB); av_clipf 487 libavcodec/aacpsy.c fill_level = av_clipf((float)ctx->fill_level / size, clip_low, clip_high); av_clipf 488 libavcodec/aacpsy.c clipped_pe = av_clipf(pe, ctx->pe.min, ctx->pe.max); av_clipf 681 libavcodec/aacpsy.c desired_pe *= av_clipf(pctx->pe.previous / PSY_3GPP_BITS_TO_PE(ctx->bitres.bits), av_clipf 956 libavcodec/ac3dec.c nratio = av_clipf(nratio, 0.0f, 1.0f); av_clipf 568 libavcodec/amrnbdec.c p->beta = av_clipf(p->pitch_gain[4], 0.0, SHARP_MAX); av_clipf 611 libavcodec/amrnbdec.c const float smoothing_factor = av_clipf(4.0 * diff - 1.6, 0.0, 1.0); av_clipf 876 libavcodec/amrwbdec.c return av_clipf((1.0 - FFMAX(0.0, tilt)) * (1.25 - 0.25 * wsp), 0.1, 1.0); av_clipf 67 libavcodec/audiodsp.c dst[i] = av_clipf(src[i], min, max); av_clipf 68 libavcodec/audiodsp.c dst[i + 1] = av_clipf(src[i + 1], min, max); av_clipf 69 libavcodec/audiodsp.c dst[i + 2] = av_clipf(src[i + 2], min, max); av_clipf 70 libavcodec/audiodsp.c dst[i + 3] = av_clipf(src[i + 3], min, max); av_clipf 71 libavcodec/audiodsp.c dst[i + 4] = av_clipf(src[i + 4], min, max); av_clipf 72 libavcodec/audiodsp.c dst[i + 5] = av_clipf(src[i + 5], min, max); av_clipf 73 libavcodec/audiodsp.c dst[i + 6] = av_clipf(src[i + 6], min, max); av_clipf 74 libavcodec/audiodsp.c dst[i + 7] = av_clipf(src[i + 7], min, max); av_clipf 482 libavcodec/evrcdec.c pitch_gain = av_clipf(pitch_gain, 0.2, 0.9); av_clipf 524 libavcodec/imc.c cwlen = av_clipf(((chctx->flcoeffs4[j] * 0.5) - summa + 0.5), 0, 6); av_clipf 159 libavcodec/libopusdec.c *pcm = av_clipf(*pcm * opus->gain.d, -1, 1); av_clipf 185 libavcodec/libspeexenc.c s->vbr_quality = av_clipf(avctx->global_quality / (float)FF_QP2LAMBDA, av_clipf 217 libavcodec/libtheoraenc.c t_info.quality = av_clipf(avc_context->global_quality / (float)FF_QP2LAMBDA, 0, 10) * 6.3; av_clipf 69 libavcodec/libwebpenc.c s->quality = av_clipf(avctx->global_quality / (float)FF_QP2LAMBDA, av_clipf 1414 libavcodec/opus_silk.c resptr[j] = av_clipf(sum, -1.0f, 1.0f) * scale / sf[i].gain; av_clipf 1439 libavcodec/opus_silk.c dst[j] = av_clipf(sum, -1.0f, 1.0f); av_clipf 1466 libavcodec/opus_silk.c l[i] = av_clipf((1 + interp1) * mid[i - 1] + side[i - 1] + interp0 * p0, -1.0, 1.0); av_clipf 1467 libavcodec/opus_silk.c r[i] = av_clipf((1 - interp1) * mid[i - 1] - side[i - 1] - interp0 * p0, -1.0, 1.0); av_clipf 1473 libavcodec/opus_silk.c l[i] = av_clipf((1 + w1) * mid[i - 1] + side[i - 1] + w0 * p0, -1.0, 1.0); av_clipf 1474 libavcodec/opus_silk.c r[i] = av_clipf((1 - w1) * mid[i - 1] - side[i - 1] - w0 * p0, -1.0, 1.0); av_clipf 114 libavcodec/ra288.c sum = av_clipf(sum, 0, 60); av_clipf 132 libavcodec/ratecontrol.c s->avctx->rc_max_available_vbv_use = av_clipf(s->avctx->rc_max_rate/(s->avctx->rc_buffer_size*get_fps(s->avctx)), 1.0/3, 1.0); av_clipf 194 libavcodec/twinvq.h y = av_clipf(y / clip, -1, 1); av_clipf 1340 libavcodec/wmavoice.c pred_err = av_clipf(wmavoice_gain_codebook_fcb[idx], av_clipf 544 libavfilter/af_replaygain.c return av_clipf(gain, -24.0, 64.0); av_clipf 194 libavfilter/f_ebur128.c v = av_clipf(v, 0, ebur128->scale_range); // make sure it's in the graph scale av_clipf 273 libavfilter/f_select.c ret = av_clipf(FFMIN(mafd, diff) / 100., 0, 1); av_clipf 174 libavfilter/transform.c y_s = av_clipf(y_s, 0, height - 1); av_clipf 175 libavfilter/transform.c x_s = av_clipf(x_s, 0, width - 1); av_clipf 303 libavfilter/vf_curves.c y[x] = av_clipf(yy, 0, 1) * 255; av_clipf 311 libavfilter/vf_deshake.c t->vec.x = av_clipf(t->vec.x, -deshake->rx * 2, deshake->rx * 2); av_clipf 312 libavfilter/vf_deshake.c t->vec.y = av_clipf(t->vec.y, -deshake->ry * 2, deshake->ry * 2); av_clipf 313 libavfilter/vf_deshake.c t->angle = av_clipf(t->angle, -0.1, 0.1); av_clipf 114 libavfilter/vf_eq.c eq->var_values[VAR_CONTRAST] = av_clipf(av_expr_eval(eq->contrast_pexpr, eq->var_values, eq),-2.0, 2.0); av_clipf 122 libavfilter/vf_eq.c eq->var_values[VAR_BRIGHTNESS] = av_clipf(av_expr_eval(eq->brightness_pexpr, eq->var_values, eq), -1.0, 1.0); av_clipf 132 libavfilter/vf_eq.c eq->var_values[VAR_GAMMA] = av_clipf(av_expr_eval(eq->gamma_pexpr, eq->var_values, eq), 0.1, 10.0); av_clipf 133 libavfilter/vf_eq.c eq->var_values[VAR_GAMMA_R] = av_clipf(av_expr_eval(eq->gamma_r_pexpr, eq->var_values, eq), 0.1, 10.0); av_clipf 134 libavfilter/vf_eq.c eq->var_values[VAR_GAMMA_G] = av_clipf(av_expr_eval(eq->gamma_g_pexpr, eq->var_values, eq), 0.1, 10.0); av_clipf 135 libavfilter/vf_eq.c eq->var_values[VAR_GAMMA_B] = av_clipf(av_expr_eval(eq->gamma_b_pexpr, eq->var_values, eq), 0.1, 10.0); av_clipf 136 libavfilter/vf_eq.c eq->var_values[VAR_GAMMA_WEIGHT] = av_clipf(av_expr_eval(eq->gamma_weight_pexpr, eq->var_values, eq), 0.0, 1.0); av_clipf 153 libavfilter/vf_eq.c eq->var_values[VAR_SATURATION] = av_clipf(av_expr_eval(eq->saturation_pexpr, eq->var_values, eq), 0.0, 3.0); av_clipf 83 libavfilter/vf_geq.c xi = x = av_clipf(x, 0, w - 2); av_clipf 84 libavfilter/vf_geq.c yi = y = av_clipf(y, 0, h - 2); av_clipf 340 libavfilter/vf_hue.c hue->brightness = av_clipf(hue->brightness, -10, 10); av_clipf 116 libavfilter/vf_noise.c y1 = av_clipf(y1, -128, 127); av_clipf 169 libavfilter/vf_vignette.c s->angle = av_clipf(av_expr_eval(s->angle_pexpr, s->var_values, NULL), 0, M_PI_2); av_clipf 202 libavresample/dither.c state->dither_b[0] = av_clipf(dst[i] - sample, -1.5f, 1.5f); av_clipf 475 libavutil/common.h #ifndef av_clipf av_clipf 847 libswresample/swresample.c int comp = av_clipf(fdelta, -max_soft_compensation, max_soft_compensation) * duration ;