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>
This commit is contained in:
Umang Jain 2021-09-03 13:14:56 +05:30
parent e6886f6352
commit 8ae20f38bf
6 changed files with 16 additions and 17 deletions

View file

@ -27,7 +27,7 @@ LOG_DECLARE_CATEGORY(HAL)
* by the CameraWorker which queues it to the libcamera::Camera after handling
* fences.
*/
CaptureRequest::CaptureRequest(libcamera::Camera *camera)
CaptureRequest::CaptureRequest(Camera *camera)
: camera_(camera)
{
request_ = camera_->createRequest(reinterpret_cast<uint64_t>(this));