webp/examples
Urvang Joshi 5691bdd9da gif2webp: Handle frames with odd offsets + disposal to background.
Snapping odd offsets in GIF to even offsets in WebP was causing extra row/column
being disposed in such cases.

Code is rewritten to maintain previous and current canvas (it used to maintain
previous canvas and current frame earlier). And we recompute change rectangles
as those from GIF may no longer apply.
Also, this renders methods like ReduceTransparency() and ConvertToKeyFrame()
redundant, as internally maintained current canvas is always independent of
previous canvases.

Disposal method choice: we pick the disposal method that results in the smallest
change rectangle.

(cherry picked from commit e4c829efe9bb233f38eeb5c575a1afdc0cd82c65)

Conflicts:
	examples/gif2webp_util.c

Change-Id: Ic31186d98fe1a2a790a89d1571b17e3abd127e79
2015-03-02 18:42:36 -08:00
..
2014-06-17 23:41:12 -07:00
2013-12-16 20:16:02 -08:00
2013-06-06 23:09:14 -07:00
2013-12-16 20:16:02 -08:00
2013-12-16 20:16:02 -08:00
2015-03-02 18:42:28 -08:00
2010-11-17 20:09:47 -08:00
2014-07-03 18:15:50 -07:00
2013-12-16 20:16:02 -08:00
2014-04-26 02:20:41 -07:00
2014-10-14 12:02:16 +02:00
2013-12-16 20:16:02 -08:00