Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DIMediaSource.cpp362 MediaBuffer *transferBuf = nullptr; in onTransact() local
369 transferBuf = buf; in onTransact()
373 (MediaBufferBase **)&transferBuf, false /* nonBlocking */, length); in onTransact()
375 || transferBuf == nullptr in onTransact()
376 || transferBuf->mMemory == nullptr) { in onTransact()
379 if (transferBuf != nullptr) { in onTransact()
380 transferBuf->release(); in onTransact()
381 transferBuf = nullptr; in onTransact()
386 memcpy(transferBuf->data(), (uint8_t*)buf->data() + offset, length); in onTransact()
394 if (transferBuf != nullptr) { // Using shared buffers. in onTransact()
[all …]