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