Lines Matching refs:bufDesc
117 bool VirtualCamera::deliverFrame(const BufferDesc_1_1& bufDesc) { in deliverFrame() argument
122 } 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()
171 mSourceCameras.erase(bufDesc.deviceId); in deliverFrame()