Home
last modified time | relevance | path

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

/hardware/qcom/audio/visualizer/
Doffload_visualizer.c737 uint32_t inIdx; in visualizer_process() local
740 for (inIdx = 0 ; inIdx < inBuffer->frameCount * visu_ctxt->channel_count ; inIdx++) { in visualizer_process()
741 if (inBuffer->s16[inIdx] > max_sample) { in visualizer_process()
742 max_sample = inBuffer->s16[inIdx]; in visualizer_process()
743 } else if (-inBuffer->s16[inIdx] > max_sample) { in visualizer_process()
744 max_sample = -inBuffer->s16[inIdx]; in visualizer_process()
746 rms_squared_acc += (inBuffer->s16[inIdx] * inBuffer->s16[inIdx]); in visualizer_process()