History log of /frameworks/ex/framesequence/jni/FrameSequence_gif.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
edf9b83e5df6e178e5bce7ffb0fe6ff0c9248a7c 18-Apr-2014 Urvang Joshi <urvang@google.com> GIF decode: rectify loop count extraction

Left-shift was missing earlier.

An example affected image: https://x20web.corp.google.com/~urvang/anim3/images/anim_icc.gif

Earlier code would have set mLoopCount to 125, while correct value is 32000.

Confirmed with ImageMagick:
identify -verbose anim_icc.gif | grep 'Iterations'
Iterations: 32000

Change-Id: I3fc9cc2febd0cc4f51c80ccf7ddcd98723881214
/frameworks/ex/framesequence/jni/FrameSequence_gif.cpp
9d34bc31927f47e91ba85980d4d146593cbbe1a8 10-Apr-2014 Chris Craik <ccraik@google.com> Fix uninitialized read in gif extension reading

Use memcmp instead of strcmp, since string stored in gif may not be
null terminated.

Additionally, pass the correct carray for releasing the byte array.

Change-Id: Icb0260c953377d17b7dd7b4fb021147181cd5df8
/frameworks/ex/framesequence/jni/FrameSequence_gif.cpp
e36c5d675c8c2f900ef186a55edf71ce36ca9fa0 14-Jan-2014 Chris Craik <ccraik@google.com> Add loop count control

-Adds callback into app for drawable that finishes animating
-Fixes timestamp delay mapping (was previously off by one)
-64 bit pointer storage

Change-Id: I21cf7eb325fd58fb0aeda58f864d35fe483a89a7
/frameworks/ex/framesequence/jni/FrameSequence_gif.cpp
a3ac0a2df64dcfb8b0b01f1cf05e9afd1439e1f4 06-Jan-2014 Chris Craik <ccraik@google.com> Import FrameSequence

Change-Id: I09b668925366a22e8e7e80e4abeae24b3a98c639
(cherry picked from commit a1265c3d8a20e805e0c45083d5c7d728d4b70009)
/frameworks/ex/framesequence/jni/FrameSequence_gif.cpp