1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
src/main Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
LICENSE Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README.third_party Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
lint.xml Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README.third_party

URL: https://gist.githubusercontent.com/devunwired/4479231/raw/df2725be4ae0f12f5265deaf0a769936ea94950b/GifDecoder.java
Version: df2725be4ae0f12f5265deaf0a769936ea94950b
License: MIT
License File: LICENSE

Description:
Implementation of GifDecoder that is more memory efficient to animate for 
Android devices. This implementation does not house in memory a Bitmap for 
every image frame. Images are instead decoded on-the-fly, and only the minimum 
data to create the next frame in the sequence is kept. The implementation has 
also been adapted to reduce memory allocations in the decoding process to 
reduce time to render each frame.
 
Adapted from: 
http://show.docjava.com/book/cgij/exportToHTML/ip/gif/stills/GifDecoder.java.html

Local Modifications:
Broke headers and frames out into separate files and added ability to share
headers between multiple decoders. Added interface for reusing bitmaps each
frame. Bugfixes.