Searched refs:av_clipl_int32 (Results 1 – 19 of 19) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | g723_1enc.c | 135 buf[i] = av_clipl_int32((int64_t)*iir + (1 << 15)) >> 16; in highpass_filter() 164 autocorr[0] = av_clipl_int32((int64_t) (temp << scale) + in comp_autocorr() 174 autocorr[i] = av_clipl_int32((int64_t) temp + (1 << 15)) >> 16; in comp_autocorr() 207 lpc[i] = av_clipl_int32((int64_t) (partial_corr << 14) + in levinson_durbin() 212 error = av_clipl_int32((int64_t) (error << 16) - temp + in levinson_durbin() 218 lpc[j] = av_clipl_int32((int64_t) (lpc[j] << 16) - temp + in levinson_durbin() 284 f[i] = av_clipl_int32((int64_t) (f[i] << shift) + (1 << 15)) >> 16; in lpc2lsp() 294 prev_val = av_clipl_int32(temp << 1); in lpc2lsp() 301 cur_val = av_clipl_int32(temp << 1); in lpc2lsp() 325 cur_val = av_clipl_int32(temp << 1); in lpc2lsp() [all …]
|
D | g723_1.c | 1224 f1[i + 1] = av_clipl_int32(f1[i - 1] + (int64_t)MULL2(f1[i], lpc[2 * i])); in lsp2lpc() 1225 f2[i + 1] = av_clipl_int32(f2[i - 1] + (int64_t)MULL2(f2[i], lpc[2 * i + 1])); in lsp2lpc() 1245 lpc[i] = av_clipl_int32(((ff1 + ff2) * 8) + (1 << 15)) >> 16; in lsp2lpc() 1246 lpc[LPC_ORDER - i - 1] = av_clipl_int32(((ff1 - ff2) * 8) + in lsp2lpc()
|
D | flacdsp_lpc_template.c | 34 # define CLIP(x) av_clipl_int32(x)
|
D | g723_1dec.c | 602 (dest)[m] = av_clipl_int32(((src)[m] * 65536) + (filter * 8) +\ 712 energy = av_clipl_int32((int64_t)auto_corr[1] << -temp); in formant_postfilter() 757 x = av_clipl_int32(t * (int64_t)cng_filt[0] >> 16); in estimate_sid_gain() 892 c = (av_clipl_int32(sum << 1) - c) * 2979LL >> 15; in generate_noise()
|
D | ilbcdec.c | 909 return av_clipl_int32(sum); in scale_dot_product()
|
D | flacenc.c | 614 k = av_log2(av_clipl_int32(sum2 / n)); in find_optimal_param()
|
/third_party/ffmpeg/libavutil/ |
D | common.h | 139 #ifndef av_clipl_int32 140 # define av_clipl_int32 av_clipl_int32_c macro 328 return av_clipl_int32((int64_t)a + b); in av_sat_add32_c() 352 return av_clipl_int32((int64_t)a - b); in av_sat_sub32_c()
|
/third_party/ffmpeg/libavresample/ |
D | resample_template.c | 46 #define OUT(d, v) d = av_clipl_int32((v + (1 << 29)) >> 30) 47 #define DBL_TO_FELEM(d, v) d = av_clipl_int32(llrint(v * (1 << 30)));
|
D | audio_convert.c | 209 CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, float, av_clipl_int32(llrintf(*(co… in CONV_FUNC_GROUP() 214 CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, double, av_clipl_int32(llrint(*(con… in CONV_FUNC_GROUP()
|
D | audio_mix.c | 705 CONVERT_MATRIX(q15, av_clipl_int32(llrint(32768.0 * v))) in ff_audio_mix_set_matrix()
|
/third_party/ffmpeg/libavfilter/ |
D | af_dcshift.c | 126 dst[j] = av_clipl_int32(d); in filter_frame() 137 dst[j] = av_clipl_int32(d); in filter_frame()
|
D | af_volume.c | 223 smp_dst[i] = av_clipl_int32((((int64_t)smp_src[i] * volume + 128) >> 8)); in scale_samples_s32()
|
/third_party/ffmpeg/libavutil/arm/ |
D | intmath.h | 117 #define av_clipl_int32 av_clipl_int32_arm macro
|
/third_party/ffmpeg/libswresample/ |
D | audioconvert.c | 80 CONV_FUNC(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_FLT, av_clipl_int32(llrintf(*(const float*)pi *… 86 CONV_FUNC(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_DBL, av_clipl_int32(llrint(*(const double*)pi *…
|
D | resample_template.c | 58 # define OUT(d, v) (d) = av_clipl_int32((v)>>FILTER_SHIFT)
|
D | resample.c | 214 ((int32_t*)filter)[ph * alloc + i] = av_clipl_int32(llrint(tab[i] * scale / norm)); in build_filter()
|
/third_party/ffmpeg/libavfilter/x86/ |
D | af_volume.asm | 120 ; src[i] = av_clipl_int32((src[i] * volume + 128) >> 8);
|
/third_party/ffmpeg/libavresample/tests/ |
D | avresample.c | 56 PUT_FUNC(s32, AV_SAMPLE_FMT_S32, int32_t, av_clipl_int32(llrint(v_dbl * (1U << 31)))) in PUT_FUNC()
|
/third_party/ffmpeg/libswresample/tests/ |
D | swresample.c | 71 case AV_SAMPLE_FMT_S32: ((int32_t*)p)[index]= av_clipl_int32(llrint(v*2147483647)); break; in set()
|