Lines Matching refs:halRequest
5182 requests[i] = &mNextRequests.editItemAt(i).halRequest; in sendRequestsBatch()
5183 ATRACE_ASYNC_BEGIN("frame capture", mNextRequests[i].halRequest.frame_number); in sendRequestsBatch()
5209 triggerFailedRequest.halRequest.frame_number, strerror(-res), res); in sendRequestsBatch()
5219 mNextRequests[numRequestProcessed].halRequest.frame_number, in sendRequestsBatch()
5276 if (nextRequest.halRequest.settings != NULL) { // Don't update if they were unchanged in updateNextRequest()
5279 camera_metadata_t* cloned = clone_camera_metadata(nextRequest.halRequest.settings); in updateNextRequest()
5283 for (uint32_t i = 0; i < nextRequest.halRequest.num_physcam_settings; i++) { in updateNextRequest()
5284 cloned = clone_camera_metadata(nextRequest.halRequest.physcam_settings[i]); in updateNextRequest()
5285 mLatestPhysicalRequest.emplace(nextRequest.halRequest.physcam_id[i], in updateNextRequest()
5292 nextRequest.halRequest.frame_number, in updateNextRequest()
5297 if (nextRequest.halRequest.settings != NULL) { in updateNextRequest()
5299 nextRequest.halRequest.settings); in updateNextRequest()
5302 cleanupPhysicalSettings(nextRequest.captureRequest, &nextRequest.halRequest); in updateNextRequest()
5505 camera3_capture_request_t* halRequest = &nextRequest.halRequest; in prepareHalRequests() local
5509 halRequest->frame_number = captureRequest->mResultExtras.frameNumber; in prepareHalRequests()
5516 halRequest->frame_number, strerror(-res), res); in prepareHalRequests()
5538 halRequest->frame_number, strerror(-res), res); in prepareHalRequests()
5558 halRequest->frame_number, strerror(-res), res); in prepareHalRequests()
5570 halRequest->settings = captureRequest->mSettingsList.begin()->metadata.getAndLock(); in prepareHalRequests()
5577 halRequest->settings, in prepareHalRequests()
5584 halRequest->frame_number, in prepareHalRequests()
5595 halRequest->num_physcam_settings = captureRequest->mSettingsList.size() - 1; in prepareHalRequests()
5596 halRequest->physcam_id = new const char* [halRequest->num_physcam_settings]; in prepareHalRequests()
5598 halRequest->physcam_settings = in prepareHalRequests()
5599 new const camera_metadata* [halRequest->num_physcam_settings]; in prepareHalRequests()
5601 halRequest->physcam_settings = nullptr; in prepareHalRequests()
5606 halRequest->physcam_id[i] = it->cameraId.c_str(); in prepareHalRequests()
5609 halRequest->physcam_settings[i] = it->metadata.getAndLock(); in prepareHalRequests()
5618 halRequest->input_buffer = &captureRequest->mInputBuffer; in prepareHalRequests()
5621 halRequest->input_buffer = NULL; in prepareHalRequests()
5626 halRequest->output_buffers = outputBuffers->array(); in prepareHalRequests()
5721 if (halRequest->input_buffer) { in prepareHalRequests()
5727 halRequest->num_output_buffers++; in prepareHalRequests()
5729 totalNumBuffers += halRequest->num_output_buffers; in prepareHalRequests()
5743 find_camera_metadata_ro_entry(halRequest->settings, ANDROID_CONTROL_CAPTURE_INTENT, &e); in prepareHalRequests()
5746 ATRACE_ASYNC_BEGIN("still capture", mNextRequests[i].halRequest.frame_number); in prepareHalRequests()
5749 find_camera_metadata_ro_entry(halRequest->settings, ANDROID_CONTROL_ENABLE_ZSL, &e); in prepareHalRequests()
5754 res = parent->registerInFlight(halRequest->frame_number, in prepareHalRequests()
5756 /*hasInput*/halRequest->input_buffer != NULL, in prepareHalRequests()
5758 calculateMaxExpectedDuration(halRequest->settings), in prepareHalRequests()
5881 camera3_capture_request_t *halRequest) { in cleanupPhysicalSettings() argument
5882 if ((request == nullptr) || (halRequest == nullptr)) { in cleanupPhysicalSettings()
5887 if (halRequest->num_physcam_settings > 0) { in cleanupPhysicalSettings()
5888 if (halRequest->physcam_id != nullptr) { in cleanupPhysicalSettings()
5889 delete [] halRequest->physcam_id; in cleanupPhysicalSettings()
5890 halRequest->physcam_id = nullptr; in cleanupPhysicalSettings()
5892 if (halRequest->physcam_settings != nullptr) { in cleanupPhysicalSettings()
5896 it->metadata.unlock(halRequest->physcam_settings[i]); in cleanupPhysicalSettings()
5898 delete [] halRequest->physcam_settings; in cleanupPhysicalSettings()
5899 halRequest->physcam_settings = nullptr; in cleanupPhysicalSettings()
5916 camera3_capture_request_t* halRequest = &nextRequest.halRequest; in cleanUpFailedRequests() local
5919 if (halRequest->settings != NULL) { in cleanUpFailedRequests()
5920 captureRequest->mSettingsList.begin()->metadata.unlock(halRequest->settings); in cleanUpFailedRequests()
5923 cleanupPhysicalSettings(captureRequest, halRequest); in cleanUpFailedRequests()
5932 for (size_t i = 0; i < halRequest->num_output_buffers; i++) { in cleanUpFailedRequests()
5990 nextRequest.halRequest = camera3_capture_request_t(); in waitForNextRequestBatch()
6004 additionalRequest.halRequest = camera3_capture_request_t(); in waitForNextRequestBatch()