diff options
Diffstat (limited to 'src/android')
-rw-r--r-- | src/android/camera_device.cpp | 7 | ||||
-rw-r--r-- | src/android/camera_worker.h | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/android/camera_device.cpp b/src/android/camera_device.cpp index 14e4853e..a50b0ebf 100644 --- a/src/android/camera_device.cpp +++ b/src/android/camera_device.cpp @@ -1716,8 +1716,8 @@ int CameraDevice::processCaptureRequest(camera3_capture_request_t *camera3Reques else descriptor->settings_ = lastSettings_; - LOG(HAL, Debug) << "Queueing Request to libcamera with " - << descriptor->numBuffers_ << " HAL streams"; + LOG(HAL, Debug) << "Queueing request " << descriptor->request_->cookie() + << " with " << descriptor->numBuffers_ << " streams"; for (unsigned int i = 0; i < descriptor->numBuffers_; ++i) { const camera3_stream_buffer_t *camera3Buffer = &descriptor->buffers_[i]; camera3_stream *camera3Stream = camera3Buffer->stream; @@ -1806,6 +1806,9 @@ void CameraDevice::requestComplete(Request *request) status = CAMERA3_BUFFER_STATUS_ERROR; } + LOG(HAL, Debug) << "Request " << request->cookie() << " completed with " + << descriptor->numBuffers_ << " streams"; + /* * \todo The timestamp used for the metadata is currently always taken * from the first buffer (which may be the first stream) in the Request. diff --git a/src/android/camera_worker.h b/src/android/camera_worker.h index 6522f1d6..d7060576 100644 --- a/src/android/camera_worker.h +++ b/src/android/camera_worker.h @@ -30,6 +30,7 @@ public: { return request_->metadata(); } + unsigned long cookie() const { return request_->cookie(); } void addBuffer(libcamera::Stream *stream, libcamera::FrameBuffer *buffer, int fence); |