Commit graph

6 commits

Author SHA1 Message Date
Ivan Smirnov
4d0d760f92 Enforce maximum size of 400Mp (QOI_PIXELS_MAX) 2021-12-29 16:00:16 +03:00
Ivan Smirnov
0d612fd3c2 Fix: check decode buffer end after the run opcode 2021-12-01 17:13:50 +00:00
Ivan Smirnov
d7c8346e39 Error::BadDecodingDataSize -> InputBufferTooSmall 2021-12-01 16:01:17 +00:00
Ivan Smirnov
1bb6ee118c Add qoi_encode_to_buf() and encode_size_required() 2021-11-30 02:46:04 +00:00
Ivan Smirnov
62a659eb03 Change magic type to u32 (like in reference impl) 2021-11-29 22:38:09 +00:00
Ivan Smirnov
f8ec8011fc Initial working version (but lots of temp stuff) 2021-11-28 16:20:24 +00:00