Lines Matching refs:req
216 sp<CaptureRequest> req;
217 ret = allocateCaptureRequest(requests[i], req);
222 if (req->mSurfaceList.empty()) {
226 requestList.push_back(*(req.get()));
227 requestsV.push_back(req);
282 sp<CaptureRequest> req(new CaptureRequest());
283 req->mMetadata = request->settings->getInternalData();
284 req->mIsReprocess = false; // NDK does not support reprocessing yet
294 req->mSurfaceList.push_back(surface);
296 outReq = req;
301 CameraDevice::allocateACaptureRequest(sp<CaptureRequest>& req) {
303 CameraMetadata clone = req->mMetadata;
306 for (size_t i = 0; i < req->mSurfaceList.size(); i++) {
307 ANativeWindow* anw = static_cast<ANativeWindow*>(req->mSurfaceList[i].get());
315 CameraDevice::freeACaptureRequest(ACaptureRequest* req) {
316 if (req == nullptr) {
319 delete req->settings;
320 delete req->targets;
321 delete req;