Lines Matching refs:AMR_SUBFRAME_SIZE
116 float excitation_buf[PITCH_DELAY_MAX + LP_FILTER_ORDER + 1 + AMR_SUBFRAME_SIZE]; ///< current excitation and all necessary excitation history
119 float pitch_vector[AMR_SUBFRAME_SIZE]; ///< adaptive code book (pitch) vector
120 float fixed_vector[AMR_SUBFRAME_SIZE]; ///< algebraic codebook (fixed) vector (must be kept zero between frames)
139 float samples_in[LP_FILTER_ORDER + AMR_SUBFRAME_SIZE]; ///< floating point samples
421 10, AMR_SUBFRAME_SIZE);
423 memcpy(p->pitch_vector, p->excitation, AMR_SUBFRAME_SIZE * sizeof(float));
675 float filter1[AMR_SUBFRAME_SIZE], ///< filters at pitch lag*1 and *2
676 filter2[AMR_SUBFRAME_SIZE];
681 if (lag < AMR_SUBFRAME_SIZE) {
683 AMR_SUBFRAME_SIZE);
685 if (lag < AMR_SUBFRAME_SIZE >> 1)
687 AMR_SUBFRAME_SIZE);
690 memset(out, 0, sizeof(float) * AMR_SUBFRAME_SIZE);
696 if (x >= AMR_SUBFRAME_SIZE - lag) {
698 } else if (x >= AMR_SUBFRAME_SIZE - (lag << 1)) {
703 ff_celp_circ_addf(out, out, filterp, x, y, AMR_SUBFRAME_SIZE);
795 float excitation[AMR_SUBFRAME_SIZE];
800 for (i = 0; i < AMR_SUBFRAME_SIZE; i++)
804 p->pitch_gain[4], fixed_gain, AMR_SUBFRAME_SIZE);
809 AMR_SUBFRAME_SIZE);
816 for (i = 0; i < AMR_SUBFRAME_SIZE; i++)
820 AMR_SUBFRAME_SIZE);
824 AMR_SUBFRAME_SIZE,
828 for (i = 0; i < AMR_SUBFRAME_SIZE; i++)
851 memmove(&p->excitation_buf[0], &p->excitation_buf[AMR_SUBFRAME_SIZE],
857 memmove(&p->samples_in[0], &p->samples_in[AMR_SUBFRAME_SIZE],
910 AMR_SUBFRAME_SIZE);
912 float pole_out[AMR_SUBFRAME_SIZE + LP_FILTER_ORDER]; // Output of pole filter
931 AMR_SUBFRAME_SIZE, LP_FILTER_ORDER);
932 memcpy(p->postfilter_mem, pole_out + AMR_SUBFRAME_SIZE,
937 AMR_SUBFRAME_SIZE, LP_FILTER_ORDER);
940 AMR_SUBFRAME_SIZE);
942 ff_adaptive_gain_control(buf_out, buf_out, speech_gain, AMR_SUBFRAME_SIZE,
960 float spare_vector[AMR_SUBFRAME_SIZE]; // extra stack space to hold result from anti-sparseness processing
1011 AMR_SUBFRAME_SIZE);
1017 AMR_SUBFRAME_SIZE) /
1018 AMR_SUBFRAME_SIZE,
1024 for (i = 0; i < AMR_SUBFRAME_SIZE; i++)
1027 AMR_SUBFRAME_SIZE);
1034 for (i = 0; i < AMR_SUBFRAME_SIZE; i++)
1054 postfilter(p, p->lpc[subframe], buf_out + subframe * AMR_SUBFRAME_SIZE);
1057 ff_clear_fixed_vector(p->fixed_vector, &fixed_sparse, AMR_SUBFRAME_SIZE);