Searched refs:bufDesc (Results 1 – 3 of 3) sorted by relevance
117 bool VirtualCamera::deliverFrame(const BufferDesc_1_1& bufDesc) { in deliverFrame() argument122 } else if (mFramesHeld[bufDesc.deviceId].size() >= mFramesAllowed) { in deliverFrame()124 LOG(INFO) << "Skipping new frame as we hold " << mFramesHeld[bufDesc.deviceId].size() in deliverFrame()130 event.deviceId = bufDesc.deviceId; in deliverFrame()141 mSourceCameras.erase(bufDesc.deviceId); in deliverFrame()148 mFramesHeld[bufDesc.deviceId].emplace_back(bufDesc); in deliverFrame()155 reinterpret_cast<const AHardwareBuffer_Desc *>(&bufDesc.buffer.description); in deliverFrame()161 frame_1_0.memHandle = bufDesc.buffer.nativeHandle; in deliverFrame()162 frame_1_0.pixelSize = bufDesc.pixelSize; in deliverFrame()163 frame_1_0.bufferId = bufDesc.bufferId; in deliverFrame()[all …]
78 bool deliverFrame(const BufferDesc& bufDesc);
222 BufferDesc_1_1 bufDesc = buffers[0]; in deliverFrame_1_1() local223 if (bufDesc.buffer.nativeHandle.getNativeHandle() == nullptr) { in deliverFrame_1_1()225 LOG(WARNING) << "Invalid null frame (id: " << std::hex << bufDesc.bufferId in deliverFrame_1_1()249 mBuffers[mReadyBuffer] = bufDesc; in deliverFrame_1_1()