Home
last modified time | relevance | path

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

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