Searched defs:gif (Results 1 - 2 of 2) sorted by relevance
/external/skia/src/images/ |
H A D | SkImageDecoder_libgif.cpp | 107 static const ColorMapObject* find_colormap(const GifFileType* gif) { argument 108 const ColorMapObject* cmap = gif->Image.ColorMap; 110 cmap = gif->SColorMap; 144 static bool error_return(GifFileType* gif, const SkBitmap& bm, argument 154 GifFileType* gif = DGifOpen(sk_stream, DecodeCallBackProc); local 155 if (NULL == gif) { 156 return error_return(gif, *bm, "DGifOpen"); 159 SkAutoTCallIProc<GifFileType, DGifCloseFile> acp(gif); 172 if (DGifGetRecordType(gif, &recType) == GIF_ERROR) { 173 return error_return(gif, *b [all...] |
H A D | SkMovie_gif.cpp | 335 const GifFileType* gif = fGIF; local 336 if (NULL == gif) 339 if (gif->ImageCount < 1) { 343 const int width = gif->SWidth; 344 const int height = gif->SHeight; 385 if (gif->SColorMap != NULL) { 386 const GifColorType& col = gif->SColorMap->Colors[fGIF->SBackGroundColor]; 398 if (!trans && gif->SColorMap != NULL) { 416 drawFrame(bm, cur, gif->SColorMap);
|
Completed in 171 milliseconds