Searched defs:gif (Results 1 - 2 of 2) sorted by relevance

/external/skia/src/images/
H A DSkMovie_gif.cpp119 GifFileType* gif = fGIF; local
120 if (NULL == gif)
124 ColorMapObject* cmap = gif->SColorMap;
126 cmap = gif->Image.ColorMap;
128 if (cmap == NULL || gif->ImageCount < 1 || cmap->ColorCount != (1 << cmap->BitsPerPixel))
134 const int width = gif->SWidth;
135 const int height = gif->SHeight;
180 if (gif->Image.Interlace) {
H A DSkImageDecoder_libgif.cpp115 static const ColorMapObject* find_colormap(const GifFileType* gif) { argument
116 const ColorMapObject* cmap = gif->Image.ColorMap;
118 cmap = gif->SColorMap;
147 static bool error_return(GifFileType* gif, const SkBitmap& bm, argument
157 GifFileType* gif = DGifOpen(sk_stream, DecodeCallBackProc); local
158 if (NULL == gif) {
159 return error_return(gif, *bm, "DGifOpen");
162 SkAutoTCallIProc<GifFileType, DGifCloseFile> acp(gif);
175 if (DGifGetRecordType(gif, &recType) == GIF_ERROR) {
176 return error_return(gif, *b
[all...]

Completed in 10 milliseconds