Searched refs:tempBuffer (Results 1 – 3 of 3) sorted by relevance
49 sp<EffectBufferHalInterface> tempBuffer = new EffectBufferHalHidl(size); in mirror() local50 status_t result = static_cast<EffectBufferHalHidl*>(tempBuffer.get())->init(); in mirror()52 tempBuffer->setExternalData(external); in mirror()53 *buffer = tempBuffer; in mirror()
188 int32_t* tempBuffer = nullptr; in transposeConvNhwc() local192 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() local328 tempBuffer = reinterpret_cast<int32_t*>(static_scratch_buffer); in transposeConvQuant8PerChannelNhwc()[all …]
70 void* tempBuffer = malloc(sizeToRead); in GetData() local71 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()