Searched refs:mOutBuffer (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/media/libaudiohal/impl/ |
D | EffectHalHidl.cpp | 138 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()
|
D | EffectHalHidl.h | 78 sp<EffectBufferHalInterface> mOutBuffer; variable
|
/frameworks/av/media/libaudioprocessing/ |
D | BufferProviders.cpp | 203 nullptr, mOutFrameSize * bufferFrameCount, &mOutBuffer); in DownmixerBufferProvider() 212 mDownmixInterface->setOutBuffer(mOutBuffer); in DownmixerBufferProvider() 225 mOutBuffer.clear(); in DownmixerBufferProvider() 240 mOutBuffer.clear(); in DownmixerBufferProvider() 267 mOutBuffer.clear(); in DownmixerBufferProvider() 289 mOutBuffer->setFrameCount(frames); in copyFrames() 290 mOutBuffer->setExternalData(dst); in copyFrames() 294 mOutBuffer->update(mOutFrameSize * frames); in copyFrames() 299 mOutBuffer->commit(mOutFrameSize * frames); in copyFrames()
|
/frameworks/av/services/audioflinger/ |
D | Effects.h | 240 return mOutBuffer != 0 ? reinterpret_cast<int16_t*>(mOutBuffer->ptr()) : NULL; in outBuffer() 278 sp<EffectBufferHalInterface> mOutBuffer; variable 456 mOutBuffer = buffer; in setOutBuffer() 459 return mOutBuffer != 0 ? reinterpret_cast<effect_buffer_t*>(mOutBuffer->ptr()) : NULL; in outBuffer() 596 sp<EffectBufferHalInterface> mOutBuffer; // chain output buffer variable
|
D | Effects.cpp | 633 if (mState == DESTROYED || mEffectInterface == 0 || mInBuffer == 0 || mOutBuffer == 0) { in process() 717 sp<EffectBufferHalInterface> outBuffer = mOutBuffer; in process() 768 ? mOutConversionBuffer : mOutBuffer; in process() 777 mOutBuffer->audioBuffer()->f32, mOutChannelCountRequested, in process() 996 setOutBuffer(mOutBuffer); in configure() 1329 mOutBuffer = buffer; in setOutBuffer() 1338 if (formatMismatch && mOutBuffer.get() != nullptr) { in setOutBuffer() 1575 dumpInOutBuffer(false /* isInput */, mOutBuffer).c_str(), in dump() 2062 if (mInBuffer->audioBuffer()->raw != mOutBuffer->audioBuffer()->raw) { in process_l() 2063 mOutBuffer->update(); in process_l() [all …]
|
D | Tracks.cpp | 1557 mOutBuffer.frameCount = 0; 1599 mOutBuffer.frameCount = 0; in stop() 1629 if (mOutBuffer.frameCount == 0) { in write() 1630 mOutBuffer.frameCount = pInBuffer->frameCount; in write() 1632 status_t status = obtainBuffer(&mOutBuffer, waitTimeLeftMs); in write() 1652 uint32_t outFrames = pInBuffer->frameCount > mOutBuffer.frameCount ? mOutBuffer.frameCount : in write() 1654 memcpy(mOutBuffer.raw, pInBuffer->raw, outFrames * mFrameSize); in write() 1662 mOutBuffer.frameCount -= outFrames; in write() 1663 mOutBuffer.raw = (int8_t *)mOutBuffer.raw + outFrames * mFrameSize; in write()
|
D | PlaybackTracks.h | 356 AudioBufferProvider::Buffer mOutBuffer; variable
|
/frameworks/av/media/libmedia/include/media/ |
D | BufferProviders.h | 120 sp<EffectBufferHalInterface> mOutBuffer; variable
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 250 ASSERT_EQ(HAL_PIXEL_FORMAT_RGBA_8888, mOutBuffer->getPixelFormat()); in expectColor() 251 expectBufferColor(mOutBuffer, mPixels, rect, color, tolerance); in expectColor() 255 ASSERT_EQ(HAL_PIXEL_FORMAT_RGBA_8888, mOutBuffer->getPixelFormat()); in expectBorder() 258 const bool rightBorder = rect.right < int32_t(mOutBuffer->getWidth()); in expectBorder() 259 const bool bottomBorder = rect.bottom < int32_t(mOutBuffer->getHeight()); in expectBorder() 312 ASSERT_EQ(HAL_PIXEL_FORMAT_RGBA_8888, mOutBuffer->getPixelFormat()); in checkPixel() 313 const uint8_t* pixel = mPixels + (4 * (y * mOutBuffer->getStride() + x)); in checkPixel() 328 explicit ScreenCapture(const sp<GraphicBuffer>& outBuffer) : mOutBuffer(outBuffer) { in ScreenCapture() 329 mOutBuffer->lock(GRALLOC_USAGE_SW_READ_OFTEN, reinterpret_cast<void**>(&mPixels)); in ScreenCapture() 332 ~ScreenCapture() { mOutBuffer->unlock(); } in ~ScreenCapture() [all …]
|