Lines Matching refs:req

350     sp<CaptureRequest> req(new CaptureRequest());  in allocateCaptureRequest()  local
351 req->mPhysicalCameraSettings.push_back({getId(), in allocateCaptureRequest()
354 req->mPhysicalCameraSettings.push_back({entry.first, in allocateCaptureRequest()
357 req->mIsReprocess = false; // NDK does not support reprocessing yet in allocateCaptureRequest()
358 req->mContext = request->context; in allocateCaptureRequest()
359 req->mSurfaceConverted = true; // set to true, and fill in stream/surface idx to speed up IPC in allocateCaptureRequest()
369 req->mSurfaceList.push_back(surface); in allocateCaptureRequest()
380 req->mStreamIdxList.push_back(streamId); in allocateCaptureRequest()
381 req->mSurfaceIdxList.push_back(surfaceId); in allocateCaptureRequest()
395 outReq = req; in allocateCaptureRequest()
400 CameraDevice::allocateACaptureRequest(sp<CaptureRequest>& req, const std::string& deviceId) { in allocateACaptureRequest() argument
402 for (auto& entry : req->mPhysicalCameraSettings) { in allocateACaptureRequest()
412 for (size_t i = 0; i < req->mSurfaceList.size(); i++) { in allocateACaptureRequest()
413 ANativeWindow* anw = static_cast<ANativeWindow*>(req->mSurfaceList[i].get()); in allocateACaptureRequest()
417 pRequest->context = req->mContext; in allocateACaptureRequest()
422 CameraDevice::freeACaptureRequest(ACaptureRequest* req) { in freeACaptureRequest() argument
423 if (req == nullptr) { in freeACaptureRequest()
426 req->settings.clear(); in freeACaptureRequest()
427 req->physicalSettings.clear(); in freeACaptureRequest()
428 delete req->targets; in freeACaptureRequest()
429 delete req; in freeACaptureRequest()