Commit graph

10 commits

Author SHA1 Message Date
Ivan Smirnov
b0467472ae Big rework: everything now matches the latest spec 2021-12-30 13:25:52 +03:00
Ivan Smirnov
6640bc571a Add unique stream-end marker (7 zeros and one 1) 2021-12-29 16:07:54 +03:00
Ivan Smirnov
4d0d760f92 Enforce maximum size of 400Mp (QOI_PIXELS_MAX) 2021-12-29 16:00:16 +03:00
Ivan Smirnov
0825c0aa3a Fix a few clippy lints 2021-12-02 15:55:56 +00:00
Ivan Smirnov
d9507911f7 Encoding: mark unlikely and inline 2021-12-01 16:57:20 +00:00
Ivan Smirnov
1bb6ee118c Add qoi_encode_to_buf() and encode_size_required() 2021-11-30 02:46:04 +00:00
Ivan Smirnov
439a285920 Add canonical mod with reference i16-diff encode 2021-11-29 23:24:47 +00:00
Ivan Smirnov
7d0b0a5b62 Change colorspace in Header to ColorSpace type 2021-11-29 22:30:29 +00:00
Ivan Smirnov
83e75b1b65 Add colorspace support to qoi_encode_to_vec() 2021-11-29 22:27:17 +00:00
Ivan Smirnov
f8ec8011fc Initial working version (but lots of temp stuff) 2021-11-28 16:20:24 +00:00