D | SkImageDecoder_libgif.cpp | 107 static const ColorMapObject* find_colormap(const GifFileType* gif) { in find_colormap() argument 108 const ColorMapObject* cmap = gif->Image.ColorMap; in find_colormap() 110 cmap = gif->SColorMap; in find_colormap() 144 static bool error_return(GifFileType* gif, const SkBitmap& bm, in error_return() argument 154 GifFileType* gif = DGifOpen(sk_stream, DecodeCallBackProc); in onDecode() local 155 if (NULL == gif) { in onDecode() 156 return error_return(gif, *bm, "DGifOpen"); in onDecode() 159 SkAutoTCallIProc<GifFileType, DGifCloseFile> acp(gif); in onDecode() 172 if (DGifGetRecordType(gif, &recType) == GIF_ERROR) { in onDecode() 173 return error_return(gif, *bm, "DGifGetRecordType"); in onDecode() [all …]
|