Searched refs:cShift (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/services/audioflinger/
H A DAudioResamplerSinc.h79 int cShift; member in struct:android::AudioResamplerSinc::Constants
H A DAudioResamplerSinc.cpp82 c->cShift = kNumPhaseBits - c->coefsBits;
83 c->cMask = ((1<< c->coefsBits)-1) << c->cShift;
117 c->cShift = kNumPhaseBits - c->coefsBits;
118 c->cMask = ((1<<c->coefsBits)-1) << c->cShift;
401 uint32_t indexP = (phase & c->cMask) >> c->cShift;
403 uint32_t indexN = (-phase & c->cMask) >> c->cShift;
406 indexN = c->cMask >> c->cShift;

Completed in 47 milliseconds