Commit graph

13 commits

Author SHA1 Message Date
Ivan Smirnov 5a899bbf25 Index bugfix: force decoder index to be 4-channel 2022-01-06 02:49:15 +03:00
Ivan Smirnov 72c9128c61 (Minor clippy fixes) 2022-01-04 03:13:53 +03:00
Ivan Smirnov c062c6b79b Improve hashing algorithm slightly (see credits) 2022-01-04 01:46:13 +03:00
Ivan Smirnov 718e09e303 Minor tweaks to Pixel::read() 2022-01-03 20:44:05 +03:00
Ivan Smirnov 5952a88e8c Minor fixups to Pixel struct 2022-01-03 17:15:18 +03:00
Ivan Smirnov ae6d410374 Implement efficient encoding to generic streams 2022-01-03 01:11:16 +03:00
Ivan Smirnov 9289fdd59b Encoding - start the big refactor 2022-01-03 01:11:16 +03:00
Ivan Smirnov 268953033b Decoder - cleanup, move some logic back into Pixel 2022-01-03 01:11:16 +03:00
Ivan Smirnov a9a01c6fbd Rework the decoder so it's safe, add bytemuck dep 2021-12-31 02:01:24 +03:00
Ivan Smirnov 6ce544950d Rework the encoder, replace all unsafe code 2021-12-31 02:01:24 +03:00
Ivan Smirnov b0467472ae Big rework: everything now matches the latest spec 2021-12-30 13:25:52 +03:00
Ivan Smirnov f906d13e90 Update pixel hash function to the latest spec 2021-12-29 16:11:27 +03:00
Ivan Smirnov f8ec8011fc Initial working version (but lots of temp stuff) 2021-11-28 16:20:24 +00:00