Lines Matching refs:captureId
100 void DoublePreviewTest::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStre… in StartCapture() argument
106 … result_ = (CamRetCode)cameraBase_->streamOperator->Capture(captureId, captureInfo_, isStreaming); in StartCapture()
109 CAMERA_LOGI("check Capture: Capture success, captureId = %{public}d", captureId); in StartCapture()
111 …E("check Capture: Capture fail, captureId = %{public}d, result_ = %{public}d", captureId, result_); in StartCapture()
113 if (captureId == cameraBase_->CAPTURE_ID_PREVIEW) { in StartCapture()
117 } else if (captureId == CAPTUREID_PREVIEW_DOUBLE) { in StartCapture()
133 for (const auto &captureId : captureIds) { in StopStream() local
134 if (captureId == cameraBase_->CAPTURE_ID_PREVIEW) { in StopStream()
136 } else if (captureId == CAPTUREID_PREVIEW_DOUBLE) { in StopStream()
138 } else if (captureId == cameraBase_->CAPTURE_ID_CAPTURE) { in StopStream()
140 } else if (captureId == cameraBase_->CAPTURE_ID_VIDEO) { in StopStream()
148 for (auto &captureId : captureIds) { in StopStream() local
149 result_ = (CamRetCode)cameraBase_->streamOperator->CancelCapture(captureId); in StopStream()
153 CAMERA_LOGI("check Capture: CancelCapture success, captureId = %{public}d", captureId); in StopStream()
156 captureId, result_); in StopStream()