Lines Matching defs:CameraDeviceSession
74 struct CameraDeviceSession : public virtual RefBase, protected camera3_callback_ops { struct
90 virtual sp<ICameraDeviceSession> getInterface() { in getInterface() argument
133 bool mClosed = false;
136 bool mDisconnected = false;
138 struct AETriggerCancelOverride {
145 camera3_device_t* mDevice;
146 const uint32_t mDeviceVersion;
147 const bool mFreeBufEarly;
148 bool mIsAELockAvailable;
149 bool mDerivePostRawSensKey;
150 uint32_t mNumPartialResults;
152 std::map<int, Camera3Stream> mStreamMap;
154 mutable Mutex mInflightLock; // protecting mInflightBuffers and mCirculatingBuffers
156 std::map<std::pair<int, uint32_t>, camera3_stream_buffer_t> mInflightBuffers;
159 std::map<uint32_t, AETriggerCancelOverride> mInflightAETriggerOverrides;
161 std::map<uint32_t, bool> mInflightRawBoostPresent;
164 static const uint64_t BUFFER_ID_NO_BUFFER = 0;
170 typedef std::unordered_map<uint64_t, buffer_handle_t> CirculatingBuffers;
172 std::map<int, CirculatingBuffers> mCirculatingBuffers;
174 static HandleImporter sHandleImporter;
175 static buffer_handle_t sEmptyBuffer;
177 bool mInitFail;
178 bool mFirstRequest = false;
180 common::V1_0::helper::CameraMetadata mDeviceInfo;
182 using RequestMetadataQueue = MessageQueue<uint8_t, kSynchronizedReadWrite>;
183 std::unique_ptr<RequestMetadataQueue> mRequestMetadataQueue;
184 using ResultMetadataQueue = MessageQueue<uint8_t, kSynchronizedReadWrite>;
185 std::shared_ptr<ResultMetadataQueue> mResultMetadataQueue;
199 struct InflightBatch {
252 static const int NOT_BATCHED = -1;
285 mutable Mutex mLock;
286 std::deque<std::shared_ptr<InflightBatch>> mInflightBatches;
287 uint32_t mNumPartialResults;
288 std::vector<int> mStreamsToBatch;
289 const sp<ICameraDeviceCallback> mCallback;
290 std::shared_ptr<ResultMetadataQueue> mResultMetadataQueue;
315 // Optional argument for ICameraDeviceSession@3.5 impl argument
369 struct TrampolineSessionInterface_3_2 : public ICameraDeviceSession { argument
370 TrampolineSessionInterface_3_2(sp<CameraDeviceSession> parent) : in TrampolineSessionInterface_3_2() argument