Ivan Smirnov
|
f3120d5df3
|
Tons of docstrings + some renames
|
2022-01-04 02:59:32 +03:00 |
|
Ivan Smirnov
|
86d5462958
|
Update Header docstring
|
2022-01-04 01:59:58 +03:00 |
|
Ivan Smirnov
|
328cfac40d
|
Big batch of renames: strip qoi prefix everywhere
|
2022-01-03 21:40:24 +03:00 |
|
Ivan Smirnov
|
cb10dd3629
|
Error types cleanup + clippy fixes
|
2022-01-03 21:18:38 +03:00 |
|
Ivan Smirnov
|
5469530c64
|
Initial attempt at no_std
|
2022-01-03 17:15:18 +03:00 |
|
Ivan Smirnov
|
c52ff2bb9b
|
Clean up header struct/mod, add docstrings
|
2022-01-03 14:25:40 +03:00 |
|
Ivan Smirnov
|
b461af81ac
|
Introduce Channels and finish encoder refactor
|
2022-01-03 01:11:16 +03:00 |
|
Ivan Smirnov
|
0b76352b22
|
Use u32::{from_be_bytes,to_be_bytes} builtins
|
2022-01-03 01:11:16 +03:00 |
|
Ivan Smirnov
|
d763e1d62c
|
Remove magic field from Header
|
2022-01-03 01:11:16 +03:00 |
|
Ivan Smirnov
|
637ac22a99
|
(Clippy fixes across the board)
|
2021-12-31 14:37:42 +03:00 |
|
Ivan Smirnov
|
2dcbdd19c2
|
Rework ColorSpace to match the latest spec (0 | 1)
|
2021-12-31 13:38:19 +03:00 |
|
Ivan Smirnov
|
4d0d760f92
|
Enforce maximum size of 400Mp (QOI_PIXELS_MAX)
|
2021-12-29 16:00:16 +03:00 |
|
Ivan Smirnov
|
3ec3d34987
|
Add Header::new() and with_colorspace()
|
2021-12-02 15:57:57 +00:00 |
|
Ivan Smirnov
|
02734e4eca
|
Replace Header::SIZE -> encoded_size()
|
2021-12-02 15:57:03 +00:00 |
|
Ivan Smirnov
|
0825c0aa3a
|
Fix a few clippy lints
|
2021-12-02 15:55:56 +00:00 |
|
Ivan Smirnov
|
4067d83829
|
Mark a few methods as inline in header mod
|
2021-12-01 17:07:32 +00:00 |
|
Ivan Smirnov
|
7446a0f171
|
Add Header::validate(), don't check in qoi_dec_hdr
|
2021-12-01 17:07:21 +00:00 |
|
Ivan Smirnov
|
8f0a78a8c9
|
Add Header::n_pixels()
|
2021-12-01 16:04: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
|
236f55ed3c
|
Change Header::default() impl so it's a valid one
|
2021-11-29 22:30:53 +00:00 |
|
Ivan Smirnov
|
7d0b0a5b62
|
Change colorspace in Header to ColorSpace type
|
2021-11-29 22:30:29 +00:00 |
|
Ivan Smirnov
|
f8ec8011fc
|
Initial working version (but lots of temp stuff)
|
2021-11-28 16:20:24 +00:00 |
|