Searched refs:mInBuffer (Results 1 – 12 of 12) sorted by relevance
/frameworks/av/media/libstagefright/foundation/ |
D | ANetworkSession.cpp | 121 AString mInBuffer; member 337 mInBuffer.append(tmp, n); in readMore() 352 while (mInBuffer.size() >= 2) { in readMore() 353 size_t packetSize = U16_AT((const uint8_t *)mInBuffer.c_str()); in readMore() 355 if (mInBuffer.size() < packetSize + 2) { in readMore() 360 memcpy(packet->data(), mInBuffer.c_str() + 2, packetSize); in readMore() 371 mInBuffer.erase(0, packetSize + 2); in readMore() 377 if (mInBuffer.size() > 0 && mInBuffer.c_str()[0] == '$') { in readMore() 378 if (mInBuffer.size() < 4) { in readMore() 382 length = U16_AT((const uint8_t *)mInBuffer.c_str() + 2); in readMore() [all …]
|
/frameworks/av/services/audioflinger/ |
D | Effects.h | 91 return mInBuffer != 0 ? reinterpret_cast<int16_t*>(mInBuffer->ptr()) : NULL; in inBuffer() 159 sp<EffectBufferHalInterface> mInBuffer; // Buffers for interacting with HAL variable 317 mInBuffer = buffer; in setInBuffer() 320 return mInBuffer != 0 ? reinterpret_cast<effect_buffer_t*>(mInBuffer->ptr()) : NULL; in inBuffer() 410 sp<EffectBufferHalInterface> mInBuffer; // chain input buffer variable
|
D | Effects.cpp | 292 if (mState == DESTROYED || mEffectInterface == 0 || mInBuffer == 0 || mOutBuffer == 0) { in process() 375 sp<EffectBufferHalInterface> inBuffer = mInBuffer; in process() 648 setInBuffer(mInBuffer); in configure() 1006 mInBuffer = buffer; in setInBuffer() 1018 if (!auxType && formatMismatch && mInBuffer.get() != nullptr) { in setInBuffer() 1433 dumpInOutBuffer(true /* isInput */, mInBuffer).c_str(), in dump() 1908 if (mInBuffer == NULL) { in clearInputBuffer_l() 1914 memset(mInBuffer->audioBuffer()->raw, 0, thread->frameCount() * frameSize); in clearInputBuffer_l() 1915 mInBuffer->commit(); in clearInputBuffer_l() 1957 mInBuffer->update(); in process_l() [all …]
|
/frameworks/av/media/libaudioprocessing/ |
D | BufferProviders.cpp | 187 nullptr, mInFrameSize * bufferFrameCount, &mInBuffer); in DownmixerBufferProvider() 198 mInBuffer.clear(); in DownmixerBufferProvider() 203 mDownmixInterface->setInBuffer(mInBuffer); in DownmixerBufferProvider() 218 mInBuffer.clear(); in DownmixerBufferProvider() 233 mInBuffer.clear(); in DownmixerBufferProvider() 260 mInBuffer.clear(); in DownmixerBufferProvider() 278 mInBuffer->setExternalData(const_cast<void*>(src)); in copyFrames() 279 mInBuffer->setFrameCount(frames); in copyFrames() 280 mInBuffer->update(mInFrameSize * frames); in copyFrames()
|
D | AudioResamplerDyn.cpp | 216 mInBuffer.init(); in init() 471 mInBuffer.resize(mChannelCount, c.mHalfNumCoefs); in setSampleRate() 576 TI* impulse = mInBuffer.getImpulse(); in resample() 615 mInBuffer.reset(); in resample() 620 mInBuffer.template readAdvance<CHANNELS>( in resample() 631 mInBuffer.template readAdvance<CHANNELS>( in resample() 670 mInBuffer.template readAdvance<CHANNELS>(impulse, halfNumCoefs, in, inputIndex); in resample() 694 mInBuffer.setImpulse(impulse); in resample()
|
D | AudioResamplerDyn.h | 158 InBuffer mInBuffer; variable
|
/frameworks/av/media/libaudiohal/2.0/ |
D | EffectHalHidl.cpp | 126 if (buffer.get() == nullptr || mInBuffer.get() == nullptr) { in setInBuffer() 127 mBuffersChanged = buffer.get() != mInBuffer.get(); in setInBuffer() 129 mBuffersChanged = buffer->audioBuffer() != mInBuffer->audioBuffer(); in setInBuffer() 132 mInBuffer = buffer; in setInBuffer() 185 bool inBufferFrameCountUpdated = mInBuffer->checkFrameCountChange(); in needToResetBuffers() 191 if (mEffect == 0 || mInBuffer == 0 || mOutBuffer == 0) return NO_INIT; in processImpl() 224 static_cast<EffectBufferHalHidl*>(mInBuffer.get())->hidlBuffer(), in setProcessBuffers()
|
D | EffectHalHidl.h | 76 sp<EffectBufferHalInterface> mInBuffer; variable
|
/frameworks/av/media/libaudiohal/4.0/ |
D | EffectHalHidl.cpp | 129 if (buffer.get() == nullptr || mInBuffer.get() == nullptr) { in setInBuffer() 130 mBuffersChanged = buffer.get() != mInBuffer.get(); in setInBuffer() 132 mBuffersChanged = buffer->audioBuffer() != mInBuffer->audioBuffer(); in setInBuffer() 135 mInBuffer = buffer; in setInBuffer() 188 bool inBufferFrameCountUpdated = mInBuffer->checkFrameCountChange(); in needToResetBuffers() 194 if (mEffect == 0 || mInBuffer == 0 || mOutBuffer == 0) return NO_INIT; in processImpl() 227 static_cast<EffectBufferHalHidl*>(mInBuffer.get())->hidlBuffer(), in setProcessBuffers()
|
D | EffectHalHidl.h | 77 sp<EffectBufferHalInterface> mInBuffer; variable
|
/frameworks/av/media/libmedia/include/media/ |
D | BufferProviders.h | 118 sp<EffectBufferHalInterface> mInBuffer; variable
|
/frameworks/av/include/media/ |
D | BufferProviders.h | 118 sp<EffectBufferHalInterface> mInBuffer; variable
|