Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"TODO add the encoder here" - add platypus image encoder #32

Open
Kristine1975 opened this issue Feb 12, 2022 · 1 comment
Open

"TODO add the encoder here" - add platypus image encoder #32

Kristine1975 opened this issue Feb 12, 2022 · 1 comment

Comments

@Kristine1975
Copy link

Kristine1975 commented Feb 12, 2022

It has to exist somewhere, if only to test the decoder:

[platypus](src/common/platypus)| Decoder for a custom image compression format suitable for dithered images (good for RGB555) and suitable for decoding on RP2040 at scanline speeds ... i.e you can easily decode a 320x240 image 60x per second to avoid storing the uncompressed image for scanout video. It gets about 50% compression (but is designed only for 4x4 fixed dithered RGB555 images, so is somewhat specific!). TODO add the encoder here :-)

@Kristine1975
Copy link
Author

This looks like the encoder (with some additional stuff for compressing several images in a row): https://github.com/raspberrypi/pico-playground/blob/eb6658e82069c603244b42d2bdd858a3fa270c63/apps/popcorn/converter/src/convert.cpp#L172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant