libcamera/src/apps
Barnabás Pőcze e5442c3150 apps: cam: sdl_sink: Support more single-plane formats
With the newly introduced `SDLTexture1Plane` it is easy to handle
any single-plane format that has an SDL equivalent. So use it for
more YUV and RGB formats.

The mapping of RGB formats is not entirely straightforward because
`SDL_PIXELFORMAT_ZZZ...888...` defines a format where the order of
the components is endian dependent, while libcamera's `ZZZ...888...`
formats are derived from the matching DRM formats, and the RGB formats
in question are defined to be little-endian there. So the
endian-independent `SDL_PIXELFORMAT_{ZZZ24,ZZZZ32}` are used.

Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2025-05-15 17:41:36 +02:00
..
cam apps: cam: sdl_sink: Support more single-plane formats 2025-05-15 17:41:36 +02:00
common apps: cam: Try raw role if default viewfinder role fails 2025-04-29 00:57:54 +09:00
ipa-verify libcamera: Drop remaining file name from header comment blocks 2024-05-09 23:31:15 +03:00
lc-compliance lc-compliance: Move camera setup to CameraHolder class 2025-05-13 20:17:19 +02:00
qcam apps: qcam: Push the viewfinder role to vector 2025-05-08 10:51:11 +02:00
meson.build apps: Add ipa-verify application 2023-07-05 15:38:59 +03:00