• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching refs:LP_FILTER_ORDER

157     float lsf_tmp[LP_FILTER_ORDER];
161 for (i = 0; i < LP_FILTER_ORDER; i++)
164 ff_sort_nearly_sorted_floats(lsfnew, LP_FILTER_ORDER - 1);
168 ff_set_min_dist_lsf(lsfnew, LSFQ_DIFF_MIN, LP_FILTER_ORDER - 1);
169 lsfnew[9] = FFMIN(lsfnew[LP_FILTER_ORDER - 1], 1.3 * M_PI);
171 memcpy(lsf_history, lsf_tmp, LP_FILTER_ORDER * sizeof(*lsf_history));
173 for (i = 0; i < LP_FILTER_ORDER - 1; i++)
175 lsfnew[LP_FILTER_ORDER - 1] *= 6.153848 / M_PI;
219 double lsfint[LP_FILTER_ORDER];
225 for (j = 0; j < LP_FILTER_ORDER; j++)
228 ff_amrwb_lsp2lpc(lsfint, Az, LP_FILTER_ORDER);
229 Az += LP_FILTER_ORDER;
240 float tmp1[SUBFR_SIZE+1], tmp2[LP_FILTER_ORDER+1];
244 for (i = 0; i < LP_FILTER_ORDER; i++) {
251 LP_FILTER_ORDER);
275 float buf[SUBFR_SIZE + LP_FILTER_ORDER];
276 float *pole_out = buf + LP_FILTER_ORDER;
277 float lpc_n[LP_FILTER_ORDER];
278 float lpc_d[LP_FILTER_ORDER];
281 for (i = 0; i < LP_FILTER_ORDER; i++) {
286 memcpy(pole_out - LP_FILTER_ORDER, ctx->postfilter_mem,
287 LP_FILTER_ORDER*sizeof(float));
290 LP_FILTER_ORDER);
292 memcpy(ctx->postfilter_mem, pole_out + SUBFR_SIZE - LP_FILTER_ORDER,
293 LP_FILTER_ORDER*sizeof(float));
297 memcpy(pole_out - LP_FILTER_ORDER, ctx->postfilter_mem5k0,
298 LP_FILTER_ORDER*sizeof(*pole_out));
300 memcpy(ctx->postfilter_mem5k0, pole_out + SUBFR_SIZE - LP_FILTER_ORDER,
301 LP_FILTER_ORDER*sizeof(*pole_out));
304 LP_FILTER_ORDER);
370 float Az[LP_FILTER_ORDER * MAX_SUBFRAME_COUNT];
372 float ir_buf[SUBFR_SIZE + LP_FILTER_ORDER];
373 float lsf_new[LP_FILTER_ORDER];
374 float *impulse_response = ir_buf + LP_FILTER_ORDER;
375 float *synth = ctx->synth_buf + 16; // 16 instead of LP_FILTER_ORDER for
380 memset(ir_buf, 0, LP_FILTER_ORDER * sizeof(float));
385 memcpy(ctx->lsp_history, lsf_new, LP_FILTER_ORDER * sizeof(float));
390 float *pAz = Az + i*LP_FILTER_ORDER;
403 2 * ((2 + T0_frac)%3 + 1), LP_FILTER_ORDER,
442 ff_celp_lp_synthesis_filterf(ctx->postfilter_syn5k0 + LP_FILTER_ORDER + i*SUBFR_SIZE,
444 LP_FILTER_ORDER);
448 SUBFR_SIZE, LP_FILTER_ORDER);
453 memcpy(synth - LP_FILTER_ORDER, synth + frame_size - LP_FILTER_ORDER,
454 LP_FILTER_ORDER * sizeof(float));
458 float energy = avpriv_scalarproduct_float_c(ctx->postfilter_syn5k0 + LP_FILTER_ORDER + i * SUBFR_SIZE,
459 ctx->postfilter_syn5k0 + LP_FILTER_ORDER + i * SUBFR_SIZE,
467 LP_FILTER_ORDER*sizeof(float));
509 for (i = 0; i < LP_FILTER_ORDER; i++)
510 ctx->lsp_history[i] = cos((i+1) * M_PI / (LP_FILTER_ORDER + 1));