mesa/src/util/format
Eric R. Smith b11f543c4e mesa: Add R16G16_R16B16_UNORM and related formats
Including the 10 bit variant X6R10X6G10_X6R10X6B10_UNORM. Only the
RG_RB variants seem to have fourccs, so those are the only ones being
added for now, although they would, obviously, be easy to add).

These are used for Y210, Y212, and Y216 fourccs. In particular Y210
is interesting for panfrost, as it is the fourcc used to indicate a
10 bit single plane 4:2:2 encoded as AFBC (similar to how YUYV is
the canonical AFBC for 10 bit 4:2:0).

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35771>
2025-11-04 22:28:03 +00:00
..
format_utils.h format_utils: properly parenthesize macro params 2022-06-04 13:15:57 +00:00
meson.build format: Generate endian-independent format aliases 2024-07-19 13:50:42 +00:00
texcompress_bptc_tmp.h util: Move texcompress template files into util/format 2022-11-10 05:35:41 +00:00
texcompress_etc_tmp.h util: use unsigned types when performing bitshift 2024-06-21 21:07:05 +00:00
texcompress_s3tc_tmp.h build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
u_format.c util/format: Autogen type conversion helpers 2025-09-15 10:59:04 +00:00
u_format.h util/format: Autogen type conversion helpers 2025-09-15 10:59:04 +00:00
u_format.yaml mesa: Add R16G16_R16B16_UNORM and related formats 2025-11-04 22:28:03 +00:00
u_format_bptc.c util: Move texcompress template files into util/format 2022-11-10 05:35:41 +00:00
u_format_bptc.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_format_etc.c util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_format_etc.h util: add missing c99_compat.h includes 2022-06-02 13:09:15 +00:00
u_format_fxt1.c util/format/fxt1: include "u_format_pack.h" instead of "util/format/u_format_pack.h" 2024-01-15 20:13:07 +00:00
u_format_fxt1.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_format_latc.c u_format: Add restrict to fn pointer and manual format pack/unpack/fetch 2021-03-18 14:53:52 +00:00
u_format_latc.h util: add missing c99_compat.h includes 2022-06-02 13:09:15 +00:00
u_format_other.c util: Switch the non-block formats to unpacking rgba rows instead of rects. 2021-04-19 17:59:44 +00:00
u_format_other.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_format_pack.py util: fix msvc build warning 4146 (unary minus operator applied to unsigned type, result still unsigned) 2025-05-09 16:34:00 +00:00
u_format_parse.py util/format: Use more descriptive names for YUV formats 2025-08-20 14:01:07 +00:00
u_format_rgtc.c util/format: implement rgtc -> r8 / r8g8 unpack 2022-09-15 08:16:01 +00:00
u_format_rgtc.h util/format: implement rgtc -> r8 / r8g8 unpack 2022-09-15 08:16:01 +00:00
u_format_s3tc.c util: Replace usage of boolean with c11 bool in src/util/format/* and src/util/tests/format/* 2022-11-11 06:48:46 +00:00
u_format_s3tc.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_format_table.py mesa: Add R16G16_R16B16_UNORM and related formats 2025-11-04 22:28:03 +00:00
u_format_tests.c util/format: Add G8B8_G8R8_422_UNORM and B8G8_R8G8_422_UNORM formats 2023-08-14 23:44:19 +00:00
u_format_tests.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_format_unpack_neon.c util: Include the needed util/detect*.h headers in multiple files 2022-11-15 20:35:55 +00:00
u_format_yuv.c util/format: Add subsampling info to our YUV-as-RGB format names 2025-08-20 14:01:07 +00:00
u_format_yuv.h util/format: Add subsampling info to our YUV-as-RGB format names 2025-08-20 14:01:07 +00:00
u_format_zs.c util/format: Add a Z24_UNORM_PACKED format 2025-09-15 10:59:04 +00:00
u_format_zs.h util/format: Add a Z24_UNORM_PACKED format 2025-09-15 10:59:04 +00:00
u_formats.h util/format: Auto-generate a bunch of YUV helpers 2025-08-20 14:01:07 +00:00