Searched refs:peak_u16 (Results 1 – 1 of 1) sorted by relevance
94 uint16_t peak_u16; /* the positive peak of the absolute value of the samples in a buffer */ member559 visu_ctxt->past_meas[i].peak_u16 = 0; in visualizer_init()664 visu_ctxt->past_meas[visu_ctxt->meas_buffer_idx].peak_u16 = (uint16_t)max_sample; in visualizer_process()795 uint16_t peak_u16 = 0; in visualizer_command() local806 visu_ctxt->past_meas[i].peak_u16 = 0; in visualizer_command()817 if (visu_ctxt->past_meas[i].peak_u16 > peak_u16) { in visualizer_command()818 peak_u16 = visu_ctxt->past_meas[i].peak_u16; in visualizer_command()833 if (peak_u16 == 0) { in visualizer_command()836 p_int_reply_data[MEASUREMENT_IDX_PEAK] = (int32_t) (2000 * log10(peak_u16 / 32767.0f)); in visualizer_command()839 peak_u16, p_int_reply_data[MEASUREMENT_IDX_PEAK], in visualizer_command()