Home
last modified time | relevance | path

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

/device/htc/flounder/audio/visualizer/
Dnv_offload_visualizer.c683 int32_t smp = inBuffer->s16[i]; in visualizer_process() local
684 if (smp < 0) smp = -smp - 1; /* take care to keep the max negative in range */ in visualizer_process()
685 int32_t clz = __builtin_clz(smp); in visualizer_process()
713 int32_t smp = inBuffer->s16[2 * in_idx] + inBuffer->s16[2 * in_idx + 1]; in visualizer_process() local
714 smp = smp >> shift; in visualizer_process()
715 buf[capt_idx] = ((uint8_t)smp)^0x80; in visualizer_process()