Searched refs:frame_head (Results 1 – 2 of 2) sorted by relevance
/external/adhd/cras/src/plc/ |
D | cras_plc.c | 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() [all …]
|
/external/adhd/cras/src/server/ |
D | cras_hfp_info.c | 473 const uint8_t *frame_head = NULL; in hfp_read_msbc() local 549 frame_head = NULL; in hfp_read_msbc() 551 frame_head = in hfp_read_msbc() 554 if (!frame_head) in hfp_read_msbc() 567 if (!frame_head) in hfp_read_msbc() 587 frame_head + MSBC_H2_HEADER_LEN, in hfp_read_msbc()
|