av_clipl_int32 107 libavcodec/audioconvert.c else CONV(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, av_clipl_int32(llrintf(*(const float*)pi * (1U<<31)))) av_clipl_int32 112 libavcodec/audioconvert.c else CONV(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, av_clipl_int32(llrint(*(const double*)pi * (1U<<31)))) av_clipl_int32 34 libavcodec/flacdsp_lpc_template.c # define CLIP(x) av_clipl_int32(x) av_clipl_int32 581 libavcodec/flacenc.c k = av_log2(av_clipl_int32(sum2 / n)); av_clipl_int32 406 libavcodec/g723_1.c lpc[i] = av_clipl_int32(((ff1 + ff2) << 3) + (1 << 15)) >> 16; av_clipl_int32 407 libavcodec/g723_1.c lpc[LPC_ORDER - i - 1] = av_clipl_int32(((ff1 - ff2) << 3) + av_clipl_int32 834 libavcodec/g723_1.c (dest)[m] = av_clipl_int32(((src)[m] << 16) + (filter << 3) +\ av_clipl_int32 945 libavcodec/g723_1.c energy = av_clipl_int32((int64_t)auto_corr[1] << -temp); av_clipl_int32 1117 libavcodec/g723_1.c c = (av_clipl_int32(sum << 1) - c) * 2979LL >> 15; av_clipl_int32 1391 libavcodec/g723_1.c buf[i] = av_clipl_int32((int64_t)*iir + (1 << 15)) >> 16; av_clipl_int32 1420 libavcodec/g723_1.c autocorr[0] = av_clipl_int32((int64_t)(temp << scale) + av_clipl_int32 1430 libavcodec/g723_1.c autocorr[i] = av_clipl_int32((int64_t)temp + (1 << 15)) >> 16; av_clipl_int32 1463 libavcodec/g723_1.c lpc[i] = av_clipl_int32((int64_t)(partial_corr << 14) + av_clipl_int32 1468 libavcodec/g723_1.c error = av_clipl_int32((int64_t)(error << 16) - temp + av_clipl_int32 1474 libavcodec/g723_1.c lpc[j] = av_clipl_int32((int64_t)(lpc[j] << 16) - temp + av_clipl_int32 1540 libavcodec/g723_1.c f[i] = av_clipl_int32((int64_t)(f[i] << shift) + (1 << 15)) >> 16; av_clipl_int32 1550 libavcodec/g723_1.c prev_val = av_clipl_int32(temp << 1); av_clipl_int32 1557 libavcodec/g723_1.c cur_val = av_clipl_int32(temp << 1); av_clipl_int32 1582 libavcodec/g723_1.c cur_val = av_clipl_int32(temp<<1); av_clipl_int32 1728 libavcodec/g723_1.c ccr = av_clipl_int32((int64_t)(ccr << exp) + (1 << 15)) >> 16; av_clipl_int32 1736 libavcodec/g723_1.c eng = av_clipl_int32((int64_t)(orig_eng << temp) + (1 << 15)) >> 16; av_clipl_int32 1798 libavcodec/g723_1.c energy[i] = av_clipl_int32((int64_t)(energy[i] << exp) + av_clipl_int32 1853 libavcodec/g723_1.c dest[i] = av_clipl_int32((src[i] << 16) - temp + (1 << 15)) >> 16; av_clipl_int32 1862 libavcodec/g723_1.c dest[i] = av_clipl_int32(((dest[i] - src[i]) << 16) + temp + av_clipl_int32 1896 libavcodec/g723_1.c bptr_16[i] = av_clipl_int32(buf[i] + (1 << 15)) >> 16; av_clipl_int32 1905 libavcodec/g723_1.c dest[i] = av_clipl_int32(((buf[i] + (fir << 3)) << scale) + (iir << 3) + av_clipl_int32 1955 libavcodec/g723_1.c flt_buf[PITCH_ORDER - 1][j] = av_clipl_int32((temp << 1) + av_clipl_int32 1964 libavcodec/g723_1.c flt_buf[j][k] = av_clipl_int32((temp << 1) + (1 << 15)) >> 16; av_clipl_int32 1971 libavcodec/g723_1.c ccr_buf[count++] = av_clipl_int32(temp << 1); av_clipl_int32 1983 libavcodec/g723_1.c ccr_buf[count++] = av_clipl_int32(temp<<2); av_clipl_int32 1996 libavcodec/g723_1.c ccr_buf[i] = av_clipl_int32((int64_t)(ccr_buf[i] << temp) + av_clipl_int32 2013 libavcodec/g723_1.c temp = av_clipl_int32(temp); av_clipl_int32 2049 libavcodec/g723_1.c buf[i] = av_clipl_int32((temp << 2) + (1 << 15)) >> 16; av_clipl_int32 2088 libavcodec/g723_1.c impulse_corr[0] = av_clipl_int32((temp << scale) + (1 << 15)) >> 16; av_clipl_int32 2092 libavcodec/g723_1.c impulse_corr[i] = av_clipl_int32((temp << scale) + (1 << 15)) >> 16; av_clipl_int32 2102 libavcodec/g723_1.c ccr1[i] = av_clipl_int32(temp << scale); av_clipl_int32 2122 libavcodec/g723_1.c temp = av_clipl_int32((int64_t)fixed_cb_gain[j] * av_clipl_int32 2150 libavcodec/g723_1.c temp = av_clipl_int32((int64_t)temp * av_clipl_int32 2174 libavcodec/g723_1.c int prod = av_clipl_int32((int64_t)temp_corr[l] * av_clipl_int32 2176 libavcodec/g723_1.c temp = av_clipl_int32(temp + prod); av_clipl_int32 2185 libavcodec/g723_1.c prod = av_clipl_int32((int64_t)buf[k] * temp_corr[k] << 1); av_clipl_int32 2186 libavcodec/g723_1.c err = av_clipl_int32(err - prod); av_clipl_int32 2187 libavcodec/g723_1.c prod = av_clipl_int32((int64_t)temp_corr[k] * temp_corr[k]); av_clipl_int32 2188 libavcodec/g723_1.c err = av_clipl_int32(err + prod); av_clipl_int32 211 libavfilter/af_asyncts.c out_size = av_clipl_int32((int64_t)out_size + delta); av_clipl_int32 118 libavfilter/af_dcshift.c dst[j] = av_clipl_int32(d); av_clipl_int32 129 libavfilter/af_dcshift.c dst[j] = av_clipl_int32(d); av_clipl_int32 218 libavfilter/af_volume.c smp_dst[i] = av_clipl_int32((((int64_t)smp_src[i] * volume + 128) >> 8)); av_clipl_int32 209 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(const float *)pi * (1U << 31)))) av_clipl_int32 214 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(const double *)pi * (1U << 31)))) av_clipl_int32 705 libavresample/audio_mix.c CONVERT_MATRIX(q15, av_clipl_int32(llrint(32768.0 * v))) av_clipl_int32 55 libavresample/avresample-test.c PUT_FUNC(s32, AV_SAMPLE_FMT_S32, int32_t, av_clipl_int32(llrint(v_dbl * (1U << 31)))) av_clipl_int32 46 libavresample/resample_template.c #define OUT(d, v) d = av_clipl_int32((v + (1 << 29)) >> 30) av_clipl_int32 47 libavresample/resample_template.c #define DBL_TO_FELEM(d, v) d = av_clipl_int32(llrint(v * (1 << 30))); av_clipl_int32 222 libavutil/common.h return av_clipl_int32((int64_t)a + b); av_clipl_int32 460 libavutil/common.h #ifndef av_clipl_int32 av_clipl_int32 71 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, av_clipl_int32(llrintf(*(const float*)pi * (1U<<31)))) av_clipl_int32 76 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, av_clipl_int32(llrint(*(const double*)pi * (1U<<31)))) av_clipl_int32 121 libswresample/resample.c ((int32_t*)filter)[ph * alloc + i] = av_clipl_int32(llrint(tab[i] * scale / norm)); av_clipl_int32 70 libswresample/swresample-test.c case AV_SAMPLE_FMT_S32: ((int32_t*)p)[index]= av_clipl_int32(llrint(v*2147483647)); break;