Lines Matching defs:CameraDeviceSession
66 struct CameraDeviceSession : public BnCameraDeviceSession { struct
101 using HwCaptureRequest = hw::HwCaptureRequest;
103 struct DelayedCaptureResult {
123 const std::shared_ptr<CameraDevice> mParent;
124 const std::shared_ptr<ICameraDeviceCallback> mCb;
125 hw::HwCamera& mHwCamera;
126 MetadataQueue mRequestQueue;
127 MetadataQueue mResultQueue;
128 std::mutex mResultQueueMutex;
130 StreamBufferCache mStreamBufferCache;
132 BlockingQueue<HwCaptureRequest> mCaptureRequests;
133 BlockingQueue<DelayedCaptureResult> mDelayedCaptureResults;
135 size_t mNumBuffersInFlight = 0;
136 std::condition_variable mNoBuffersInFlight;
137 std::mutex mNumBuffersInFlightMtx;
139 std::thread mCaptureThread;
140 std::thread mDelayedCaptureThread;
142 std::atomic<bool> mFlushing = false;