From 2bd85abc108e0688384f42b0ec83dcd5a622d50d Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Thu, 22 Dec 2022 12:04:50 +0200 Subject: Code formatting fixes Signed-off-by: Tomi Valkeinen --- v4l2++/src/pixelformats.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'v4l2++/src/pixelformats.cpp') diff --git a/v4l2++/src/pixelformats.cpp b/v4l2++/src/pixelformats.cpp index b7ecc7b..f892c97 100644 --- a/v4l2++/src/pixelformats.cpp +++ b/v4l2++/src/pixelformats.cpp @@ -270,24 +270,24 @@ static const map format_info_array = { } }, { PixelFormat::SBGGR12, { PixelColorType::RAW, - 1, - { { 16, 1, 1 } }, - } }, + 1, + { { 16, 1, 1 } }, + } }, { PixelFormat::SRGGB12, { PixelColorType::RAW, 1, { { 16, 1, 1 } }, - } }, + } }, { PixelFormat::META_8, { + PixelColorType::RGB, + 1, + { { 8, 1, 1 } }, + } }, + { PixelFormat::META_16, { PixelColorType::RGB, 1, - { { 8, 1, 1 } }, - } }, - { PixelFormat::META_16, { - PixelColorType::RGB, - 1, - { { 16, 1, 1 } }, - } }, + { { 16, 1, 1 } }, + } }, }; PixelFormat DRMFourCCToPixelFormat(const std::string& fourcc) @@ -311,4 +311,4 @@ const struct PixelFormatInfo& get_pixel_format_info(PixelFormat format) return format_info_array.at(format); } -} +} // namespace v4l2 -- cgit v1.2.3