Lines Matching refs:TI

62 template<typename TC, typename TI, typename TO>
63 AudioResamplerDyn<TC, TI, TO>::InBuffer::InBuffer() in InBuffer()
68 template<typename TC, typename TI, typename TO>
69 AudioResamplerDyn<TC, TI, TO>::InBuffer::~InBuffer() in ~InBuffer()
74 template<typename TC, typename TI, typename TO>
75 void AudioResamplerDyn<TC, TI, TO>::InBuffer::init() in init()
85 template<typename TC, typename TI, typename TO>
86 void AudioResamplerDyn<TC, TI, TO>::InBuffer::resize(int CHANNELS, int halfNumCoefs) in resize()
99 TI* state = NULL; in resize()
108 TI* srcLo = mImpulse - halfNumCoefs*CHANNELS; in resize()
109 TI* srcHi = mImpulse + halfNumCoefs*CHANNELS; in resize()
110 TI* dst = state; in resize()
131 template<typename TC, typename TI, typename TO>
133 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAgain(TI*& impulse, const int halfNumCoefs, in readAgain()
134 const TI* const in, const size_t inputIndex) in readAgain()
136 TI* head = impulse + halfNumCoefs*CHANNELS; in readAgain()
143 template<typename TC, typename TI, typename TO>
145 void AudioResamplerDyn<TC, TI, TO>::InBuffer::readAdvance(TI*& impulse, const int halfNumCoefs, in readAdvance()
146 const TI* const in, const size_t inputIndex) in readAdvance()
152 memcpy(mState, mState+shiftDown, halfNumCoefs*CHANNELS*2*sizeof(TI)); in readAdvance()
158 template<typename TC, typename TI, typename TO>
159 void AudioResamplerDyn<TC, TI, TO>::InBuffer::reset() in reset()
163 memset(mState, 0, mStateCount * sizeof(TI)); in reset()
167 template<typename TC, typename TI, typename TO>
168 void AudioResamplerDyn<TC, TI, TO>::Constants::set( in set()
181 template<typename TC, typename TI, typename TO>
182 AudioResamplerDyn<TC, TI, TO>::AudioResamplerDyn( in AudioResamplerDyn()
208 template<typename TC, typename TI, typename TO>
209 AudioResamplerDyn<TC, TI, TO>::~AudioResamplerDyn() in ~AudioResamplerDyn()
214 template<typename TC, typename TI, typename TO>
215 void AudioResamplerDyn<TC, TI, TO>::init() in init()
221 template<typename TC, typename TI, typename TO>
222 void AudioResamplerDyn<TC, TI, TO>::setVolume(float left, float right) in setVolume()
242 template<typename TC, typename TI, typename TO>
243 void AudioResamplerDyn<TC, TI, TO>::createKaiserFir(Constants &c, in createKaiserFir()
259 template<typename TC, typename TI, typename TO>
260 void AudioResamplerDyn<TC, TI, TO>::createKaiserFir(Constants &c, in createKaiserFir()
345 template<typename TC, typename TI, typename TO>
346 void AudioResamplerDyn<TC, TI, TO>::setSampleRate(int32_t inSampleRate) in setSampleRate()
555 mResampleFunc = &AudioResamplerDyn<TC, TI, TO>::resample<1, true, 16>; in setSampleRate()
558 mResampleFunc = &AudioResamplerDyn<TC, TI, TO>::resample<2, true, 16>; in setSampleRate()
561 mResampleFunc = &AudioResamplerDyn<TC, TI, TO>::resample<3, true, 16>; in setSampleRate()
564 mResampleFunc = &AudioResamplerDyn<TC, TI, TO>::resample<4, true, 16>; in setSampleRate()
567 mResampleFunc = &AudioResamplerDyn<TC, TI, TO>::resample<5, true, 16>; in setSampleRate()
570 mResampleFunc = &AudioResamplerDyn<TC, TI, TO>::resample<6, true, 16>; in setSampleRate()
573 mResampleFunc = &AudioResamplerDyn<TC, TI, TO>::resample<7, true, 16>; in setSampleRate()
576 mResampleFunc = &AudioResamplerDyn<TC, TI, TO>::resample<8, true, 16>; in setSampleRate()
582 mResampleFunc = &AudioResamplerDyn<TC, TI, TO>::resample<1, false, 16>; in setSampleRate()
585 mResampleFunc = &AudioResamplerDyn<TC, TI, TO>::resample<2, false, 16>; in setSampleRate()
588 mResampleFunc = &AudioResamplerDyn<TC, TI, TO>::resample<3, false, 16>; in setSampleRate()
591 mResampleFunc = &AudioResamplerDyn<TC, TI, TO>::resample<4, false, 16>; in setSampleRate()
594 mResampleFunc = &AudioResamplerDyn<TC, TI, TO>::resample<5, false, 16>; in setSampleRate()
597 mResampleFunc = &AudioResamplerDyn<TC, TI, TO>::resample<6, false, 16>; in setSampleRate()
600 mResampleFunc = &AudioResamplerDyn<TC, TI, TO>::resample<7, false, 16>; in setSampleRate()
603 mResampleFunc = &AudioResamplerDyn<TC, TI, TO>::resample<8, false, 16>; in setSampleRate()
614 template<typename TC, typename TI, typename TO>
615 size_t AudioResamplerDyn<TC, TI, TO>::resample(int32_t* out, size_t outFrameCount, in resample()
621 template<typename TC, typename TI, typename TO>
623 size_t AudioResamplerDyn<TC, TI, TO>::resample(TO* out, size_t outFrameCount, in resample()
630 TI* impulse = mInBuffer.getImpulse(); in resample()
676 reinterpret_cast<TI*>(mBuffer.raw), inputIndex); in resample()
687 reinterpret_cast<TI*>(mBuffer.raw), inputIndex); in resample()
693 const TI* const in = reinterpret_cast<const TI*>(mBuffer.raw); in resample()