weston/clients
Robert Mader 8e30a7efc7 clients: screenshot: YUV support
If any output uses a YUV format, instead of trying to composite into a
png, write the raw data into .yuv files for each output.

These files don't contain any metadata yet, thus one may want to convert
them into y4m files with e.g. a command like the this:
ffmpeg -s 1024x768 -r 1 -pix_fmt yuv420p -i ~/wayland-screenshot-output-0-2025-08-01_15-58-24.yuv -c:v copy screenshot.y4m

Note that this may only work for certain pixel formats, such as
DRM_FORMAT_YUV4[20|22|44], and not for e.g. DRM_FORMAT_P010.

Signed-off-by: Robert Mader <robert.mader@collabora.com>
2025-10-07 11:48:33 +02:00
..
calibrator.c libweston, clients, tests: implement weston_matrix in terms of weston_mat4f 2025-04-01 15:59:54 +03:00
clickdot.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
cliptest.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
color.c color: update color-management protocol to wp-v1 2025-02-26 10:09:43 -03:00
constraints.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
content_protection.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
desktop-shell.c clients: Paint desktop-shell color background with single-pixel-buffer 2025-10-02 17:05:22 +01:00
dnd.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
editor.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
eventdemo.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
flower.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
fullscreen.c clients/fullscreen: Add option to map window fullscreen 2025-01-06 12:17:40 +00:00
image.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
ivi-shell-user-interface.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
keyboard.c weston-keyboard: Create input_panel_surface earlier 2023-11-21 13:30:51 +00:00
meson.build clients: Paint desktop-shell color background with single-pixel-buffer 2025-10-02 17:05:22 +01:00
multi-resource.c multi-resource: Convert to xdg-shell 2021-10-14 09:28:04 +00:00
presentation-shm.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
resizor.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
scaler.c clients/scaler: check viewporter availability 2023-05-02 18:02:33 +03:00
screenshot.c clients: screenshot: YUV support 2025-10-07 11:48:33 +02:00
simple-damage.c clients/simple-damage: Remove zwp_fullscreen support 2024-05-27 16:49:21 +00:00
simple-dmabuf-egl.c clients/simple-dmabuf-egl: Add missing destructors 2025-05-23 20:36:05 +01:00
simple-dmabuf-feedback.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
simple-dmabuf-v4l.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
simple-dmabuf-vulkan.c clients/simple-dmabuf-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
simple-egl.c clients/simple-egl: destroy tearing_manager on exit 2025-04-02 06:34:13 +00:00
simple-im.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
simple-shm.c gl-renderer: Fix SHM RGB888 and BGR888 endianness 2025-04-01 12:31:51 +02:00
simple-touch.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
simple-vulkan.c clients/simple-vulkan: move render_done semaphore to image 2025-06-25 14:12:22 +00:00
simple_dmabuf_vulkan_fragment_shader.frag clients/simple-dmabuf-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
simple_dmabuf_vulkan_vertex_shader.vert clients/simple-dmabuf-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
simple_vulkan_fragment_shader.frag clients/simple-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
simple_vulkan_vertex_shader.vert clients/simple-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
smoke.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
stacking.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
subsurfaces.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
tablet.c clients: Add demo application for tablets 2023-03-31 12:10:26 +00:00
terminal.c terminal: Restore SIGPIPE signal handler to oldact (SIG_DFL) 2025-03-13 10:37:08 +02:00
touch-calibrator.c libweston, clients, tests: implement weston_matrix in terms of weston_mat4f 2025-04-01 15:59:54 +03:00
transformed.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
weston-debug.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
window.c clients: Paint desktop-shell color background with single-pixel-buffer 2025-10-02 17:05:22 +01:00
window.h clients: Paint desktop-shell color background with single-pixel-buffer 2025-10-02 17:05:22 +01:00