Home
last modified time | relevance | path

Searched refs:lag (Results 1 – 25 of 463) sorted by relevance

12345678910>>...19

/third_party/ffmpeg/libavcodec/
Dsbrdsp.c103 float phi[3][2][2], int lag)
108 if (lag) {
110 real_sum += x[i][0] * x[i+lag][0] + x[i][1] * x[i+lag][1];
111 imag_sum += x[i][0] * x[i+lag][1] - x[i][1] * x[i+lag][0];
113 phi[2-lag][1][0] = real_sum + x[ 0][0] * x[lag][0] + x[ 0][1] * x[lag][1];
114 phi[2-lag][1][1] = imag_sum + x[ 0][0] * x[lag][1] - x[ 0][1] * x[lag][0];
115 if (lag == 1) {
Dsbrdsp_fixed.c146 static av_always_inline void autocorrelate(const int x[40][2], SoftFloat phi[3][2][2], int lag) in autocorrelate() argument
152 if (lag) { in autocorrelate()
154 accu_re += (uint64_t)x[i][0] * x[i+lag][0]; in autocorrelate()
155 accu_re += (uint64_t)x[i][1] * x[i+lag][1]; in autocorrelate()
156 accu_im += (uint64_t)x[i][0] * x[i+lag][1]; in autocorrelate()
157 accu_im -= (uint64_t)x[i][1] * x[i+lag][0]; in autocorrelate()
163 accu_re += (uint64_t)x[ 0][0] * x[lag][0]; in autocorrelate()
164 accu_re += (uint64_t)x[ 0][1] * x[lag][1]; in autocorrelate()
165 accu_im += (uint64_t)x[ 0][0] * x[lag][1]; in autocorrelate()
166 accu_im -= (uint64_t)x[ 0][1] * x[lag][0]; in autocorrelate()
[all …]
Daacenc_ltp.c47 put_bits(&s->pb, 11, ics->ltp.lag); in ff_aac_encode_ltp_info()
69 sce->ics.ltp.lag = 0; in ff_aac_ltp_insert_new_frame()
77 int i, j, lag = 0, max_corr = 0; in get_lag() local
90 lag = i; in get_lag()
94 ltp->lag = FFMAX(av_clip_uintp2(lag, 11), 0); in get_lag()
102 if (!ltp->lag) { in generate_samples()
105 } else if (ltp->lag < 1024) { in generate_samples()
106 samples_num = ltp->lag + 1024; in generate_samples()
109 buf[i] = ltp->coef*buf[i + 2048 - ltp->lag]; in generate_samples()
169 if (sce->ics.ltp.lag) { in ff_aac_search_for_ltp()
[all …]
Dgsmdec_template.c47 static void long_term_synth(int16_t *dst, int lag, int gain_idx) in long_term_synth() argument
50 const int16_t *src = dst - lag; in long_term_synth()
139 int lag = get_bits(gb, 7); in gsm_decode_block() local
142 lag = av_clip(lag, 40, 120); in gsm_decode_block()
143 long_term_synth(ref_dst, lag, gain_idx); in gsm_decode_block()
Dg723_1dec.c317 int offset, beta, lag; in gen_fcb_excitation() local
327 lag = pitch_contrib[subfrm->ad_cb_gain << 1] + pitch_lag + in gen_fcb_excitation()
331 if (lag < SUBFRAME_LEN - 2) { in gen_fcb_excitation()
332 for (i = lag; i < SUBFRAME_LEN; i++) in gen_fcb_excitation()
333 vector[i] += beta * vector[i - lag] >> 15; in gen_fcb_excitation()
351 int limit, ccr, lag = 0; in autocorr_max() local
365 lag = i; in autocorr_max()
368 return lag; in autocorr_max()
381 static void comp_ppf_gains(int lag, PPFParam *ppf, enum Rate cur_rate, in comp_ppf_gains() argument
387 ppf->index = lag; in comp_ppf_gains()
[all …]
Dg723_1.c1132 int lag) in ff_g723_1_get_residual() argument
1134 int offset = PITCH_MAX - PITCH_ORDER / 2 - lag; in ff_g723_1_get_residual()
1142 residual[i] = prev_excitation[offset + (i - 2) % lag]; in ff_g723_1_get_residual()
1163 int lag = pitch_lag + subfrm->ad_cb_lag - 1; in ff_g723_1_gen_acb_excitation() local
1168 ff_g723_1_get_residual(residual, prev_excitation, lag); in ff_g723_1_gen_acb_excitation()
Dilbcdec.c654 int16_t lag; in get_codebook() local
678 lag = k / 2; in get_codebook()
680 create_augmented_vector(lag, mem + lMem, cbvec); in get_codebook()
708 lag = (cbveclen << 1) - 20 + index - base_size - lMem - 1; in get_codebook()
710 create_augmented_vector(lag, tempbuff2 + SUBL + 5, cbvec); in get_codebook()
913 int16_t lag, int16_t blen, int16_t srange, int16_t scale) in correlation() argument
917 w16ptr = &buffer[blen - srange - lag]; in correlation()
962 int16_t j, lag, tmp1, tmp2, randlag; in do_plc() local
1003 lag = inlag - 3; in do_plc()
1008 correlation(&cross, &ener, s->prevResidual, lag, s->block_samples, corrLen, scale3); in do_plc()
[all …]
Dcelp_filters.c51 const float *lagged, int lag, float fac, int n) in ff_celp_circ_addf() argument
54 for (k = 0; k < lag; k++) in ff_celp_circ_addf()
55 out[k] = in[k] + fac * lagged[n + k - lag]; in ff_celp_circ_addf()
57 out[k] = in[k] + fac * lagged[ k - lag]; in ff_celp_circ_addf()
Dra144enc.c172 static void create_adapt_vect(float *vect, const int16_t *cb, int lag) in create_adapt_vect() argument
176 cb += BUFFERSIZE - lag; in create_adapt_vect()
177 for (i = 0; i < FFMIN(BLOCKSIZE, lag); i++) in create_adapt_vect()
179 if (lag < BLOCKSIZE) in create_adapt_vect()
180 for (i = 0; i < BLOCKSIZE - lag; i++) in create_adapt_vect()
181 vect[lag + i] = cb[i]; in create_adapt_vect()
Damrnbdec.c677 int lag = in->pitch_lag; in apply_ir_filter() local
681 if (lag < AMR_SUBFRAME_SIZE) { in apply_ir_filter()
682 ff_celp_circ_addf(filter1, filter, filter, lag, fac, in apply_ir_filter()
685 if (lag < AMR_SUBFRAME_SIZE >> 1) in apply_ir_filter()
686 ff_celp_circ_addf(filter2, filter, filter1, lag, fac, in apply_ir_filter()
696 if (x >= AMR_SUBFRAME_SIZE - lag) { in apply_ir_filter()
698 } else if (x >= AMR_SUBFRAME_SIZE - (lag << 1)) { in apply_ir_filter()
/third_party/boost/libs/random/extra/
Dhaertel.hpp101 lag = r-s; in seed()
106 result_type tmp = values[current] + values[lag]; in operator ()()
113 ++lag; in operator ()()
114 if(lag >= r) in operator ()()
115 lag = 0; in operator ()()
121 int current, lag; member in boost::random::lagged_fibonacci_int
/third_party/ffmpeg/libavfilter/
Dvf_readeia608.c254 int lag, float threshold, float influence, int len) in thresholding() argument
256 for (int i = lag; i < len + lag; i++) { in thresholding()
261 for (int i = 0; i < lag; i++) { in thresholding()
266 line[lag - 1].average = meanf(line, lag); in thresholding()
267 line[lag - 1].deviation = stddevf(line, lag); in thresholding()
269 for (int i = lag; i < len + lag; i++) { in thresholding()
287 line[i].average = meanf(line + i - lag, lag); in thresholding()
288 line[i].deviation = stddevf(line + i - lag, lag); in thresholding()
/third_party/ffmpeg/libavcodec/x86/
Dlpc.c82 static void lpc_compute_autocorr_sse2(const double *data, int len, int lag, in lpc_compute_autocorr_sse2() argument
90 for(j=0; j<lag; j+=2){ in lpc_compute_autocorr_sse2()
92 if(j == lag-2) { in lpc_compute_autocorr_sse2()
/third_party/ffmpeg/tests/fate/
Dlossless-video.mak2 fate-lagarith-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lag-rgb24.avi
5 fate-lagarith-rgb32: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lag-rgb32.avi -pix_fmt bgra -vf s…
8 fate-lagarith-yuy2: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lag-yuy2.avi
11 fate-lagarith-yv12: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lag-yv12.avi
/third_party/skia/third_party/externals/icu/source/data/lang/
Dlag.txt4 lag{
29 lag{"Kɨlaangi"}
/third_party/icu/icu4c/source/data/lang/
Dlag.txt4 lag{
29 lag{"Kɨlaangi"}
/third_party/flutter/skia/third_party/externals/icu/source/data/lang/
Dlag.txt3 lag{
28 lag{"Kɨlaangi"}
/third_party/gstreamer/gstplugins_good/ext/vpx/
DGstVP8Enc.prs8 lag-in-frames=0
/third_party/grpc/tools/gource/
Dgource.sh19 --max-file-lag 0.05 \
/third_party/flutter/skia/third_party/externals/icu/source/data/zone/
Dlag.txt3 lag{
/third_party/flutter/skia/third_party/externals/icu/source/data/unit/
Dlag.txt3 lag{
/third_party/skia/third_party/externals/icu/source/data/zone/
Dlag.txt4 lag{
/third_party/skia/third_party/externals/icu/source/data/unit/
Dlag.txt4 lag{
/third_party/icu/icu4c/source/data/unit/
Dlag.txt4 lag{
/third_party/icu/icu4c/source/data/zone/
Dlag.txt4 lag{

12345678910>>...19