OSDN Git Service

util/format: Use explicitly sized types
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 3 Aug 2016 16:58:13 +0000 (09:58 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 5 Aug 2016 16:07:04 +0000 (09:07 -0700)
commitffcf8e1049f300b3a890bdd1ce778c8436aee049
treea875995d71184aebd6d74192177a12a6f6a07f1e
parentc7eb9a75653c1df54e6c36873c8c4ddd142b98d6
util/format: Use explicitly sized types

Both the rgb9e5 and r11g11b10 formats are defined based on how they are
packed into a 32-bit integer.  It makes sense that the functions that
manipulate them take an explicitly sized type.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/util/format_r11g11b10f.h
src/util/format_rgb9e5.h