Home
last modified time | relevance | path

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

/frameworks/av/media/libaudiohal/impl/
DEffectHalHidl.cpp138 if (buffer.get() == nullptr || mOutBuffer.get() == nullptr) { in setOutBuffer()
139 mBuffersChanged = buffer.get() != mOutBuffer.get(); in setOutBuffer()
141 mBuffersChanged = buffer->audioBuffer() != mOutBuffer->audioBuffer(); in setOutBuffer()
144 mOutBuffer = buffer; in setOutBuffer()
186 bool outBufferFrameCountUpdated = mOutBuffer->checkFrameCountChange(); in needToResetBuffers()
191 if (mEffect == 0 || mInBuffer == 0 || mOutBuffer == 0) return NO_INIT; in processImpl()
225 static_cast<EffectBufferHalHidl*>(mOutBuffer.get())->hidlBuffer()); in setProcessBuffers()
DEffectHalHidl.h78 sp<EffectBufferHalInterface> mOutBuffer; variable
/frameworks/av/services/audioflinger/
DEffects.h97 return mOutBuffer != 0 ? reinterpret_cast<int16_t*>(mOutBuffer->ptr()) : NULL; in outBuffer()
172 sp<EffectBufferHalInterface> mOutBuffer; variable
364 mOutBuffer = buffer; in setOutBuffer()
367 return mOutBuffer != 0 ? reinterpret_cast<effect_buffer_t*>(mOutBuffer->ptr()) : NULL; in outBuffer()
455 sp<EffectBufferHalInterface> mOutBuffer; // chain output buffer variable
DEffects.cpp357 if (mState == DESTROYED || mEffectInterface == 0 || mInBuffer == 0 || mOutBuffer == 0) { in process()
441 sp<EffectBufferHalInterface> outBuffer = mOutBuffer; in process()
492 ? mOutConversionBuffer : mOutBuffer; in process()
501 mOutBuffer->audioBuffer()->f32, mOutChannelCountRequested, in process()
726 setOutBuffer(mOutBuffer); in configure()
1148 mOutBuffer = buffer; in setOutBuffer()
1157 if (formatMismatch && mOutBuffer.get() != nullptr) { in setOutBuffer()
1540 dumpInOutBuffer(false /* isInput */, mOutBuffer).c_str(), in dump()
2083 if (mInBuffer->audioBuffer()->raw != mOutBuffer->audioBuffer()->raw) { in process_l()
2084 mOutBuffer->update(); in process_l()
[all …]
DTracks.cpp1575 mOutBuffer.frameCount = 0;
1617 mOutBuffer.frameCount = 0; in stop()
1647 if (mOutBuffer.frameCount == 0) { in write()
1648 mOutBuffer.frameCount = pInBuffer->frameCount; in write()
1650 status_t status = obtainBuffer(&mOutBuffer, waitTimeLeftMs); in write()
1670 uint32_t outFrames = pInBuffer->frameCount > mOutBuffer.frameCount ? mOutBuffer.frameCount : in write()
1672 memcpy(mOutBuffer.raw, pInBuffer->raw, outFrames * mFrameSize); in write()
1680 mOutBuffer.frameCount -= outFrames; in write()
1681 mOutBuffer.raw = (int8_t *)mOutBuffer.raw + outFrames * mFrameSize; in write()
DPlaybackTracks.h353 AudioBufferProvider::Buffer mOutBuffer; variable
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp202 nullptr, mOutFrameSize * bufferFrameCount, &mOutBuffer); in DownmixerBufferProvider()
211 mDownmixInterface->setOutBuffer(mOutBuffer); in DownmixerBufferProvider()
224 mOutBuffer.clear(); in DownmixerBufferProvider()
239 mOutBuffer.clear(); in DownmixerBufferProvider()
266 mOutBuffer.clear(); in DownmixerBufferProvider()
288 mOutBuffer->setFrameCount(frames); in copyFrames()
289 mOutBuffer->setExternalData(dst); in copyFrames()
293 mOutBuffer->update(mOutFrameSize * frames); in copyFrames()
298 mOutBuffer->commit(mOutFrameSize * frames); in copyFrames()
/frameworks/av/media/libmedia/include/media/
DBufferProviders.h120 sp<EffectBufferHalInterface> mOutBuffer; variable
/frameworks/av/include/media/
DBufferProviders.h120 sp<EffectBufferHalInterface> mOutBuffer; variable
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp249 ASSERT_EQ(HAL_PIXEL_FORMAT_RGBA_8888, mOutBuffer->getPixelFormat()); in expectColor()
250 expectBufferColor(mOutBuffer, mPixels, rect, color, tolerance); in expectColor()
254 ASSERT_EQ(HAL_PIXEL_FORMAT_RGBA_8888, mOutBuffer->getPixelFormat()); in expectBorder()
257 const bool rightBorder = rect.right < int32_t(mOutBuffer->getWidth()); in expectBorder()
258 const bool bottomBorder = rect.bottom < int32_t(mOutBuffer->getHeight()); in expectBorder()
311 ASSERT_EQ(HAL_PIXEL_FORMAT_RGBA_8888, mOutBuffer->getPixelFormat()); in checkPixel()
312 const uint8_t* pixel = mPixels + (4 * (y * mOutBuffer->getStride() + x)); in checkPixel()
327 explicit ScreenCapture(const sp<GraphicBuffer>& outBuffer) : mOutBuffer(outBuffer) { in ScreenCapture()
328 mOutBuffer->lock(GRALLOC_USAGE_SW_READ_OFTEN, reinterpret_cast<void**>(&mPixels)); in ScreenCapture()
331 ~ScreenCapture() { mOutBuffer->unlock(); } in ~ScreenCapture()
[all …]