aboutsummaryrefslogtreecommitdiff
path: root/third_party/gif_decoder/src/main/java/com/bumptech/glide
AgeCommit message (Collapse)Author
2014-11-05Use set style for imports.Sam Judd
2014-10-26Protect error logging with DEBUG property.Sam Judd
Fixes #171.
2014-10-26Always use ARGB_8888 to decode gif frames.Sam Judd
Fixes #216.
2014-10-26Synchronize gif decoder getNextFrame.Sam Judd
This does not make GifDecoder thread safe in that it doesn't guarantee that a decoder will decode a particular frame, but should keep state consistent and prevent crashes from concurrent writes to buffers. Fixes #212.
2014-10-23Document width/height values.Sam Judd
Fixes #145.
2014-10-23Clear data from GifHeaderParsers before pooling.Sam Judd
2014-10-22Return null when gif frame cannot be decoded.Sam Judd
More work toward #212.
2014-10-21Set minimum and default frame delays.Sam Judd
Fixes #205.
2014-10-21Clean up GifDrawable resources more reliably.Sam Judd
Each time we call get() on a drawable resource, we get a new Drawable. We call get() repeatedly on resources when they are retrieved from either the set of active resources or the in memory cache. Each time we create a new GifDrawable it holds on to one or two temporary Bitmaps outside it's shared state to render the current frame and obey the dispose_previous method. This change means we more aggressively cleanup those resources when we think each Drawable is no longer being used. The side affect is that we may reset back to the beginning of the Drawable in some circumstances. Cleanup in in memory resources makes it less likely that frames would be retrieved from in memory, so this also works toward #207.
2014-10-21Always decode gif frames in sequence.Sam Judd
Fixes #207.
2014-10-19Reset frame pointer in setData in GifDecoder.Sam Judd
Fixes #204.
2014-10-19Decode GIFs with more codes than can fit in table.Sam Judd
Fixes #203
2014-10-19Set transIndex for GIFs with transparent pixels.Sam Judd
Fixes #201.
2014-10-18Skip image blocks in parser.Sam Judd
2014-10-17Add api to set default decode format.Sam Judd
Fixes #177.
2014-10-02Add a GifEncoder/GifResourceEncoder.Sam Judd
2014-09-28Decode first gif frame before returning resource.Sam Judd
Fixes #159.
2014-09-14Allow GIFs without Graphics Control Extensions.Sam Judd
The GCE is an optional extension that may or may not be included per frame (it's slightly more complicated than this), we shouldn't throw if it isn't present. Fixes #134.
2014-08-31Fix some comments: - typos, - documented empty blocks, - shortened some ↵Robert Papp
{@link}s, - converted some multi-line comments to single-line/javadocs.
2014-08-05Fold GifData into GifDrawable.Sam Judd
2014-08-03Fix concurrency exceptions in GifResourceDecoder.Sam Judd
2014-07-14Add checkstyle for javadocs.Sam Judd
2014-07-14Fix issues with artifacts in certain gif frames.Sam Judd
2014-07-11Fix exception when GIF can't be decodedSam Judd
We get a GifHeader object, but it has 0 frames which eventually causes a divide by zero exception. Since the real problem is that we couldn't decode the gif, we check in the decoder if the decode failed and then simply return null.
2014-07-10Provide final frame dimensions to GifDrawable.Sam Judd
This allows the intrinsic width and height to be constant which plays more nicely with the android framework.
2014-07-02Add checkstyle plugin and and fix style issues.Sam Judd
2014-06-17Fix exception where currentImage is manipulated.Sam Judd
2014-06-16Fix gifs showing images from recycled bitmaps.Sam Judd
2014-06-16Move GifDecoder related classes into third_party.Sam Judd