Home
last modified time | relevance | path

Searched refs:GIF_ERROR (Results 1 – 25 of 25) sorted by relevance

/third_party/giflib/
Ddgif_lib.c146 if (DGifGetScreenDesc(GifFile) == GIF_ERROR) { in DGifOpenFileHandle()
221 if (DGifGetScreenDesc(GifFile) == GIF_ERROR) { in DGifOpen()
252 return GIF_ERROR; in DGifGetScreenDesc()
256 if (DGifGetWord(GifFile, &GifFile->SWidth) == GIF_ERROR || in DGifGetScreenDesc()
257 DGifGetWord(GifFile, &GifFile->SHeight) == GIF_ERROR) in DGifGetScreenDesc()
258 return GIF_ERROR; in DGifGetScreenDesc()
264 return GIF_ERROR; in DGifGetScreenDesc()
277 return GIF_ERROR; in DGifGetScreenDesc()
288 return GIF_ERROR; in DGifGetScreenDesc()
329 return GIF_ERROR; in DGifGetRecordType()
[all …]
Degif_lib.c287 return GIF_ERROR; in EGifPutScreenDesc()
292 return GIF_ERROR; in EGifPutScreenDesc()
301 return GIF_ERROR; in EGifPutScreenDesc()
313 return GIF_ERROR; in EGifPutScreenDesc()
350 return GIF_ERROR; in EGifPutScreenDesc()
381 return GIF_ERROR; in EGifPutImageDesc()
386 return GIF_ERROR; in EGifPutImageDesc()
403 return GIF_ERROR; in EGifPutImageDesc()
432 return GIF_ERROR; in EGifPutImageDesc()
438 return GIF_ERROR; in EGifPutImageDesc()
[all …]
Dgiffilter.c79 GifFileIn->SColorMap) == GIF_ERROR) in main()
84 if (DGifGetRecordType(GifFileIn, &RecordType) == GIF_ERROR) in main()
89 if (DGifGetImageDesc(GifFileIn) == GIF_ERROR) in main()
96 GifFileIn->Image.ColorMap) == GIF_ERROR) in main()
101 if (DGifGetCode(GifFileIn, &CodeSize, &CodeBlock) == GIF_ERROR || in main()
102 EGifPutCode(GifFileOut, CodeSize, CodeBlock) == GIF_ERROR) in main()
105 if (DGifGetCodeNext(GifFileIn, &CodeBlock) == GIF_ERROR || in main()
106 EGifPutCodeNext(GifFileOut, CodeBlock) == GIF_ERROR) in main()
112 if (DGifGetExtension(GifFileIn, &ExtCode, &Extension) == GIF_ERROR || Extension == NULL) in main()
114 if (EGifPutExtensionLeader(GifFileOut, ExtCode) == GIF_ERROR) in main()
[all …]
Dgiffix.c93 GifFileIn->SColorMap) == GIF_ERROR) in main()
101 if (DGifGetRecordType(GifFileIn, &RecordType) == GIF_ERROR) in main()
106 if (DGifGetImageDesc(GifFileIn) == GIF_ERROR) in main()
122 false, GifFileIn->Image.ColorMap) == GIF_ERROR) in main()
142 == GIF_ERROR) break; in main()
144 == GIF_ERROR) QuitGifError(GifFileIn, GifFileOut); in main()
156 == GIF_ERROR) QuitGifError(GifFileIn, GifFileOut); in main()
161 if (DGifGetExtension(GifFileIn, &ExtCode, &Extension) == GIF_ERROR) in main()
163 if (EGifPutExtensionLeader(GifFileOut, ExtCode) == GIF_ERROR) in main()
168 Extension + 1) == GIF_ERROR) in main()
[all …]
Dgifclrmp.c147 GifFileIn->SColorMap) == GIF_ERROR) in main()
152 if (DGifGetRecordType(GifFileIn, &RecordType) == GIF_ERROR) in main()
157 if (DGifGetImageDesc(GifFileIn) == GIF_ERROR) in main()
174 GifFileIn->Image.ColorMap) == GIF_ERROR) in main()
182 if (DGifGetCode(GifFileIn, &CodeSize, &CodeBlock) == GIF_ERROR) in main()
185 if (EGifPutCode(GifFileOut, CodeSize, CodeBlock) == GIF_ERROR) in main()
188 if (DGifGetCodeNext(GifFileIn, &CodeBlock) == GIF_ERROR) in main()
191 if (EGifPutCodeNext(GifFileOut, CodeBlock) == GIF_ERROR) in main()
205 == GIF_ERROR) { in main()
215 == GIF_ERROR) { in main()
[all …]
Dgifhisto.c103 if (DGifGetRecordType(GifFileIn, &RecordType) == GIF_ERROR) in main()
108 if (DGifGetImageDesc(GifFileIn) == GIF_ERROR) in main()
132 == GIF_ERROR) in main()
145 if (DGifGetCode(GifFileIn, &CodeSize, &CodeBlock) == GIF_ERROR) in main()
148 if (DGifGetCodeNext(GifFileIn, &CodeBlock) == GIF_ERROR) in main()
154 if (DGifGetExtension(GifFileIn, &ExtCode, &Extension) == GIF_ERROR) in main()
158 if (DGifGetExtensionNext(GifFileIn, &Extension) == GIF_ERROR) in main()
173 if (DGifCloseFile(GifFileIn, &ErrorCode) == GIF_ERROR) in main()
197 GifMakeMapObject(4, HistoColorMap)) == GIF_ERROR) in main()
202 0, 0, ImageWidth, ImageHeight, false, NULL) == GIF_ERROR) in main()
[all …]
Dgiftext.c130 if (DGifGetRecordType(GifFile, &RecordType) == GIF_ERROR) { in main()
136 if (DGifGetImageDesc(GifFile) == GIF_ERROR) { in main()
173 if (DGifGetCode(GifFile, &CodeSize, &CodeBlock) == GIF_ERROR) { in main()
181 if (DGifGetCodeNext(GifFile, &CodeBlock) == GIF_ERROR) { in main()
196 == GIF_ERROR) { in main()
210 == GIF_ERROR) { in main()
220 if (DGifGetCode(GifFile, &CodeSize, &CodeBlock) == GIF_ERROR) { in main()
225 if (DGifGetCodeNext(GifFile, &CodeBlock) == GIF_ERROR) { in main()
234 if (DGifGetExtension(GifFile, &ExtCode, &Extension) == GIF_ERROR) { in main()
270 if (DGifExtensionToGCB(Extension[0], Extension+1, &gcb) == GIF_ERROR) { in main()
[all …]
Dgif2rgb.c178 OutputColorMap) == GIF_ERROR || in SaveGif()
180 0, 0, Width, Height, false, NULL) == GIF_ERROR) { in SaveGif()
190 if (EGifPutLine(GifFile, Ptr, Width) == GIF_ERROR) in SaveGif()
197 if (EGifCloseFile(GifFile, &Error) == GIF_ERROR) { in SaveGif()
233 OutputBuffer, OutputColorMap->Colors) == GIF_ERROR) in RGB2GIF()
402 if (DGifGetRecordType(GifFile, &RecordType) == GIF_ERROR) { in GIF2RGB()
408 if (DGifGetImageDesc(GifFile) == GIF_ERROR) { in GIF2RGB()
430 Width) == GIF_ERROR) { in GIF2RGB()
440 Width) == GIF_ERROR) { in GIF2RGB()
449 if (DGifGetExtension(GifFile, &ExtCode, &Extension) == GIF_ERROR) { in GIF2RGB()
[all …]
Dgifsponge.c42 if (DGifSlurp(GifFileIn) == GIF_ERROR) { in main()
78 if (EGifSpew(GifFileOut) == GIF_ERROR) in main()
81 if (DGifCloseFile(GifFileIn, &ErrorCode) == GIF_ERROR) in main()
Dgifbg.c222 == GIF_ERROR) in main()
227 0, 0, ImageWidth, ImageHeight, false, NULL) == GIF_ERROR) in main()
252 if (EGifPutLine(GifFile, Line, ImageWidth) == GIF_ERROR) in main()
278 if (EGifPutLine(GifFile, Line, ImageWidth) == GIF_ERROR) in main()
314 if (EGifPutLine(GifFile, &Line[StartX], ImageWidth) == GIF_ERROR) in main()
328 if (EGifCloseFile(GifFile, &ErrorCode) == GIF_ERROR) in main()
Dgifwedge.c100 … if (EGifPutScreenDesc(GifFile, ImageWidth, ImageHeight, LogNumLevels, 0, ColorMap) == GIF_ERROR) { in main()
107 false, NULL) == GIF_ERROR) { in main()
127 if (EGifPutLine(GifFile, Line, ImageWidth) == GIF_ERROR) { in main()
135 if (EGifCloseFile(GifFile, &ErrorCode) == GIF_ERROR) { in main()
Dgifcolor.c102 BackGround, ColorMap) == GIF_ERROR) in main()
107 0, 0, IMAGEWIDTH, ColorMapSize * GIF_FONT_HEIGHT, false, NULL) == GIF_ERROR) in main()
122 if (EGifPutLine(GifFile, RasterBuffer[j], IMAGEWIDTH) == GIF_ERROR) in main()
128 if (EGifCloseFile(GifFile, &ErrorCode) == GIF_ERROR) in main()
Dgifecho.c143 == GIF_ERROR) in main()
148 0, 0, ImageWidth, ImageHeight, false, NULL) == GIF_ERROR) in main()
159 if (EGifPutLine(GifFile, RasterBuffer[j], ImageWidth) == GIF_ERROR) in main()
165 if (EGifCloseFile(GifFile, &ErrorCode) == GIF_ERROR) in main()
Dgifbuild.c296 if (DGifSlurp(Inclusion) == GIF_ERROR) in Icon2Gif()
380 (unsigned char *)buf) == GIF_ERROR) { in Icon2Gif()
402 (unsigned char *)buf) == GIF_ERROR) { in Icon2Gif()
448 (unsigned char *)buf) == GIF_ERROR) { in Icon2Gif()
462 (unsigned char *)"NETSCAPE2.0")==GIF_ERROR) { in Icon2Gif()
470 0, sizeof(params), params) == GIF_ERROR) { in Icon2Gif()
492 (unsigned char *)buf) == GIF_ERROR) { in Icon2Gif()
710 if (DGifExtensionToGCB(ep->ByteCount, ep->Bytes, &gcb) == GIF_ERROR) { in DumpExtensions()
765 if (DGifSlurp(GifFile) == GIF_ERROR) { in Gif2Icon()
883 if (DGifCloseFile(GifFile, &ErrorCode) == GIF_ERROR) { in Gif2Icon()
Dgifalloc.c242 return (GIF_ERROR); in GifAddExtensionBlock()
247 return (GIF_ERROR); in GifAddExtensionBlock()
255 return (GIF_ERROR); in GifAddExtensionBlock()
Dquantize.c80 return GIF_ERROR; in GifQuantizeBuffer()
132 return GIF_ERROR; in GifQuantizeBuffer()
233 return GIF_ERROR; in SubdivColorMap()
Dgiftool.c216 if (DGifSlurp(GifFileIn) == GIF_ERROR) { in main()
571 if (EGifSpew(GifFileOut) == GIF_ERROR) in main()
573 else if (DGifCloseFile(GifFileIn, &ErrorCode) == GIF_ERROR) in main()
Dgif_lib.h20 #define GIF_ERROR 0 macro
DNEWS212 GIF_ERROR. This replaces the old behavior in which the GifFile
484 * QuantizeBuffer(), GifQprintf(), PrintGifError(), GIF_ERROR()
591 * GIF_ERROR and GIF_MESSAGE are on the deprecation list as they are also
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Dgifdec.c154 if (DGifGetLine(gif, tmp, rect.width) == GIF_ERROR) goto End; in GIFReadFrame()
162 if (DGifGetLine(gif, tmp, rect.width) == GIF_ERROR) goto End; in GIFReadFrame()
179 if (DGifGetExtensionNext(gif, buf) == GIF_ERROR) { in GIFReadLoopCount()
208 if (DGifGetExtensionNext(gif, buf) == GIF_ERROR) { in GIFReadMetadata()
Dgif2webp.c101 int gif_error = GIF_ERROR; in main()
283 if (DGifGetRecordType(gif, &type) == GIF_ERROR) goto End; in main()
383 if (DGifGetExtension(gif, &extension, &data) == GIF_ERROR) { in main()
441 if (DGifGetExtensionNext(gif, &data) == GIF_ERROR) goto End; in main()
Danim_util.c330 return GIF_ERROR; in DGifExtensionToGCB()
347 return GIF_ERROR; in DGifSavedExtensionToGCB()
361 return GIF_ERROR; in DGifSavedExtensionToGCB()
/third_party/skia/third_party/externals/libwebp/examples/
Dgifdec.c154 if (DGifGetLine(gif, tmp, rect.width) == GIF_ERROR) goto End; in GIFReadFrame()
162 if (DGifGetLine(gif, tmp, rect.width) == GIF_ERROR) goto End; in GIFReadFrame()
179 if (DGifGetExtensionNext(gif, buf) == GIF_ERROR) { in GIFReadLoopCount()
208 if (DGifGetExtensionNext(gif, buf) == GIF_ERROR) { in GIFReadMetadata()
Dgif2webp.c101 int gif_error = GIF_ERROR; in main()
283 if (DGifGetRecordType(gif, &type) == GIF_ERROR) goto End; in main()
383 if (DGifGetExtension(gif, &extension, &data) == GIF_ERROR) { in main()
441 if (DGifGetExtensionNext(gif, &data) == GIF_ERROR) goto End; in main()
Danim_util.c330 return GIF_ERROR; in DGifExtensionToGCB()
347 return GIF_ERROR; in DGifSavedExtensionToGCB()
361 return GIF_ERROR; in DGifSavedExtensionToGCB()