summaryrefslogtreecommitdiff
path: root/v4l2++/src/pixelformats.cpp
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-12-22 12:04:50 +0200
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-12-22 12:04:50 +0200
commit2bd85abc108e0688384f42b0ec83dcd5a622d50d (patch)
tree903a9f221a2dc71435b52ace7c815f68217509f3 /v4l2++/src/pixelformats.cpp
parent32b6f82fb55b7f9ce1cd8a9e2e8ebdc3a7ac746c (diff)
Code formatting fixes
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Diffstat (limited to 'v4l2++/src/pixelformats.cpp')
-rw-r--r--v4l2++/src/pixelformats.cpp24
1 files changed, 12 insertions, 12 deletions
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<PixelFormat, PixelFormatInfo> 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