Home
last modified time | relevance | path

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

/packages/services/Car/computepipe/runner/stream_manager/
DPixelStreamManager.cpp100 void* mappedBuffer = nullptr; in setFrameData() local
102 &mappedBuffer); in setFrameData()
103 if (err != 0 || mappedBuffer == nullptr) { in setFrameData()
113 memcpy(mappedBuffer, inputFrame.getFramePtr(), mDesc.stride * mDesc.height * bytesPerPixel); in setFrameData()
116 memcpy((uint8_t*)mappedBuffer + mDesc.stride * y * bytesPerPixel, in setFrameData()
/packages/services/Car/computepipe/tests/runner/stream_manager/
DPixelStreamManagerTest.cpp72 void* mappedBuffer = nullptr; variable
74 &mappedBuffer);
75 if (err != 0 || mappedBuffer == nullptr) {
83 uint8_t* mappedRow = (uint8_t*)mappedBuffer + y * desc.stride * bytesPerPixel;