Searched refs:peak_u16 (Results 1 – 1 of 1) sorted by relevance
106 uint16_t peak_u16; /* the positive peak of the absolute value of the samples in a buffer */ member629 visu_ctxt->past_meas[i].peak_u16 = 0; in visualizer_init()749 visu_ctxt->past_meas[visu_ctxt->meas_buffer_idx].peak_u16 = (uint16_t)max_sample; in visualizer_process()895 uint16_t peak_u16 = 0; in visualizer_command() local906 visu_ctxt->past_meas[i].peak_u16 = 0; in visualizer_command()917 if (visu_ctxt->past_meas[i].peak_u16 > peak_u16) { in visualizer_command()918 peak_u16 = visu_ctxt->past_meas[i].peak_u16; in visualizer_command()933 if (peak_u16 == 0) { in visualizer_command()936 p_int_reply_data[MEASUREMENT_IDX_PEAK] = (int32_t) (2000 * log10(peak_u16 / 32767.0f)); in visualizer_command()939 peak_u16, p_int_reply_data[MEASUREMENT_IDX_PEAK], in visualizer_command()