[RFC 1/2] protocol: Add fp16 formats

Kevin Strasser kevin.strasser at intel.com
Fri Feb 1 21:54:40 UTC 2019


Add 64 bpp 16:16:16:16 half float pixel formats. Each 16 bit component is
formatted in IEEE-754 half-precision float (binary16) 1:5:10
MSb-sign:exponent:fraction form.

Signed-off-by: Kevin Strasser <kevin.strasser at intel.com>
---
 protocol/wayland.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 27c07c8..36c4c31 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -336,6 +336,8 @@
       <entry name="abgr2101010" value="0x30334241" summary="32-bit ABGR format, [31:0] A:B:G:R 2:10:10:10 little endian"/>
       <entry name="rgba1010102" value="0x30334152" summary="32-bit RGBA format, [31:0] R:G:B:A 10:10:10:2 little endian"/>
       <entry name="bgra1010102" value="0x30334142" summary="32-bit BGRA format, [31:0] B:G:R:A 10:10:10:2 little endian"/>
+      <entry name="xbgr16161616f" value="0x48344258" summary="Floating point 64-bit xBGR format, [63:0] x:B:G:R 16:16:16:16 little endian" />
+      <entry name="abgr16161616f" value="0x48344241" summary="Floating point 64-bit ABGR format, [63:0] A:B:G:R 16:16:16:16 little endian" />
       <entry name="yuyv" value="0x56595559" summary="packed YCbCr format, [31:0] Cr0:Y1:Cb0:Y0 8:8:8:8 little endian"/>
       <entry name="yvyu" value="0x55595659" summary="packed YCbCr format, [31:0] Cb0:Y1:Cr0:Y0 8:8:8:8 little endian"/>
       <entry name="uyvy" value="0x59565955" summary="packed YCbCr format, [31:0] Y1:Cr0:Y0:Cb0 8:8:8:8 little endian"/>
-- 
2.7.4



More information about the wayland-devel mailing list