Searched refs:mInBuffer (Results 1 – 10 of 10) sorted by relevance
/frameworks/av/media/libaudiohal/impl/ |
D | EffectHalAidl.cpp | 166 mInBuffer = buffer; in setInBuffer() 221 const size_t floatsToWrite = std::min(available, mInBuffer->getSize() / sizeof(float)); in process() 224 mInBuffer->getSize() / sizeof(float), available); in process() 227 if (!mInBuffer->audioBuffer() || in process() 228 !inputQ->write((float*)mInBuffer->audioBuffer()->f32, floatsToWrite)) { in process() 230 floatsToWrite, mInBuffer->audioBuffer(), inputQ->availableToWrite()); in process() 286 accumulate_float(mOutBuffer->audioBuffer()->f32, mInBuffer->audioBuffer()->f32, in process() 290 mInBuffer->audioBuffer()->f32, audioSamples, in process() 294 memcpy_to_float_from_float_with_clamping(mInBuffer->audioBuffer()->f32 + audioSamples, in process()
|
D | EffectHalHidl.cpp | 85 if (buffer.get() == nullptr || mInBuffer.get() == nullptr) { in setInBuffer() 86 mBuffersChanged = buffer.get() != mInBuffer.get(); in setInBuffer() 88 mBuffersChanged = buffer->audioBuffer() != mInBuffer->audioBuffer(); in setInBuffer() 91 mInBuffer = buffer; in setInBuffer() 152 bool inBufferFrameCountUpdated = mInBuffer->checkFrameCountChange(); in needToResetBuffers() 158 if (mEffect == 0 || mInBuffer == 0 || mOutBuffer == 0) return NO_INIT; in processImpl() 191 static_cast<EffectBufferHalHidl*>(mInBuffer.get())->hidlBuffer(), in setProcessBuffers()
|
D | EffectHalAidl.h | 80 sp<EffectBufferHalInterface> mInBuffer, mOutBuffer; variable
|
D | EffectHalHidl.h | 72 sp<EffectBufferHalInterface> mInBuffer; variable
|
/frameworks/av/media/libaudioprocessing/ |
D | BufferProviders.cpp | 197 nullptr, mInFrameSize * bufferFrameCount, &mInBuffer); in DownmixerBufferProvider() 208 mInBuffer.clear(); in DownmixerBufferProvider() 213 mDownmixInterface->setInBuffer(mInBuffer); in DownmixerBufferProvider() 228 mInBuffer.clear(); in DownmixerBufferProvider() 243 mInBuffer.clear(); in DownmixerBufferProvider() 270 mInBuffer.clear(); in DownmixerBufferProvider() 288 mInBuffer->setExternalData(const_cast<void*>(src)); in copyFrames() 289 mInBuffer->setFrameCount(frames); in copyFrames() 290 mInBuffer->update(mInFrameSize * frames); in copyFrames()
|
D | AudioResamplerDyn.cpp | 217 mInBuffer.init(); in init() 524 mInBuffer.resize(mChannelCount, c.mHalfNumCoefs); in setSampleRate() 641 TI* impulse = mInBuffer.getImpulse(); in resample() 680 mInBuffer.reset(); in resample() 685 mInBuffer.template readAdvance<CHANNELS>( in resample() 696 mInBuffer.template readAdvance<CHANNELS>( in resample() 735 mInBuffer.template readAdvance<CHANNELS>(impulse, halfNumCoefs, in, inputIndex); in resample() 759 mInBuffer.setImpulse(impulse); in resample()
|
D | AudioResamplerDyn.h | 60 mInBuffer.reset(); in reset() 163 InBuffer mInBuffer; variable
|
/frameworks/av/services/audioflinger/ |
D | Effects.h | 206 return mInBuffer != 0 ? reinterpret_cast<int16_t*>(mInBuffer->ptr()) : NULL; in inBuffer() 274 sp<EffectBufferHalInterface> mInBuffer; // Buffers for interacting with HAL variable 471 mInBuffer = buffer; in setInBuffer() 474 return mInBuffer != 0 ? reinterpret_cast<float*>(mInBuffer->ptr()) : NULL; in inBuffer() 703 sp<EffectBufferHalInterface> mInBuffer; // chain input buffer variable
|
D | Effects.cpp | 681 if (mState == DESTROYED || mEffectInterface == 0 || mInBuffer == 0 || mOutBuffer == 0) { in process() 728 sp<EffectBufferHalInterface> inBuffer = mInBuffer; in process() 984 setInBuffer(mInBuffer); in configure_l() 1285 mInBuffer = buffer; in setInBuffer() 1296 if (!auxType && formatMismatch && mInBuffer != nullptr) { in setInBuffer() 1709 dumpInOutBuffer(true /* isInput */, mInBuffer).c_str(), in dump() 2261 if (mInBuffer == NULL) { in clearInputBuffer_l() 2267 memset(mInBuffer->audioBuffer()->raw, 0, mEffectCallback->frameCount() * frameSize); in clearInputBuffer_l() 2268 mInBuffer->commit(); in clearInputBuffer_l() 2301 mInBuffer->update(); in process_l() [all …]
|
/frameworks/av/media/libaudioprocessing/include/media/ |
D | BufferProviders.h | 120 sp<EffectBufferHalInterface> mInBuffer; variable
|