summaryrefslogtreecommitdiff
path: root/src/dicache.h
AgeCommit message (Collapse)Author
2024-03-09Use Doxygen comments for C filesRodrigo Arias Mallo
2014-06-24Reimplemented the Dicache using dlib ADTsJorge Arellano Cid
For a long time it had a custom ADT with a list of nodes and each node a linked list (with pointers). The last memory bug motivated me to try to normalize it to use dlib. Now, it got simpler, shorter, and possibly faster (although conversion wasn't a simple task). PD: It also uses less memory now.
2014-06-24Moved dicache entry removal to a_Dicache_cleanup()Jorge Arellano Cid
This allows keeping the decompressed image entry until a_Dicache_cleanup() removes it. With the added SurvCleanup variable that controls how many cleanup passes the entry is kept, it is now possible to tune the dicache. For instance: SurvCleanup=0 same as without patch (negligible difference). SurvCleanup=1 allows Back and Forward reuse entries for adjacent pages. SurvCleanup=2 all the above, plus one more pass of lifetime. The default is SurvCleanup=3 (experimental). Example: If you read a newspaper with lots of images, this caching allows to click an article, read it, and go back *quickly* using the same tab. It is experimental because there may be other simple approaches that serve well/better these kind of usage patterns.
2014-06-21Ensure png, jpeg and gif decoders don't use DilloImage after set_parms()Jorge Arellano Cid
This allows reuse of the dicache entry after repush changes DilloImage.
2013-06-17Added gamma correction value to dw::core::ImgBuf.Sebastian Geerken
2013-01-12clean up struct typedefsp37sitdu, corvid
2009-11-11functions needn't be publicly visiblecorvid
2009-05-08Fix a memory leak when stopping an image-decoding processJorge Arellano Cid
2009-04-23Remove unused parameter in a_Dicache_write()corvid
2009-01-31Removed an unused variable in DicEntry structureJorge Arellano Cid
2009-01-31Set dicache as MIME dispatcher for image/{gif,jpg,png}. +refactor and cleanupsJorge Arellano Cid
2009-01-01imported patch dicache-cleanup5Jorge Arellano Cid
2008-12-29imported patch dicache-cleanup3Jorge Arellano Cid
2008-12-27[mq]: dicache-cleanup1Jorge Arellano Cid
2008-12-25Started code cleanup of the image code mainly in dicache.c. part#1Jorge Arellano Cid
2008-09-14- Made several cleanups according to compiler warnings with "-W -Wall".jcid
2008-01-16 - Added support for progressive display of progressive jpegs.jcid
- Fixed progressive display of interlaced pngs.
2007-10-07Initial revisionjcid