mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-13 07:19:45 +03:00
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:
parent
e6886f6352
commit
8ae20f38bf
6 changed files with 16 additions and 17 deletions
|
@ -746,8 +746,8 @@ int CameraDevice::configureStreams(camera3_stream_configuration_t *stream_list)
|
|||
}
|
||||
|
||||
FrameBuffer *CameraDevice::createFrameBuffer(const buffer_handle_t camera3buffer,
|
||||
libcamera::PixelFormat pixelFormat,
|
||||
const libcamera::Size &size)
|
||||
PixelFormat pixelFormat,
|
||||
const Size &size)
|
||||
{
|
||||
FileDescriptor fd;
|
||||
/*
|
||||
|
@ -1140,7 +1140,7 @@ void CameraDevice::requestComplete(Request *request)
|
|||
if (!resultMetadata) {
|
||||
notifyError(descriptor.frameNumber_, nullptr, CAMERA3_MSG_ERROR_RESULT);
|
||||
|
||||
/* The camera framework expects an empy metadata pack on error. */
|
||||
/* The camera framework expects an empty metadata pack on error. */
|
||||
resultMetadata = std::make_unique<CameraMetadata>(0, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue