Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DIMediaSource.cpp359 MediaBuffer *transferBuf = nullptr; in onTransact() local
366 transferBuf = buf; in onTransact()
370 &transferBuf, false /* nonBlocking */, length); in onTransact()
372 || transferBuf == nullptr in onTransact()
373 || transferBuf->mMemory == nullptr) { in onTransact()
376 if (transferBuf != nullptr) { in onTransact()
377 transferBuf->release(); in onTransact()
378 transferBuf = nullptr; in onTransact()
383 memcpy(transferBuf->data(), (uint8_t*)buf->data() + offset, length); in onTransact()
391 if (transferBuf != nullptr) { // Using shared buffers. in onTransact()
[all …]