LP_FILTER_ORDER 395 libavcodec/amrnbdata.h static const int8_t lsp_sub4_init[LP_FILTER_ORDER] = { LP_FILTER_ORDER 404 libavcodec/amrnbdata.h static const int16_t lsp_avg_init[LP_FILTER_ORDER] = { LP_FILTER_ORDER 1409 libavcodec/amrnbdata.h static const float lsf_3_mean[LP_FILTER_ORDER] = { LP_FILTER_ORDER 1414 libavcodec/amrnbdata.h static const float lsf_5_mean[LP_FILTER_ORDER] = { LP_FILTER_ORDER 1420 libavcodec/amrnbdata.h static const float pred_fac[LP_FILTER_ORDER] = { LP_FILTER_ORDER 105 libavcodec/amrnbdec.c int16_t prev_lsf_r[LP_FILTER_ORDER]; ///< residual LSF vector from previous subframe LP_FILTER_ORDER 106 libavcodec/amrnbdec.c double lsp[4][LP_FILTER_ORDER]; ///< lsp vectors from current frame LP_FILTER_ORDER 107 libavcodec/amrnbdec.c double prev_lsp_sub4[LP_FILTER_ORDER]; ///< lsp vector for the 4th subframe of the previous frame LP_FILTER_ORDER 109 libavcodec/amrnbdec.c float lsf_q[4][LP_FILTER_ORDER]; ///< Interpolated LSF vector for fixed gain smoothing LP_FILTER_ORDER 110 libavcodec/amrnbdec.c float lsf_avg[LP_FILTER_ORDER]; ///< vector of averaged lsf vector LP_FILTER_ORDER 112 libavcodec/amrnbdec.c float lpc[4][LP_FILTER_ORDER]; ///< lpc coefficient vectors for 4 subframes LP_FILTER_ORDER 116 libavcodec/amrnbdec.c float excitation_buf[PITCH_DELAY_MAX + LP_FILTER_ORDER + 1 + AMR_SUBFRAME_SIZE]; ///< current excitation and all necessary excitation history LP_FILTER_ORDER 139 libavcodec/amrnbdec.c float samples_in[LP_FILTER_ORDER + AMR_SUBFRAME_SIZE]; ///< floating point samples LP_FILTER_ORDER 177 libavcodec/amrnbdec.c p->excitation = &p->excitation_buf[PITCH_DELAY_MAX + LP_FILTER_ORDER + 1]; LP_FILTER_ORDER 179 libavcodec/amrnbdec.c for (i = 0; i < LP_FILTER_ORDER; i++) { LP_FILTER_ORDER 239 libavcodec/amrnbdec.c static void interpolate_lsf(ACELPVContext *ctx, float lsf_q[4][LP_FILTER_ORDER], float *lsf_new) LP_FILTER_ORDER 246 libavcodec/amrnbdec.c LP_FILTER_ORDER); LP_FILTER_ORDER 260 libavcodec/amrnbdec.c static void lsf2lsp_for_mode12k2(AMRContext *p, double lsp[LP_FILTER_ORDER], LP_FILTER_ORDER 261 libavcodec/amrnbdec.c const float lsf_no_r[LP_FILTER_ORDER], LP_FILTER_ORDER 266 libavcodec/amrnbdec.c int16_t lsf_r[LP_FILTER_ORDER]; // residual LSF vector LP_FILTER_ORDER 267 libavcodec/amrnbdec.c float lsf_q[LP_FILTER_ORDER]; // quantified LSF vector LP_FILTER_ORDER 270 libavcodec/amrnbdec.c for (i = 0; i < LP_FILTER_ORDER >> 1; i++) LP_FILTER_ORDER 280 libavcodec/amrnbdec.c memcpy(p->prev_lsf_r, lsf_r, LP_FILTER_ORDER * sizeof(*lsf_r)); LP_FILTER_ORDER 282 libavcodec/amrnbdec.c for (i = 0; i < LP_FILTER_ORDER; i++) LP_FILTER_ORDER 285 libavcodec/amrnbdec.c ff_set_min_dist_lsf(lsf_q, MIN_LSF_SPACING, LP_FILTER_ORDER); LP_FILTER_ORDER 290 libavcodec/amrnbdec.c ff_acelp_lsf2lspd(lsp, lsf_q, LP_FILTER_ORDER); LP_FILTER_ORDER 301 libavcodec/amrnbdec.c float lsf_no_r[LP_FILTER_ORDER]; // LSFs without the residual vector LP_FILTER_ORDER 311 libavcodec/amrnbdec.c for (i = 0; i < LP_FILTER_ORDER; i++) LP_FILTER_ORDER 318 libavcodec/amrnbdec.c weighted_vector_sumd(p->lsp[0], p->prev_lsp_sub4, p->lsp[1], 0.5, 0.5, LP_FILTER_ORDER); LP_FILTER_ORDER 319 libavcodec/amrnbdec.c weighted_vector_sumd(p->lsp[2], p->lsp[1] , p->lsp[3], 0.5, 0.5, LP_FILTER_ORDER); LP_FILTER_ORDER 330 libavcodec/amrnbdec.c int16_t lsf_r[LP_FILTER_ORDER]; // residual LSF vector LP_FILTER_ORDER 331 libavcodec/amrnbdec.c float lsf_q[LP_FILTER_ORDER]; // quantified LSF vector LP_FILTER_ORDER 345 libavcodec/amrnbdec.c for (i = 0; i < LP_FILTER_ORDER; i++) LP_FILTER_ORDER 348 libavcodec/amrnbdec.c ff_set_min_dist_lsf(lsf_q, MIN_LSF_SPACING, LP_FILTER_ORDER); LP_FILTER_ORDER 352 libavcodec/amrnbdec.c memcpy(p->prev_lsf_r, lsf_r, LP_FILTER_ORDER * sizeof(*lsf_r)); LP_FILTER_ORDER 354 libavcodec/amrnbdec.c ff_acelp_lsf2lspd(p->lsp[3], lsf_q, LP_FILTER_ORDER); LP_FILTER_ORDER 358 libavcodec/amrnbdec.c for(j = 0; j < LP_FILTER_ORDER; j++) LP_FILTER_ORDER 594 libavcodec/amrnbdec.c for (i = 0; i < LP_FILTER_ORDER; i++) LP_FILTER_ORDER 825 libavcodec/amrnbdec.c LP_FILTER_ORDER); LP_FILTER_ORDER 849 libavcodec/amrnbdec.c memcpy(p->prev_lsp_sub4, p->lsp[3], LP_FILTER_ORDER * sizeof(p->lsp[3][0])); LP_FILTER_ORDER 852 libavcodec/amrnbdec.c (PITCH_DELAY_MAX + LP_FILTER_ORDER + 1) * sizeof(float)); LP_FILTER_ORDER 858 libavcodec/amrnbdec.c LP_FILTER_ORDER * sizeof(float)); LP_FILTER_ORDER 879 libavcodec/amrnbdec.c float impulse_buffer[LP_FILTER_ORDER + AMR_TILT_RESPONSE] = { 0 }; LP_FILTER_ORDER 880 libavcodec/amrnbdec.c float *hf = impulse_buffer + LP_FILTER_ORDER; // start of impulse response LP_FILTER_ORDER 883 libavcodec/amrnbdec.c memcpy(hf + 1, lpc_n, sizeof(float) * LP_FILTER_ORDER); LP_FILTER_ORDER 886 libavcodec/amrnbdec.c LP_FILTER_ORDER); LP_FILTER_ORDER 907 libavcodec/amrnbdec.c float *samples = p->samples_in + LP_FILTER_ORDER; // Start of input LP_FILTER_ORDER 912 libavcodec/amrnbdec.c float pole_out[AMR_SUBFRAME_SIZE + LP_FILTER_ORDER]; // Output of pole filter LP_FILTER_ORDER 914 libavcodec/amrnbdec.c float lpc_n[LP_FILTER_ORDER], lpc_d[LP_FILTER_ORDER]; // Transfer function coefficients LP_FILTER_ORDER 924 libavcodec/amrnbdec.c for (i = 0; i < LP_FILTER_ORDER; i++) { LP_FILTER_ORDER 929 libavcodec/amrnbdec.c memcpy(pole_out, p->postfilter_mem, sizeof(float) * LP_FILTER_ORDER); LP_FILTER_ORDER 930 libavcodec/amrnbdec.c p->celpf_ctx.celp_lp_synthesis_filterf(pole_out + LP_FILTER_ORDER, lpc_d, samples, LP_FILTER_ORDER 931 libavcodec/amrnbdec.c AMR_SUBFRAME_SIZE, LP_FILTER_ORDER); LP_FILTER_ORDER 933 libavcodec/amrnbdec.c sizeof(float) * LP_FILTER_ORDER); LP_FILTER_ORDER 936 libavcodec/amrnbdec.c pole_out + LP_FILTER_ORDER, LP_FILTER_ORDER 937 libavcodec/amrnbdec.c AMR_SUBFRAME_SIZE, LP_FILTER_ORDER); LP_FILTER_ORDER 1047 libavcodec/amrnbdec.c synth_fixed_vector, &p->samples_in[LP_FILTER_ORDER], 0)) LP_FILTER_ORDER 1052 libavcodec/amrnbdec.c synth_fixed_vector, &p->samples_in[LP_FILTER_ORDER], 1); LP_FILTER_ORDER 1074 libavcodec/amrnbdec.c 0.84, 0.16, LP_FILTER_ORDER); LP_FILTER_ORDER 157 libavcodec/sipr.c float lsf_tmp[LP_FILTER_ORDER]; LP_FILTER_ORDER 161 libavcodec/sipr.c for (i = 0; i < LP_FILTER_ORDER; i++) LP_FILTER_ORDER 164 libavcodec/sipr.c ff_sort_nearly_sorted_floats(lsfnew, LP_FILTER_ORDER - 1); LP_FILTER_ORDER 168 libavcodec/sipr.c ff_set_min_dist_lsf(lsfnew, LSFQ_DIFF_MIN, LP_FILTER_ORDER - 1); LP_FILTER_ORDER 169 libavcodec/sipr.c lsfnew[9] = FFMIN(lsfnew[LP_FILTER_ORDER - 1], 1.3 * M_PI); LP_FILTER_ORDER 171 libavcodec/sipr.c memcpy(lsf_history, lsf_tmp, LP_FILTER_ORDER * sizeof(*lsf_history)); LP_FILTER_ORDER 173 libavcodec/sipr.c for (i = 0; i < LP_FILTER_ORDER - 1; i++) LP_FILTER_ORDER 175 libavcodec/sipr.c lsfnew[LP_FILTER_ORDER - 1] *= 6.153848 / M_PI; LP_FILTER_ORDER 219 libavcodec/sipr.c double lsfint[LP_FILTER_ORDER]; LP_FILTER_ORDER 225 libavcodec/sipr.c for (j = 0; j < LP_FILTER_ORDER; j++) LP_FILTER_ORDER 228 libavcodec/sipr.c ff_amrwb_lsp2lpc(lsfint, Az, LP_FILTER_ORDER); LP_FILTER_ORDER 229 libavcodec/sipr.c Az += LP_FILTER_ORDER; LP_FILTER_ORDER 240 libavcodec/sipr.c float tmp1[SUBFR_SIZE+1], tmp2[LP_FILTER_ORDER+1]; LP_FILTER_ORDER 244 libavcodec/sipr.c for (i = 0; i < LP_FILTER_ORDER; i++) { LP_FILTER_ORDER 251 libavcodec/sipr.c LP_FILTER_ORDER); LP_FILTER_ORDER 275 libavcodec/sipr.c float buf[SUBFR_SIZE + LP_FILTER_ORDER]; LP_FILTER_ORDER 276 libavcodec/sipr.c float *pole_out = buf + LP_FILTER_ORDER; LP_FILTER_ORDER 277 libavcodec/sipr.c float lpc_n[LP_FILTER_ORDER]; LP_FILTER_ORDER 278 libavcodec/sipr.c float lpc_d[LP_FILTER_ORDER]; LP_FILTER_ORDER 281 libavcodec/sipr.c for (i = 0; i < LP_FILTER_ORDER; i++) { LP_FILTER_ORDER 286 libavcodec/sipr.c memcpy(pole_out - LP_FILTER_ORDER, ctx->postfilter_mem, LP_FILTER_ORDER 287 libavcodec/sipr.c LP_FILTER_ORDER*sizeof(float)); LP_FILTER_ORDER 290 libavcodec/sipr.c LP_FILTER_ORDER); LP_FILTER_ORDER 292 libavcodec/sipr.c memcpy(ctx->postfilter_mem, pole_out + SUBFR_SIZE - LP_FILTER_ORDER, LP_FILTER_ORDER 293 libavcodec/sipr.c LP_FILTER_ORDER*sizeof(float)); LP_FILTER_ORDER 297 libavcodec/sipr.c memcpy(pole_out - LP_FILTER_ORDER, ctx->postfilter_mem5k0, LP_FILTER_ORDER 298 libavcodec/sipr.c LP_FILTER_ORDER*sizeof(*pole_out)); LP_FILTER_ORDER 300 libavcodec/sipr.c memcpy(ctx->postfilter_mem5k0, pole_out + SUBFR_SIZE - LP_FILTER_ORDER, LP_FILTER_ORDER 301 libavcodec/sipr.c LP_FILTER_ORDER*sizeof(*pole_out)); LP_FILTER_ORDER 304 libavcodec/sipr.c LP_FILTER_ORDER); LP_FILTER_ORDER 370 libavcodec/sipr.c float Az[LP_FILTER_ORDER * MAX_SUBFRAME_COUNT]; LP_FILTER_ORDER 372 libavcodec/sipr.c float ir_buf[SUBFR_SIZE + LP_FILTER_ORDER]; LP_FILTER_ORDER 373 libavcodec/sipr.c float lsf_new[LP_FILTER_ORDER]; LP_FILTER_ORDER 374 libavcodec/sipr.c float *impulse_response = ir_buf + LP_FILTER_ORDER; LP_FILTER_ORDER 380 libavcodec/sipr.c memset(ir_buf, 0, LP_FILTER_ORDER * sizeof(float)); LP_FILTER_ORDER 385 libavcodec/sipr.c memcpy(ctx->lsp_history, lsf_new, LP_FILTER_ORDER * sizeof(float)); LP_FILTER_ORDER 390 libavcodec/sipr.c float *pAz = Az + i*LP_FILTER_ORDER; LP_FILTER_ORDER 403 libavcodec/sipr.c 2 * ((2 + T0_frac)%3 + 1), LP_FILTER_ORDER, LP_FILTER_ORDER 442 libavcodec/sipr.c ff_celp_lp_synthesis_filterf(ctx->postfilter_syn5k0 + LP_FILTER_ORDER + i*SUBFR_SIZE, LP_FILTER_ORDER 444 libavcodec/sipr.c LP_FILTER_ORDER); LP_FILTER_ORDER 448 libavcodec/sipr.c SUBFR_SIZE, LP_FILTER_ORDER); LP_FILTER_ORDER 453 libavcodec/sipr.c memcpy(synth - LP_FILTER_ORDER, synth + frame_size - LP_FILTER_ORDER, LP_FILTER_ORDER 454 libavcodec/sipr.c LP_FILTER_ORDER * sizeof(float)); LP_FILTER_ORDER 458 libavcodec/sipr.c float energy = avpriv_scalarproduct_float_c(ctx->postfilter_syn5k0 + LP_FILTER_ORDER + i * SUBFR_SIZE, LP_FILTER_ORDER 459 libavcodec/sipr.c ctx->postfilter_syn5k0 + LP_FILTER_ORDER + i * SUBFR_SIZE, LP_FILTER_ORDER 467 libavcodec/sipr.c LP_FILTER_ORDER*sizeof(float)); LP_FILTER_ORDER 509 libavcodec/sipr.c for (i = 0; i < LP_FILTER_ORDER; i++) LP_FILTER_ORDER 510 libavcodec/sipr.c ctx->lsp_history[i] = cos((i+1) * M_PI / (LP_FILTER_ORDER + 1)); LP_FILTER_ORDER 41 libavcodec/sipr.h #define L_INTERPOL (LP_FILTER_ORDER + 1) LP_FILTER_ORDER 75 libavcodec/sipr.h DECLARE_ALIGNED(16, float, synth_buf)[LP_FILTER_ORDER + 5*SUBFR_SIZE + 6]; LP_FILTER_ORDER 77 libavcodec/sipr.h float lsp_history[LP_FILTER_ORDER]; LP_FILTER_ORDER 81 libavcodec/sipr.h float postfilter_mem[PITCH_DELAY_MAX + LP_FILTER_ORDER]; LP_FILTER_ORDER 86 libavcodec/sipr.h float postfilter_mem5k0[PITCH_DELAY_MAX + LP_FILTER_ORDER]; LP_FILTER_ORDER 87 libavcodec/sipr.h float postfilter_syn5k0[LP_FILTER_ORDER + SUBFR_SIZE*5]; LP_FILTER_ORDER 231 libavcodec/sipr16k.c LP_FILTER_ORDER, L_SUBFR_16k);