Searched refs:PITCH_MAX (Results 1 – 6 of 6) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | g723_1.h | 44 #define PITCH_MAX (PITCH_MIN + 127) macro 130 int16_t prev_excitation[PITCH_MAX]; 131 int16_t excitation[PITCH_MAX + FRAME_LEN + 4]; 145 int16_t audio[FRAME_LEN + LPC_ORDER + PITCH_MAX + 4]; 149 int16_t prev_weight_sig[PITCH_MAX]; 156 int16_t harmonic_mem[PITCH_MAX];
|
D | g723_1enc.c | 485 for (i = PITCH_MIN; i <= PITCH_MAX - 3; i++) { in estimate_pitch() 712 pitch_lag = FFMIN(pitch_lag, PITCH_MAX - 5); in acb_search() 1114 int16_t vector[FRAME_LEN + PITCH_MAX]; in g723_1_encode_frame() 1146 memcpy(vector, p->prev_weight_sig, sizeof(int16_t) * PITCH_MAX); in g723_1_encode_frame() 1147 memcpy(vector + PITCH_MAX, in, sizeof(int16_t) * FRAME_LEN); in g723_1_encode_frame() 1149 ff_g723_1_scale_vector(vector, vector, FRAME_LEN + PITCH_MAX); in g723_1_encode_frame() 1151 p->pitch_lag[0] = estimate_pitch(vector, PITCH_MAX); in g723_1_encode_frame() 1152 p->pitch_lag[1] = estimate_pitch(vector, PITCH_MAX + HALF_FRAME_LEN); in g723_1_encode_frame() 1154 for (i = PITCH_MAX, j = 0; j < SUBFRAMES; i += SUBFRAME_LEN, j++) in g723_1_encode_frame() 1157 memcpy(vector, p->prev_weight_sig, sizeof(int16_t) * PITCH_MAX); in g723_1_encode_frame() [all …]
|
D | g723_1dec.c | 354 pitch_lag = FFMIN(PITCH_MAX - 3, pitch_lag); in autocorr_max() 356 limit = FFMIN(FRAME_LEN + PITCH_MAX - offset - length, pitch_lag + 3); in autocorr_max() 518 int offset = PITCH_MAX + 2 * SUBFRAME_LEN; in comp_interp_index() 523 *scale = ff_g723_1_scale_vector(buf, p->excitation, FRAME_LEN + PITCH_MAX); in comp_interp_index() 565 int16_t *vector_ptr = buf + PITCH_MAX; in residual_interp() 576 memset(buf, 0, (FRAME_LEN + PITCH_MAX) * sizeof(*buf)); in residual_interp() 846 PITCH_MAX * sizeof(*p->excitation)); in generate_noise() 918 memcpy(vector_ptr + PITCH_MAX, vector_ptr, in generate_noise() 924 PITCH_MAX * sizeof(*p->excitation)); in generate_noise() 985 PITCH_MAX * sizeof(*p->excitation)); in g723_1_decode_frame() [all …]
|
D | sipr.h | 34 #define PITCH_MAX 281 macro 73 float excitation[L_INTERPOL + PITCH_MAX + 2 * L_SUBFR_16k];
|
D | sipr16k.c | 217 PITCH_MIN, PITCH_MAX, in ff_sipr_decode_frame_16k() 264 (L_INTERPOL+PITCH_MAX) * sizeof(float)); in ff_sipr_decode_frame_16k()
|
D | g723_1.c | 1134 int offset = PITCH_MAX - PITCH_ORDER / 2 - lag; in ff_g723_1_get_residual()
|