Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DAudioResamplerFirProcess.h79 template<int CHANNELS, typename TO>
80 class Accumulator : public Accumulator<CHANNELS-1, TO> // recursive
85 Accumulator<CHANNELS-1, TO>::clear(); in clear()
90 Accumulator<CHANNELS-1, TO>::acc(coef, data); in acc()
94 Accumulator<CHANNELS-1, TO>::volume(out, gain); in volume()
177 template <int CHANNELS, int STRIDE, typename TFUNC, typename TC, typename TI, typename TO,
189 COMPILE_TIME_ASSERT_FUNCTION_SCOPE(CHANNELS > 0) in ProcessBase()
191 if (CHANNELS > 2) { in ProcessBase()
193 Accumulator<CHANNELS, TO> accum; in ProcessBase()
205 sP -= CHANNELS; in ProcessBase()
[all …]
DAudioResamplerSinc.cpp293 template<int CHANNELS>
298 const size_t headOffset = c.halfNumCoefs*CHANNELS; in resample()
319 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
322 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
328 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
337 for (size_t i=0 ; i<CHANNELS ; i++) { in resample()
338 head[i] = in[inputIndex*CHANNELS + i]; in resample()
343 filterCoefficient<CHANNELS>(&out[outputIndex], phaseFraction, impulse, vRL); in resample()
353 read<CHANNELS>(impulse, phaseFraction, in, inputIndex); in resample()
368 return outputIndex / CHANNELS; in resample()
[all …]
DAudioResamplerFirProcessNeon.h73 template <int CHANNELS, int STRIDE, bool FIXED>
86 COMPILE_TIME_ASSERT_FUNCTION_SCOPE(CHANNELS == 1 || CHANNELS == 2); in ProcessNeonIntrinsic()
88 sP -= CHANNELS*((STRIDE>>1)-1); in ProcessNeonIntrinsic()
103 if (CHANNELS == 2) { in ProcessNeonIntrinsic()
127 switch (CHANNELS) { in ProcessNeonIntrinsic()
168 if (CHANNELS == 1) { in ProcessNeonIntrinsic()
171 } else if (CHANNELS == 2) { in ProcessNeonIntrinsic()
181 template <int CHANNELS, int STRIDE, bool FIXED>
194 COMPILE_TIME_ASSERT_FUNCTION_SCOPE(CHANNELS == 1 || CHANNELS == 2); in ProcessNeonIntrinsic()
196 sP -= CHANNELS*((STRIDE>>1)-1); in ProcessNeonIntrinsic()
[all …]
DAudioResamplerDyn.cpp82 void AudioResamplerDyn<TC, TI, TO>::InBuffer::resize(int CHANNELS, int halfNumCoefs) in resize() argument
85 size_t stateCount = halfNumCoefs * CHANNELS * 2 * kStateSizeMultipleOfFilterLength; in resize()
90 && mRingFull-mState == (ssize_t) (mStateCount-halfNumCoefs*CHANNELS)) { in resize()
101 TI* srcLo = mImpulse - halfNumCoefs*CHANNELS; in resize()
102 TI* srcHi = mImpulse + halfNumCoefs*CHANNELS; in resize()
119 mImpulse = state + halfNumCoefs*CHANNELS; // actually one sample greater than needed in resize()
120 mRingFull = state + mStateCount - halfNumCoefs*CHANNELS; in resize()
125 template<int CHANNELS>
129 TI* head = impulse + halfNumCoefs*CHANNELS; in readAgain()
130 for (size_t i=0 ; i<CHANNELS ; i++) { in readAgain()
[all …]
DAudioResamplerSinc.h49 template<int CHANNELS>
53 template<int CHANNELS>
57 template<int CHANNELS>
63 template<int CHANNELS>
DAudioResamplerDyn.h80 void resize(int CHANNELS, int halfNumCoefs);
91 template<int CHANNELS>
95 template<int CHANNELS>
113 template<int CHANNELS, bool LOCKED, int STRIDE>
/frameworks/base/docs/html/ndk/guides/audio/
Doutput-latency.jd299 #define CHANNELS 1
301 int numSamples = frames * CHANNELS;
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...