Home
last modified time | relevance | path

Searched refs:FRAME_LEN (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dg723_1.h37 #define FRAME_LEN (SUBFRAME_LEN << 2) macro
38 #define HALF_FRAME_LEN (FRAME_LEN / 2)
131 int16_t excitation[PITCH_MAX + FRAME_LEN + 4];
145 int16_t audio[FRAME_LEN + LPC_ORDER + PITCH_MAX + 4];
Dg723_1dec.c357 limit = FFMIN(FRAME_LEN + PITCH_MAX - offset - length, pitch_lag + 3); in autocorr_max()
524 *scale = ff_g723_1_scale_vector(buf, p->excitation, FRAME_LEN + PITCH_MAX); in comp_interp_index()
571 (FRAME_LEN - lag) * sizeof(*out)); in residual_interp()
573 for (i = 0; i < FRAME_LEN; i++) { in residual_interp()
577 memset(buf, 0, (FRAME_LEN + PITCH_MAX) * sizeof(*buf)); in residual_interp()
662 int filter_signal[LPC_ORDER + FRAME_LEN], *signal_ptr; in formant_postfilter()
679 memcpy(p->fir_mem, buf + FRAME_LEN, LPC_ORDER * sizeof(int16_t)); in formant_postfilter()
680 memcpy(p->iir_mem, filter_signal + FRAME_LEN, LPC_ORDER * sizeof(int)); in formant_postfilter()
924 memcpy(p->prev_excitation, p->audio + LPC_ORDER + FRAME_LEN, in generate_noise()
953 frame->nb_samples = FRAME_LEN; in g723_1_decode_frame()
[all …]
Dg723_1enc.c128 for (i = 0; i < FRAME_LEN; i++) { in highpass_filter()
437 int16_t vector[FRAME_LEN + LPC_ORDER]; in perceptual_filter()
442 memcpy(vector + LPC_ORDER, buf + LPC_ORDER, sizeof(int16_t) * FRAME_LEN); in perceptual_filter()
456 memcpy(p->iir_mem, buf + FRAME_LEN, sizeof(int16_t) * LPC_ORDER); in perceptual_filter()
457 memcpy(p->fir_mem, vector + FRAME_LEN, sizeof(int16_t) * LPC_ORDER); in perceptual_filter()
1108 int16_t vector[FRAME_LEN + PITCH_MAX]; in g723_1_encode_frame()
1121 memcpy(vector + HALF_FRAME_LEN, in, FRAME_LEN * sizeof(int16_t)); in g723_1_encode_frame()
1134 memcpy(in, vector + LPC_ORDER, sizeof(int16_t) * FRAME_LEN); in g723_1_encode_frame()
1138 memcpy(in, vector + LPC_ORDER, sizeof(int16_t) * FRAME_LEN); in g723_1_encode_frame()
1140 memcpy(vector + PITCH_MAX, in, sizeof(int16_t) * FRAME_LEN); in g723_1_encode_frame()
[all …]