Home
last modified time | relevance | path

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

/hardware/qcom/audio/visualizer/
Doffload_visualizer.c727 uint32_t inIdx; in visualizer_process() local
730 for (inIdx = 0 ; inIdx < inBuffer->frameCount * visu_ctxt->channel_count ; inIdx++) { in visualizer_process()
731 if (inBuffer->s16[inIdx] > max_sample) { in visualizer_process()
732 max_sample = inBuffer->s16[inIdx]; in visualizer_process()
733 } else if (-inBuffer->s16[inIdx] > max_sample) { in visualizer_process()
734 max_sample = -inBuffer->s16[inIdx]; in visualizer_process()
736 rms_squared_acc += (inBuffer->s16[inIdx] * inBuffer->s16[inIdx]); in visualizer_process()