pipewire/spa/plugins/libcamera
Robert Mader 60deeb2555 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 09:53:50 +02:00
..
libcamera-device.cpp spa: libcamera: encode device ids into a json array 2024-04-23 11:16:40 +02:00
libcamera-manager.cpp treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
libcamera-manager.hpp treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
libcamera-source.cpp libcamera: add latency param query 2023-11-20 17:51:27 +01:00
libcamera-utils.cpp spa: libcamera: fix RGB mappings 2024-05-06 09:53:50 +02:00
libcamera.c spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
libcamera.h spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
meson.build spa: libcamera: add libcamera version check for properties::SystemDevices 2023-07-19 09:21:03 +00:00