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>
This commit is contained in:
Kieran Bingham
2020-10-21 14:54:11 +01:00
parent c7bcae02a0
commit 37c18c2eec
2 changed files with 33 additions and 33 deletions

View File

@@ -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 {