Lines Matching refs:gif
90 static int Remap(const GifFileType* const gif, const uint8_t* const src, in Remap() argument
95 gif->Image.ColorMap ? gif->Image.ColorMap : gif->SColorMap; in Remap()
113 int GIFReadFrame(GifFileType* const gif, int transparent_index, in GIFReadFrame() argument
116 const GifImageDesc* const image_desc = &gif->Image; in GIFReadFrame()
154 if (DGifGetLine(gif, tmp, rect.width) == GIF_ERROR) goto End; in GIFReadFrame()
155 if (!Remap(gif, tmp, rect.width, transparent_index, row)) goto End; in GIFReadFrame()
162 if (DGifGetLine(gif, tmp, rect.width) == GIF_ERROR) goto End; in GIFReadFrame()
163 if (!Remap(gif, tmp, rect.width, transparent_index, ptr)) goto End; in GIFReadFrame()
175 int GIFReadLoopCount(GifFileType* const gif, GifByteType** const buf, in GIFReadLoopCount() argument
179 if (DGifGetExtensionNext(gif, buf) == GIF_ERROR) { in GIFReadLoopCount()
192 int GIFReadMetadata(GifFileType* const gif, GifByteType** const buf, in GIFReadMetadata() argument
208 if (DGifGetExtensionNext(gif, buf) == GIF_ERROR) { in GIFReadMetadata()
297 void GIFDisplayError(const GifFileType* const gif, int gif_error) { in GIFDisplayError() argument
303 (gif == NULL) ? gif_error : gif->Error); in GIFDisplayError()
306 (void)gif; in GIFDisplayError()
311 (void)gif; in GIFDisplayError()
346 int GIFReadFrame(struct GifFileType* const gif, int transparent_index, in GIFReadFrame() argument
349 (void)gif; in GIFReadFrame()
357 int GIFReadLoopCount(struct GifFileType* const gif, GifByteType** const buf, in GIFReadLoopCount() argument
359 (void)gif; in GIFReadLoopCount()
366 int GIFReadMetadata(struct GifFileType* const gif, GifByteType** const buf, in GIFReadMetadata() argument
368 (void)gif; in GIFReadMetadata()
394 void GIFDisplayError(const struct GifFileType* const gif, int gif_error) { in GIFDisplayError() argument
395 (void)gif; in GIFDisplayError()