summaryrefslogtreecommitdiff
path: root/src/android/mm/cros_camera_buffer.cpp
diff options
context:
space:
mode:
authorUmang Jain <umang.jain@ideasonboard.com>2021-09-03 13:14:56 +0530
committerUmang Jain <umang.jain@ideasonboard.com>2021-09-06 18:49:52 +0530
commit8ae20f38bf89fb007c9fd7eeb1e10a1a9c00f40e (patch)
tree8afa7819aef3147f684d0ec554f998fb1a8dcac9 /src/android/mm/cros_camera_buffer.cpp
parente6886f63529bce803433158bb81dfb6550b5b10c (diff)
android: Cleanup libcamera namespace usage
Usually .cpp files are equipped with using namespace libcamera; Hence, it is unnecessary mentioning the explicit namespace of libcamera at certain places. While at it, a small typo in a comment was noticed and fixed as part of this patch. Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Diffstat (limited to 'src/android/mm/cros_camera_buffer.cpp')
-rw-r--r--src/android/mm/cros_camera_buffer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/android/mm/cros_camera_buffer.cpp b/src/android/mm/cros_camera_buffer.cpp
index 44993379..ec45e04c 100644
--- a/src/android/mm/cros_camera_buffer.cpp
+++ b/src/android/mm/cros_camera_buffer.cpp
@@ -21,7 +21,7 @@ class CameraBuffer::Private : public Extensible::Private
public:
Private(CameraBuffer *cameraBuffer, buffer_handle_t camera3Buffer,
- libcamera::PixelFormat pixelFormat, const libcamera::Size &size,
+ PixelFormat pixelFormat, const Size &size,
int flags);
~Private();
@@ -53,8 +53,8 @@ private:
CameraBuffer::Private::Private([[maybe_unused]] CameraBuffer *cameraBuffer,
buffer_handle_t camera3Buffer,
- [[maybe_unused]] libcamera::PixelFormat pixelFormat,
- [[maybe_unused]] const libcamera::Size &size,
+ [[maybe_unused]] PixelFormat pixelFormat,
+ [[maybe_unused]] const Size &size,
[[maybe_unused]] int flags)
: handle_(camera3Buffer), numPlanes_(0), mapped_(false),
registered_(false)