Re: [hatari-devel] [patch] AVI recording PNG compression level |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
Hi,
Douglas commented that depending on (Falcon screen) content,
AVI recording performance can drastically change:
http://www.atari-forum.com/viewtopic.php?f=68&t=26775&p=261461#p261358
Attached is patch allowing to specify PNG compression
level from command line, in case someone wants to
experiment with it.
According to png.h header, levels 3-6 would offer nearly
same compression for PNGs as Hatari's default (9, highest),
but potentially with significantly lower CPU overhead.
- Eero
PS. When we were (nearly decade ago) testing different
image format libraries for ARM and optimizing them, JPG
compression and decompression were in general clearly faster
than PNG. PNG was better just in not losing details from
images with high contrast / few colors. C-code for JPG
handling was also much more natural fit for SIMD
optimizations.
-> Especially for recording Falcon hi-color demos,
JPG compression could be better fit than PNG.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |