diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-10-21 14:54:11 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-10-21 17:01:40 +0100 |
commit | 37c18c2eec1ed7c0df9fa4e9b31a7ea1f8e37292 (patch) | |
tree | 556de6840fb346c10da27642c9b2f7ed2b613111 /src/android/camera_device.h | |
parent | c7bcae02a0865c650dcb54027aec6c34db0c78bf (diff) |
android: camera_device: use member style on Camera3RequestDescriptor
Use the postfixed '_' member variable naming style for the
Camera3RequestDescriptor structure, which in turn ensures that variable
shadowing does not occur in the member initializer list of the
constructor.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/android/camera_device.h')
-rw-r--r-- | src/android/camera_device.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/android/camera_device.h b/src/android/camera_device.h index 86f2b897..fd08738a 100644 --- a/src/android/camera_device.h +++ b/src/android/camera_device.h @@ -79,11 +79,11 @@ private: unsigned int numBuffers); ~Camera3RequestDescriptor(); - uint32_t frameNumber; - uint32_t numBuffers; - camera3_stream_buffer_t *buffers; - std::vector<std::unique_ptr<libcamera::FrameBuffer>> frameBuffers; - std::unique_ptr<CaptureRequest> request; + uint32_t frameNumber_; + uint32_t numBuffers_; + camera3_stream_buffer_t *buffers_; + std::vector<std::unique_ptr<libcamera::FrameBuffer>> frameBuffers_; + std::unique_ptr<CaptureRequest> request_; }; struct Camera3StreamConfiguration { |