Home
last modified time | relevance | path

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

/hardware/knowles/athletico/sound_trigger_hal/tests/
Dtunnel_test_sensor.c86 unsigned char *frame_start, *buf_itr; in main() local
164 memcpy(buf, buf_itr, bytes_rem); in main()
185 buf_itr = (unsigned char *)buf; in main()
189 if (buf_itr[0] != magic_num[0] || buf_itr[1] != magic_num[1] || in main()
190 buf_itr[2] != magic_num[2] || buf_itr[3] != magic_num[3]) { in main()
193 "buf_itr[3] %x ", buf_itr[0], buf_itr[1], buf_itr[2], in main()
194 buf_itr[3]); in main()
200 frame_start = buf_itr; in main()
203 buf_itr += 4; in main()
207 tunnel_id = ((unsigned char) (buf_itr[0]) | in main()
[all …]
Dtunnel_test.c67 void parse_audio_tunnel_data(FILE *out_fp, unsigned char *buf_itr, int frame_sz_in_bytes) { in parse_audio_tunnel_data() argument
71 if (NULL == buf_itr || NULL == out_fp) { in parse_audio_tunnel_data()
76 kst_float_to_q15_vector(q16_buf, buf_itr, frameSizeInWords); in parse_audio_tunnel_data()
107 unsigned char *frame_start, *buf_itr; local
256 memcpy(buf, buf_itr, bytes_rem);
276 buf_itr = (unsigned char *)buf;
280 if (buf_itr[0] != magic_num[0] || buf_itr[1] != magic_num[1] ||
281 buf_itr[2] != magic_num[2] || buf_itr[3] != magic_num[3]) {
284 buf_itr[0], buf_itr[1], buf_itr[2], buf_itr[3]);
289 frame_start = buf_itr;
[all …]
/hardware/knowles/athletico/sound_trigger_hal/
Dadnc_strm.c137 void parse_audio_tunnel_data(unsigned char *buf_itr, in parse_audio_tunnel_data() argument
145 if (buf_itr == NULL || pcm_buf_itr == NULL) { in parse_audio_tunnel_data()
151 kst_float_to_q15_vector(pcm_buf_itr, buf_itr, frameSizeInWords); in parse_audio_tunnel_data()
153 memcpy(pcm_buf_itr, buf_itr, frame_sz_in_bytes); in parse_audio_tunnel_data()
179 unsigned char *buf_itr = adnc_strm_dev->unparsed_buf; in parse_tunnel_buf() local
190 if (buf_itr == NULL) { in parse_tunnel_buf()
197 while (buf_itr[0] != magic_num[0] || buf_itr[1] != magic_num[1] || in parse_tunnel_buf()
198 buf_itr[2] != magic_num[2] || buf_itr[3] != magic_num[3]) { in parse_tunnel_buf()
199 buf_itr++; in parse_tunnel_buf()
204 buf_itr[0], buf_itr[1], buf_itr[2], buf_itr[3]); in parse_tunnel_buf()
[all …]