Added support for loading specified GIF frames from a file. 03/162403/31
authorUmar <m.umar@partner.samsung.com>
Thu, 30 Nov 2017 21:06:38 +0000 (21:06 +0000)
committerUmar <m.umar@partner.samsung.com>
Fri, 22 Dec 2017 16:50:59 +0000 (16:50 +0000)
commitcaaca774924e1d60f8857965c1fbb3f2df308f3e
treefc8bb9eb11b63ddfdbc84ee6d783ad3f15b09a21
parentd0bee11f2716fecd5198b206c1a9a045f5ef5b7b
Added support for loading specified GIF frames from a file.

Created a new GifLoading class that holds the encoded file in memory
until it's no longer needed. This is then used to decode frames as needed.

Removed LoadAnimatedGifFromFile and GetGifImageSize APIs

Cleaned up allocation of frame data.

Change-Id: I667e5322362dc824dba884f3146e916c048405c4
adaptors/devel-api/adaptor-framework/gif-loading.cpp
adaptors/devel-api/adaptor-framework/gif-loading.h
automated-tests/src/dali-adaptor/utc-Dali-GifLoading.cpp