Lines Matching refs:AMR_SUBFRAME_SIZE
114 float excitation_buf[PITCH_DELAY_MAX + LP_FILTER_ORDER + 1 + AMR_SUBFRAME_SIZE]; ///< current excitation and all necessary excitation history
117 float pitch_vector[AMR_SUBFRAME_SIZE]; ///< adaptive code book (pitch) vector
118 float fixed_vector[AMR_SUBFRAME_SIZE]; ///< algebraic codebook (fixed) vector (must be kept zero between frames)
137 float samples_in[LP_FILTER_ORDER + AMR_SUBFRAME_SIZE]; ///< floating point samples
406 10, AMR_SUBFRAME_SIZE);
408 memcpy(p->pitch_vector, p->excitation, AMR_SUBFRAME_SIZE * sizeof(float));
660 float filter1[AMR_SUBFRAME_SIZE], ///< filters at pitch lag*1 and *2
661 filter2[AMR_SUBFRAME_SIZE];
666 if (lag < AMR_SUBFRAME_SIZE) {
668 AMR_SUBFRAME_SIZE);
670 if (lag < AMR_SUBFRAME_SIZE >> 1)
672 AMR_SUBFRAME_SIZE);
675 memset(out, 0, sizeof(float) * AMR_SUBFRAME_SIZE);
681 if (x >= AMR_SUBFRAME_SIZE - lag) {
683 } else if (x >= AMR_SUBFRAME_SIZE - (lag << 1)) {
688 ff_celp_circ_addf(out, out, filterp, x, y, AMR_SUBFRAME_SIZE);
780 float excitation[AMR_SUBFRAME_SIZE];
785 for (i = 0; i < AMR_SUBFRAME_SIZE; i++)
789 p->pitch_gain[4], fixed_gain, AMR_SUBFRAME_SIZE);
794 AMR_SUBFRAME_SIZE);
801 for (i = 0; i < AMR_SUBFRAME_SIZE; i++)
805 AMR_SUBFRAME_SIZE);
808 ff_celp_lp_synthesis_filterf(samples, lpc, excitation, AMR_SUBFRAME_SIZE,
812 for (i = 0; i < AMR_SUBFRAME_SIZE; i++)
835 memmove(&p->excitation_buf[0], &p->excitation_buf[AMR_SUBFRAME_SIZE],
841 memmove(&p->samples_in[0], &p->samples_in[AMR_SUBFRAME_SIZE],
892 AMR_SUBFRAME_SIZE);
894 float pole_out[AMR_SUBFRAME_SIZE + LP_FILTER_ORDER]; // Output of pole filter
913 AMR_SUBFRAME_SIZE, LP_FILTER_ORDER);
914 memcpy(p->postfilter_mem, pole_out + AMR_SUBFRAME_SIZE,
919 AMR_SUBFRAME_SIZE, LP_FILTER_ORDER);
922 AMR_SUBFRAME_SIZE);
924 ff_adaptive_gain_control(buf_out, buf_out, speech_gain, AMR_SUBFRAME_SIZE,
941 float spare_vector[AMR_SUBFRAME_SIZE]; // extra stack space to hold result from anti-sparseness processing
993 AMR_SUBFRAME_SIZE);
998 AMR_SUBFRAME_SIZE)/AMR_SUBFRAME_SIZE,
1004 for (i = 0; i < AMR_SUBFRAME_SIZE; i++)
1007 AMR_SUBFRAME_SIZE);
1014 for (i = 0; i < AMR_SUBFRAME_SIZE; i++)
1034 postfilter(p, p->lpc[subframe], buf_out + subframe * AMR_SUBFRAME_SIZE);
1037 ff_clear_fixed_vector(p->fixed_vector, &fixed_sparse, AMR_SUBFRAME_SIZE);