Home | History | Annotate | Download | only in device3

Lines Matching refs:NextRequest

5189     NextRequest& triggerFailedRequest = mNextRequests.editItemAt(0);
5191 NextRequest& nextRequest = mNextRequests.editItemAt(i);
5192 nextRequest.submitted = true;
5194 updateNextRequest(nextRequest);
5201 triggerFailedRequest = nextRequest;
5274 void Camera3Device::RequestThread::updateNextRequest(NextRequest& nextRequest) {
5276 if (nextRequest.halRequest.settings != NULL) { // Don't update if they were unchanged
5279 camera_metadata_t* cloned = clone_camera_metadata(nextRequest.halRequest.settings);
5283 for (uint32_t i = 0; i < nextRequest.halRequest.num_physcam_settings; i++) {
5284 cloned = clone_camera_metadata(nextRequest.halRequest.physcam_settings[i]);
5285 mLatestPhysicalRequest.emplace(nextRequest.halRequest.physcam_id[i],
5292 nextRequest.halRequest.frame_number,
5297 if (nextRequest.halRequest.settings != NULL) {
5298 nextRequest.captureRequest->mSettingsList.begin()->metadata.unlock(
5299 nextRequest.halRequest.settings);
5302 cleanupPhysicalSettings(nextRequest.captureRequest, &nextRequest.halRequest);
5503 auto& nextRequest = mNextRequests.editItemAt(i);
5504 sp<CaptureRequest> captureRequest = nextRequest.captureRequest;
5505 camera3_capture_request_t* halRequest = &nextRequest.halRequest;
5506 Vector<camera3_stream_buffer_t>* outputBuffers = &nextRequest.outputBuffers;
5791 for (const auto& nextRequest : mNextRequests) {
5792 if (!nextRequest.submitted) {
5793 for (const auto& s : nextRequest.captureRequest->mOutputStreams) {
5796 if (stream == nextRequest.captureRequest->mInputStream) return true;
5821 for (const auto& nextRequest : mNextRequests) {
5822 for (const auto& s : nextRequest.captureRequest->mOutputSurfaces) {
5909 for (auto& nextRequest : mNextRequests) {
5911 if (nextRequest.submitted) {
5915 sp<CaptureRequest> captureRequest = nextRequest.captureRequest;
5916 camera3_capture_request_t* halRequest = &nextRequest.halRequest;
5917 Vector<camera3_stream_buffer_t>* outputBuffers = &nextRequest.outputBuffers;
5984 NextRequest nextRequest;
5985 nextRequest.captureRequest = waitForNextRequestLocked();
5986 if (nextRequest.captureRequest == nullptr) {
5990 nextRequest.halRequest = camera3_capture_request_t();
5991 nextRequest.submitted = false;
5992 mNextRequests.add(nextRequest);
5995 const size_t batchSize = nextRequest.captureRequest->mBatchSize;
5998 NextRequest additionalRequest;
6021 sp<CaptureRequest> nextRequest;
6031 nextRequest = *firstRequest;
6070 if (nextRequest == NULL) {
6075 nextRequest = *firstRequest;
6077 if (mRequestQueue.empty() && !nextRequest->mRepeating) {
6105 if (nextRequest != NULL) {
6106 nextRequest->mResultExtras.frameNumber = mFrameNumber++;
6107 nextRequest->mResultExtras.afTriggerId = mCurrentAfTriggerId;
6108 nextRequest->mResultExtras.precaptureTriggerId = mCurrentPreCaptureTriggerId;
6112 if (nextRequest->mInputStream != NULL) {
6113 res = nextRequest->mInputStream->getInputBuffer(&nextRequest->mInputBuffer);
6125 nextRequest->mResultExtras);
6132 return nextRequest;