Even Rouault @ EvenRouault @mastodon.social Posts 0Comments 1Joined 2 yr. ago

Even Rouault @ EvenRouault @mastodon.social
Posts
0
Comments
1
Joined
2 yr. ago
@bagder@mastodon.social To put in perspective:
- JPEG: libjpeg 6b encoder+decoder: 24,200 lines of C
- JPEG: libjpeg-turbo encoder+decoder: 127,000 of C and ASM (multi architectures)
- JPEG2000: openjpeg encoder+decoder: 50,000 lines of .C
- JPEG2000: Kakadu commercial encoder+decoder: 214,000 lines of C++ (only coresys component)
- libjxl: 150,000 lines for the core library, encoder+decoder (deps excluded)
(All above includes blank lines + inline doc)
So this is pretty much standard for a modern codec