summaryrefslogtreecommitdiff
path: root/utils/hooks/post-commit
diff options
context:
space:
mode:
authorBarnabás Pőcze <barnabas.pocze@ideasonboard.com>2025-04-18 15:01:34 +0200
committerBarnabás Pőcze <barnabas.pocze@ideasonboard.com>2025-05-15 17:41:36 +0200
commite5442c3150fd18eda0242e0cdbf9360f142b5e13 (patch)
treeb6a7e7ed7d362e64db976ce5e0f5fc65a04e3bf6 /utils/hooks/post-commit
parentb24cd1229348764e20a360805b946537d1f8fe13 (diff)
apps: cam: sdl_sink: Support more single-plane formatsHEADmaster
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>
Diffstat (limited to 'utils/hooks/post-commit')
0 files changed, 0 insertions, 0 deletions