Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp370 float fscale; // multiplicative scale in Visualizer_process() local
391 fscale = 0.99f / maxSample; in Visualizer_process()
393 const float significand = frexp(fscale, &exp); in Visualizer_process()
395 fscale *= 255.f / 256.f; // avoid returning unaltered PCM signal in Visualizer_process()
399 fscale = 1.f; in Visualizer_process()
424 fscale = 1.f / pContext->mChannelCount; // account for summing all the channels together. in Visualizer_process()
443 buf[captIdx] = clamp8_from_float(smp * fscale); in Visualizer_process()