weston/man
Leandro Ribeiro 32d0bd3d0e compositor: add grayscale output color effect
This adds a new output color effect: grayscale. It takes RGB color as
input and computes a gray pixel color using the luminance formula for
linear sRGB:

Y = 0.2126 * R + 0.7152 * G + 0.0722 * B

Just like the other color effects we have, this only works for sRGB and
are not enabled when color-management is on.

Note: although the technique is designed to be applied in linear, it's
costly to convert to linear and then back to electrical. As doing the
conversion in electrical still gives a reasonable result, we do it this
way. When we add support for color effects with color-management on,
we'll apply the effect in linear.

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
2026-03-04 13:11:56 -03:00
..
meson.build build: Switch join_paths(foo, bar) to foo / bar 2023-06-22 14:31:57 +01:00
weston-bindings.man vulkan-renderer: support fragment debug binding 2025-10-28 07:43:53 +00:00
weston-debug.man Fix typos all around (thanks codespell!) 2019-02-20 16:47:35 +01:00
weston-drm.man backend-drm: offload post-blend color transformation to KMS 2025-09-02 13:34:00 +00:00
weston-rdp.man add NLA support an the nla-ntlm-db option 2026-02-23 13:30:29 +02:00
weston-vnc.man man: Update documentation of weston-vnc 2024-08-14 07:48:09 +00:00
weston.ini.man compositor: add grayscale output color effect 2026-03-04 13:11:56 -03:00
weston.man man: Update weston man page and ini page 2026-02-06 11:44:48 +02:00