D | SkImageDecoder_libgif.cpp | 115 static const ColorMapObject* find_colormap(const GifFileType* gif) { in find_colormap() argument 116 const ColorMapObject* cmap = gif->Image.ColorMap; in find_colormap() 118 cmap = gif->SColorMap; in find_colormap() 152 static bool error_return(GifFileType* gif, const SkBitmap& bm, in error_return() argument 162 GifFileType* gif = DGifOpen(sk_stream, DecodeCallBackProc); in onDecode() local 163 if (NULL == gif) { in onDecode() 164 return error_return(gif, *bm, "DGifOpen"); in onDecode() 167 SkAutoTCallIProc<GifFileType, DGifCloseFile> acp(gif); in onDecode() 180 if (DGifGetRecordType(gif, &recType) == GIF_ERROR) { in onDecode() 181 return error_return(gif, *bm, "DGifGetRecordType"); in onDecode() [all …]
|