Blame | Last modification | View Log | RSS feed
Known bugs and suggested enhancements in libpng-1.0.41. March 15, 1998 -- OPTIMIZATION -- Kevin BraceyLoops need to be optimized everywhereMake them count down instead of up -- Kevin BraceyOptimizing compilers don't need this, and makingthe change would be error prone -- Tom Lane, Glenn R-PQuestion whether i-- or --i is better.STATUS: Under investigation, postponed until afterlibpng-1.0.5. About 160 loops will be turned aroundin libpng-1.0.Nn, for testing.2. July 4, 1998 -- ENHANCEMENT -- Glenn R-Plibpng-1.0.5 and earlier transform colors to gamma=1.0 space formerging with background, and then back to the image's gamma. Thebit_depth of the intermediate (gamma=1.0) representation is probablynot sufficient. In the typical gamma=1/2.2 situation, the linearpixels need about 4 more bits than the gamma-encoded ones, to avoidloss of precision. A similar situation exists with the rgb_to_grayoperation.STATUS: under development.3. September 1999 -- ENHANCEMENT --It should be possible to use libpng without floating-point aritmetic.STATUS: Under investigation, implementation postponed until afterlibpng-1.0.5. The application interface will change because replacementsfor the png_set_gAMA(), png_set_cHRM(), and corresponding png_get_()functions will be needed.4. September 1999 -- BUG [FIXED] --Portions of the new MMX code in pngvcrd.c were ifdef'd out because theydidn't work properly, but the bug appears to have been found and fixed.As a result, all parts of the code are once again enabled. If you thinkthere's still a problem, you can recompile with one of the following twomacros defined and see if the problem goes away:DISABLE_PNGVCRD_COMBINEDISABLE_PNGVCRD_INTERLACEThe second one is in the function where the bug was; as far as we areaware, there was never any bug in the other function. Please notify usif you find any problems in libpng, regardless of whether the two macrosmake any difference: png-implement@ccrc.wustl.eduAgain, we believe the MMX code in pngvcrd.c is 100% correct, but it hasnot yet been tested extensively.