Lines Matching refs:frame_head
142 int16_t *frame_head, *input_samples, *output_samples; in cras_msbc_plc_handle_good_frames() local
149 frame_head = &state->hist[PLC_HL]; in cras_msbc_plc_handle_good_frames()
157 memcpy(output_samples, frame_head, in cras_msbc_plc_handle_good_frames()
160 &frame_head[PLC_SBCRL], 1.0, in cras_msbc_plc_handle_good_frames()
226 int16_t *frame_head = &state->hist[PLC_HL]; in cras_msbc_plc_handle_bad_frames() local
248 overlap_add(frame_head, 1.0, state->zero_frame, scaler, in cras_msbc_plc_handle_bad_frames()
253 overlap_add(&frame_head[MSBC_FS], scaler, in cras_msbc_plc_handle_bad_frames()
257 memmove(&frame_head[MSBC_FS + PLC_OLAL], in cras_msbc_plc_handle_bad_frames()
261 memmove(frame_head, &state->hist[state->best_lag], in cras_msbc_plc_handle_bad_frames()
274 memmove(frame_head, state->zero_frame, MSBC_CODE_SIZE); in cras_msbc_plc_handle_bad_frames()
275 memset(frame_head + MSBC_CODE_SIZE, 0, in cras_msbc_plc_handle_bad_frames()
280 memcpy(output, frame_head, MSBC_CODE_SIZE); in cras_msbc_plc_handle_bad_frames()