Lines Matching refs:d
118 int16_t d; in max_mic_distance() local
145 d = tdfb_mic_distance_sqrt(d2_max); in max_mic_distance()
146 return d; in max_mic_distance()
152 int16_t a, b, c, d, e, f; in line_array_mode_check() local
167 d = cd->mic_locations[i + 2].x - cd->mic_locations[i].x; in line_array_mode_check()
170 cross_product_s16(&px, &py, &pz, a, b, c, d, e, f); in line_array_mode_check()
229 cd->direction.d = rzalloc(SOF_MEM_ZONE_RUNTIME, 0, SOF_MEM_CAPS_RAM, cd->direction.d_size); in tdfb_direction_init()
230 if (!cd->direction.d) in tdfb_direction_init()
236 cd->direction.d_end = cd->direction.d + n; in tdfb_direction_init()
237 cd->direction.rp = cd->direction.d; in tdfb_direction_init()
238 cd->direction.wp = cd->direction.d + ch_count * (cd->direction.max_lag + 1); in tdfb_direction_init()
255 rfree(cd->direction.d); in tdfb_direction_init()
256 cd->direction.d = NULL; in tdfb_direction_init()
267 rfree(cd->direction.d); in tdfb_direction_free()
342 tdfb_cdec_s16(&x, cd->direction.d, cd->direction.d_size); in time_differences()
372 int16_t d; in distance_from_source() local
382 d = tdfb_mic_distance_sqrt(d2); in distance_from_source()
383 return d; in distance_from_source()
388 int16_t d[PLATFORM_MAX_CHANNELS]; in theoretical_time_differences() local
403 d[i] = distance_from_source(cd, i, src_x, src_y, 0); in theoretical_time_differences()
406 delta_d = d[i + 1] - d[0]; /* Meters Q4.12 */ in theoretical_time_differences()