Searched refs:HALF_FRAME_LEN (Results 1 – 2 of 2) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | g723_1.h | 38 #define HALF_FRAME_LEN (FRAME_LEN / 2) macro 39 #define LPC_FRAME (HALF_FRAME_LEN + SUBFRAME_LEN) 148 int16_t prev_data[HALF_FRAME_LEN];
|
D | g723_1enc.c | 483 orig_eng = ff_dot_product(buf + offset, buf + offset, HALF_FRAME_LEN); in estimate_pitch() 490 buf[offset + HALF_FRAME_LEN] * buf[offset + HALF_FRAME_LEN]; in estimate_pitch() 491 ccr = ff_dot_product(buf + start, buf + offset, HALF_FRAME_LEN); in estimate_pitch() 1127 memcpy(vector, p->prev_data, HALF_FRAME_LEN * sizeof(int16_t)); in g723_1_encode_frame() 1128 memcpy(vector + HALF_FRAME_LEN, in, FRAME_LEN * sizeof(int16_t)); in g723_1_encode_frame() 1138 sizeof(int16_t) * (HALF_FRAME_LEN + SUBFRAME_LEN)); in g723_1_encode_frame() 1139 memcpy(p->prev_data, in + HALF_FRAME_LEN, in g723_1_encode_frame() 1140 sizeof(int16_t) * HALF_FRAME_LEN); in g723_1_encode_frame() 1152 p->pitch_lag[1] = estimate_pitch(vector, PITCH_MAX + HALF_FRAME_LEN); in g723_1_encode_frame()
|