Home
last modified time | relevance | path

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

/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.cpp733 BufferDesc_1_1 bufDesc_1_1 = {}; in forwardFrame() local
735 reinterpret_cast<AHardwareBuffer_Desc *>(&bufDesc_1_1.buffer.description); in forwardFrame()
743 bufDesc_1_1.buffer.nativeHandle = mBuffers[idx].handle; in forwardFrame()
744 bufDesc_1_1.bufferId = idx; in forwardFrame()
745 bufDesc_1_1.deviceId = mDescription.v1.cameraId; in forwardFrame()
747 bufDesc_1_1.timestamp = systemTime(SYSTEM_TIME_MONOTONIC); in forwardFrame()
753 mapper.lock(bufDesc_1_1.buffer.nativeHandle, in forwardFrame()
769 fillRGBAFromYUYV(bufDesc_1_1, in forwardFrame()
779 fillBufferCopy(bufDesc_1_1, in forwardFrame()
792 mapper.unlock(bufDesc_1_1.buffer.nativeHandle); in forwardFrame()
[all …]
/packages/services/Car/cpp/evs/sampleDriver/
DEvsV4lCamera.cpp762 BufferDesc_1_1 bufDesc_1_1 = {}; in forwardFrame() local
764 reinterpret_cast<AHardwareBuffer_Desc *>(&bufDesc_1_1.buffer.description); in forwardFrame()
771 bufDesc_1_1.buffer.nativeHandle = mBuffers[idx].handle; in forwardFrame()
772 bufDesc_1_1.bufferId = idx; in forwardFrame()
773 bufDesc_1_1.deviceId = mDescription.v1.cameraId; in forwardFrame()
775 bufDesc_1_1.timestamp = in forwardFrame()
785 mapper.lock(bufDesc_1_1.buffer.nativeHandle, in forwardFrame()
802 mFillBufferFromVideo(bufDesc_1_1, (uint8_t *)targetPixels, pData, mVideo.getStride()); in forwardFrame()
805 mapper.unlock(bufDesc_1_1.buffer.nativeHandle); in forwardFrame()
818 frames[0] = bufDesc_1_1; in forwardFrame()
[all …]
/packages/services/Car/cpp/evs/apps/default/
DStreamHandler.cpp184 void StreamHandler::doneWithFrame(const BufferDesc_1_1& bufDesc_1_1) { in doneWithFrame() argument
188 if ((mHeldBuffer < 0) || (bufDesc_1_1.bufferId != mBuffers[mHeldBuffer].bufferId)) { in doneWithFrame()