Support and General Use > Plugins/Viewers
PNG viewer plugin
cool_walking_:
Wiki knows ALL.
--- Quote from: http://en.wikipedia.org/wiki/Libpng ---Released under the permissive free software licence used by zlib,[1] libpng is free software.
--- End quote ---
--- Quote from: http://en.wikipedia.org/wiki/Zlib_License ---It is compatible with the GNU General Public License.
--- End quote ---
LambdaCalculus:
Ahh, good to know. ;)
zajacattack:
--- Quote from: GodEater on December 30, 2007, 05:16:30 AM ---I looked into this a while ago, and at least to me, it looked like quite a lot of work. Most of libpng is done using floating point arithmetic, and that alone would mean quite a lot of work getting it ported to Rockbox. I kind of stopped my analysis at that point, since I've never looked into what's required for floating point to integer arithmetic conversion, and at the time, didn't really have the motivation to get my reading books out :)
--- End quote ---
So, what is the problem with floating point arithmetic, and why is it necessary to convert it to integer arithmetic?
safetydan:
None of our targets (bar possibly the Gigabeat S IIRC) have a floating point unit (FPU). Without an FPU, floating point maths has to be emulated (including all the malarky required for IEEE 754) by the CPU which is incredibly slow.
Hence the need to convert floating point to fixed point (i.e. integer) maths.
Edit: minor typo corrections.
pabouk:
Libpng should already have fixed point implementation included :) See http://groups.google.com/group/mozilla.dev.platforms.mobile/browse_thread/thread/504332475973e42d.
Navigation
[0] Message Index
[*] Previous page
Go to full version