Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DIMediaSource.cpp364 MediaBuffer *transferBuf = nullptr; in onTransact() local
371 transferBuf = buf; in onTransact()
375 (MediaBufferBase **)&transferBuf, false /* nonBlocking */, length); in onTransact()
377 || transferBuf == nullptr in onTransact()
378 || transferBuf->mMemory == nullptr) { in onTransact()
381 if (transferBuf != nullptr) { in onTransact()
382 transferBuf->release(); in onTransact()
383 transferBuf = nullptr; in onTransact()
388 memcpy(transferBuf->data(), (uint8_t*)buf->data() + offset, length); in onTransact()
396 if (transferBuf != nullptr) { // Using shared buffers. in onTransact()
[all …]