diff options
Diffstat (limited to 'converter/other/qoi.h')
-rw-r--r-- | converter/other/qoi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/converter/other/qoi.h b/converter/other/qoi.h index 52ee95e2..4bd7c024 100644 --- a/converter/other/qoi.h +++ b/converter/other/qoi.h @@ -82,6 +82,8 @@ qoi_colorHash(qoi_Rgba const x) { (x.rgba.r*3 + x.rgba.g*5 + x.rgba.b*7 + x.rgba.a*11) % QOI_INDEX_SIZE; } + + static __inline__ void qoi_clearQoiIndex(qoi_Rgba * index) { @@ -89,6 +91,8 @@ qoi_clearQoiIndex(qoi_Rgba * index) { } + + #define QOI_MAGIC_SIZE 4 static char const qoi_magic[QOI_MAGIC_SIZE + 1] = {'q','o','i','f','\0'}; |