diff options
Diffstat (limited to 'v4l2++/src/pixelformats.cpp')
| -rw-r--r-- | v4l2++/src/pixelformats.cpp | 24 |
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 |
