• Home
  • Raw
  • Download

Lines Matching refs:request

315     std::shared_ptr<CaptureRequest> request = std::make_shared<CaptureRequest>(temp_request);  in processCaptureRequest()  local
317 ALOGV("%s:%d: frame: %d", __func__, mId, request->frame_number); in processCaptureRequest()
319 if (!mInFlightTracker->CanAddRequest(*request)) { in processCaptureRequest()
326 if (request->settings.isEmpty() && !mSettingsSet) { in processCaptureRequest()
328 __func__, mId, request->frame_number); in processCaptureRequest()
332 if (request->input_buffer != NULL) { in processCaptureRequest()
334 request->input_buffer.get()); in processCaptureRequest()
339 if (!isValidRequestSettings(request->settings)) { in processCaptureRequest()
345 if (request->output_buffers.size() <= 0) { in processCaptureRequest()
347 request->output_buffers.size()); in processCaptureRequest()
350 for (auto& output_buffer : request->output_buffers) { in processCaptureRequest()
357 if (!mInFlightTracker->Add(request)) { in processCaptureRequest()
359 __func__, mId, request->frame_number); in processCaptureRequest()
369 enqueueRequest(request); in processCaptureRequest()
376 void Camera::completeRequest(std::shared_ptr<CaptureRequest> request, int err) in completeRequest() argument
378 if (!mInFlightTracker->Remove(request)) { in completeRequest()
381 __func__, mId, request.get()); in completeRequest()
391 __func__, mId, request->frame_number); in completeRequest()
392 completeRequestWithError(request); in completeRequest()
401 request->settings, ANDROID_SENSOR_TIMESTAMP, &timestamp); in completeRequest()
404 __func__, mId, request->frame_number); in completeRequest()
407 completeRequestWithError(request); in completeRequest()
410 notifyShutter(request->frame_number, timestamp); in completeRequest()
415 sendResult(request); in completeRequest()
430 for (auto& request : requests) { in flush() local
433 completeRequestWithError(request); in flush()
479 void Camera::completeRequestWithError(std::shared_ptr<CaptureRequest> request) in completeRequestWithError() argument
485 message.message.error.frame_number = request->frame_number; in completeRequestWithError()
493 sendResult(request); in completeRequestWithError()
496 void Camera::sendResult(std::shared_ptr<CaptureRequest> request) { in sendResult() argument
500 request->frame_number, in sendResult()
501 request->settings.getAndLock(), in sendResult()
502 request->output_buffers.size(), in sendResult()
503 request->output_buffers.data(), in sendResult()
504 request->input_buffer.get(), in sendResult()
566 camera3_capture_request_t *request) in process_capture_request() argument
568 return camdev_to_camera(dev)->processCaptureRequest(request); in process_capture_request()