pipewire/spa/plugins/libcamera
Robert Mader b3ff293263 spa: libcamera: fix RGB mappings
Libcamera formats are generally little-endian, matching DMA DRM
fourccs, while PW ones are big-endian. Thus we have to invert the
order.

Only RGB and BGR where tested, as these are the formats currently
supported by the software ISP. This fixes inverted red and blue in
Snapshot on the Librem5 and Pinephone (OG).

See also gstlibcamera-utils.cpp in libcamera.
2024-05-06 07:41:33 +00:00
..
libcamera-device.cpp treewide: fix C++20 compilation error wrt. designated initializers 2024-05-03 07:16:57 +00:00
libcamera-manager.cpp treewide: fix C++20 compilation error wrt. designated initializers 2024-05-03 07:16:57 +00:00
libcamera-manager.hpp treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
libcamera-source.cpp treewide: fix C++20 compilation error wrt. designated initializers 2024-05-03 07:16:57 +00:00
libcamera-utils.cpp spa: libcamera: fix RGB mappings 2024-05-06 07:41:33 +00:00
libcamera.c spa: export log topic enumerations 2024-01-04 10:02:55 +00:00
libcamera.h spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
meson.build meson: fix build with missing libudev-devel 2024-02-06 11:49:40 +01:00