Home
last modified time | relevance | path

Searched refs:tempBuffer (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libaudiohal/impl/
DEffectBufferHalHidl.cpp49 sp<EffectBufferHalInterface> tempBuffer = new EffectBufferHalHidl(size); in mirror() local
50 status_t result = static_cast<EffectBufferHalHidl*>(tempBuffer.get())->init(); in mirror()
52 tempBuffer->setExternalData(external); in mirror()
53 *buffer = tempBuffer; in mirror()
/frameworks/ml/nn/common/operations/
DTransposeConv2D.cpp188 int32_t* tempBuffer = nullptr; in transposeConvNhwc() local
192 tempBuffer = reinterpret_cast<int32_t*>(static_scratch_buffer); in transposeConvNhwc()
194 tempBuffer = new (std::nothrow) int32_t[tempBufferByteSize / sizeof(int32_t)]; in transposeConvNhwc()
195 if (tempBuffer == nullptr) { in transposeConvNhwc()
199 bufferGuard.reset(tempBuffer); in transposeConvNhwc()
221 memset(tempBuffer, 0, tempBufferByteSize); in transposeConvNhwc()
224 int32_t* outputBase = tempBuffer; in transposeConvNhwc()
261 int32_t* bufferPtr = tempBuffer; in transposeConvNhwc()
324 int32_t* tempBuffer = nullptr; in transposeConvQuant8PerChannelNhwc() local
328 tempBuffer = reinterpret_cast<int32_t*>(static_scratch_buffer); in transposeConvQuant8PerChannelNhwc()
[all …]
/frameworks/base/media/jni/
Dandroid_media_Streams.cpp70 void* tempBuffer = malloc(sizeToRead); in GetData() local
71 if (tempBuffer == NULL) { in GetData()
75 size_t bytesRead = mStream->read(tempBuffer, sizeToRead); in GetData()
77 free(tempBuffer); in GetData()
80 mStreamBuffer.write(tempBuffer, bytesRead); in GetData()
81 free(tempBuffer); in GetData()