Home
last modified time | relevance | path

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

/frameworks/av/media/libaudiohal/
DEffectHalLocal.cpp43 mOutBuffer = buffer; in setOutBuffer()
48 if (mInBuffer == nullptr || mOutBuffer == nullptr) { in process()
50 ALOGE_IF(mOutBuffer == nullptr, "Output buffer not set"); in process()
53 return (*mHandle)->process(mHandle, mInBuffer->audioBuffer(), mOutBuffer->audioBuffer()); in process()
58 if (mInBuffer == nullptr || mOutBuffer == nullptr) { in processReverse()
60 ALOGE_IF(mOutBuffer == nullptr, "Output buffer not set"); in processReverse()
64 mHandle, mInBuffer->audioBuffer(), mOutBuffer->audioBuffer()); in processReverse()
DEffectHalHidl.cpp132 if (mOutBuffer == 0 || buffer->audioBuffer() != mOutBuffer->audioBuffer()) { in setOutBuffer()
135 mOutBuffer = buffer; in setOutBuffer()
177 bool outBufferFrameCountUpdated = mOutBuffer->checkFrameCountChange(); in needToResetBuffers()
182 if (mEffect == 0 || mInBuffer == 0 || mOutBuffer == 0) return NO_INIT; in processImpl()
216 static_cast<EffectBufferHalHidl*>(mOutBuffer.get())->hidlBuffer()); in setProcessBuffers()
DEffectHalLocal.h59 sp<EffectBufferHalInterface> mOutBuffer; variable
DEffectHalHidl.h77 sp<EffectBufferHalInterface> mOutBuffer; variable
/frameworks/av/services/audioflinger/
DEffects.h95 return mOutBuffer != 0 ? reinterpret_cast<int16_t*>(mOutBuffer->ptr()) : NULL; in outBuffer()
160 sp<EffectBufferHalInterface> mOutBuffer; variable
315 mOutBuffer = buffer; in setOutBuffer()
318 return mOutBuffer != 0 ? reinterpret_cast<int16_t*>(mOutBuffer->ptr()) : NULL; in outBuffer()
403 sp<EffectBufferHalInterface> mOutBuffer; // chain output buffer variable
DTracks.cpp1266 mOutBuffer.frameCount = 0; in OutputTrack()
1307 mOutBuffer.frameCount = 0; in stop()
1337 if (mOutBuffer.frameCount == 0) { in write()
1338 mOutBuffer.frameCount = pInBuffer->frameCount; in write()
1340 status_t status = obtainBuffer(&mOutBuffer, waitTimeLeftMs); in write()
1359 uint32_t outFrames = pInBuffer->frameCount > mOutBuffer.frameCount ? mOutBuffer.frameCount : in write()
1361 memcpy(mOutBuffer.raw, pInBuffer->raw, outFrames * mFrameSize); in write()
1369 mOutBuffer.frameCount -= outFrames; in write()
1370 mOutBuffer.raw = (int8_t *)mOutBuffer.raw + outFrames * mFrameSize; in write()
DEffects.cpp284 if (mState == DESTROYED || mEffectInterface == 0 || mInBuffer == 0 || mOutBuffer == 0) { in process()
419 if (mOutBuffer != 0) { in configure()
420 mOutBuffer->setFrameCount(mConfig.outputCfg.buffer.frameCount); in configure()
794 mOutBuffer = buffer; in setOutBuffer()
1651 if (mInBuffer->audioBuffer()->raw != mOutBuffer->audioBuffer()->raw) { in process_l()
1652 mOutBuffer->update(); in process_l()
1658 if (mInBuffer->audioBuffer()->raw != mOutBuffer->audioBuffer()->raw) { in process_l()
1659 mOutBuffer->commit(); in process_l()
1801 effect->setOutBuffer(mOutBuffer); in addEffect_ll()
1838 mEffects[i - 1]->setOutBuffer(mOutBuffer); in removeEffect_l()
[all …]
DPlaybackTracks.h227 AudioBufferProvider::Buffer mOutBuffer; variable
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp195 nullptr, mOutFrameSize * bufferFrameCount, &mOutBuffer); in DownmixerBufferProvider()
204 mDownmixInterface->setOutBuffer(mOutBuffer); in DownmixerBufferProvider()
217 mOutBuffer.clear(); in DownmixerBufferProvider()
232 mOutBuffer.clear(); in DownmixerBufferProvider()
259 mOutBuffer.clear(); in DownmixerBufferProvider()
281 mOutBuffer->setFrameCount(frames); in copyFrames()
282 mOutBuffer->setExternalData(dst); in copyFrames()
286 mOutBuffer->update(mOutFrameSize * frames); in copyFrames()
291 mOutBuffer->commit(mOutFrameSize * frames); in copyFrames()
/frameworks/av/include/media/
DBufferProviders.h119 sp<EffectBufferHalInterface> mOutBuffer; variable
/frameworks/av/media/libmedia/include/media/
DBufferProviders.h119 sp<EffectBufferHalInterface> mOutBuffer; variable