Lines Matching refs:req

51         ACaptureRequest* req, const ACameraOutputTarget* target) {  in ACaptureRequest_addTarget()  argument
53 if (req == nullptr || req->targets == nullptr || target == nullptr) { in ACaptureRequest_addTarget()
55 if (req != nullptr) in ACaptureRequest_addTarget()
56 req_targets = req->targets; in ACaptureRequest_addTarget()
60 __FUNCTION__, req, req_targets, target); in ACaptureRequest_addTarget()
63 auto pair = req->targets->mOutputs.insert(*target); in ACaptureRequest_addTarget()
72 ACaptureRequest* req, const ACameraOutputTarget* target) { in ACaptureRequest_removeTarget() argument
74 if (req == nullptr || req->targets == nullptr || target == nullptr) { in ACaptureRequest_removeTarget()
76 if (req != nullptr) in ACaptureRequest_removeTarget()
77 req_targets = req->targets; in ACaptureRequest_removeTarget()
81 __FUNCTION__, req, req_targets, target); in ACaptureRequest_removeTarget()
84 req->targets->mOutputs.erase(*target); in ACaptureRequest_removeTarget()
90 const ACaptureRequest* req, uint32_t tag, ACameraMetadata_const_entry* entry) { in ACaptureRequest_getConstEntry() argument
92 if (req == nullptr || entry == nullptr) { in ACaptureRequest_getConstEntry()
94 __FUNCTION__, req, tag, entry); in ACaptureRequest_getConstEntry()
97 return req->settings->getConstEntry(tag, entry); in ACaptureRequest_getConstEntry()
102 const ACaptureRequest* req, const char* physicalId, in ACaptureRequest_getConstEntry_physicalCamera() argument
105 if (req == nullptr || entry == nullptr || physicalId == nullptr) { in ACaptureRequest_getConstEntry_physicalCamera()
107 __FUNCTION__, req, tag, entry, physicalId); in ACaptureRequest_getConstEntry_physicalCamera()
111 const auto& physicalSettings = req->physicalSettings.find(physicalId); in ACaptureRequest_getConstEntry_physicalCamera()
112 if (physicalSettings == req->physicalSettings.end()) { in ACaptureRequest_getConstEntry_physicalCamera()
123 const ACaptureRequest* req, /*out*/int32_t* numTags, /*out*/const uint32_t** tags) { in ACaptureRequest_getAllTags() argument
125 if (req == nullptr || numTags == nullptr || tags == nullptr) { in ACaptureRequest_getAllTags()
127 __FUNCTION__, req, numTags, tags); in ACaptureRequest_getAllTags()
130 return req->settings->getTags(numTags, tags); in ACaptureRequest_getAllTags()
136 ACaptureRequest* req, uint32_t tag, uint32_t count, const NDK_TYPE* data) { \
138 if (req == nullptr || (count > 0 && data == nullptr)) { \
140 __FUNCTION__, req, tag, count, data); \
143 return req->settings->update(tag, count, data); \
158 ACaptureRequest* req, const char* physicalId, uint32_t tag, \ in SET_ENTRY()
161 if (req == nullptr || (count > 0 && data == nullptr) || physicalId == nullptr) { \ in SET_ENTRY()
163 __FUNCTION__, req, tag, count, data, physicalId); \ in SET_ENTRY()
166 if (req->physicalSettings.find(physicalId) == req->physicalSettings.end()) { \ in SET_ENTRY()
171 return req->physicalSettings[physicalId]->update(tag, count, data); \ in SET_ENTRY()