Home
last modified time | relevance | path

Searched refs:GifFileOut (Results 1 – 8 of 8) sorted by relevance

/third_party/giflib/
Dgiffilter.c36 static void QuitGifError(GifFileType *GifFileIn, GifFileType *GifFileOut) in QuitGifError() argument
42 if (GifFileOut != NULL) { in QuitGifError()
43 PrintGifError(GifFileOut->Error); in QuitGifError()
44 EGifCloseFile(GifFileOut, NULL); in QuitGifError()
54 GifFileType *GifFileIn = NULL, *GifFileOut = NULL; in main() local
70 if ((GifFileOut = EGifOpenFileHandle(1, &ErrorCode)) == NULL) { in main()
76 if (EGifPutScreenDesc(GifFileOut, in main()
80 QuitGifError(GifFileIn, GifFileOut); in main()
85 QuitGifError(GifFileIn, GifFileOut); in main()
90 QuitGifError(GifFileIn, GifFileOut); in main()
[all …]
Dgiffix.c32 static void QuitGifError(GifFileType *GifFileIn, GifFileType *GifFileOut);
47 GifFileType *GifFileIn = NULL, *GifFileOut = NULL; in main() local
83 if ((GifFileOut = EGifOpenFileHandle(1, &ErrorCode)) == NULL) { in main()
90 if (EGifPutScreenDesc(GifFileOut, in main()
94 QuitGifError(GifFileIn, GifFileOut); in main()
102 QuitGifError(GifFileIn, GifFileOut); in main()
107 QuitGifError(GifFileIn, GifFileOut); in main()
121 if (EGifPutImageDesc(GifFileOut, Col, Row, Width, Height, in main()
123 QuitGifError(GifFileIn, GifFileOut); in main()
143 if (EGifPutLine(GifFileOut, LineBuffer, Width) in main()
[all …]
Dgifclrmp.c48 static void QuitGifError(GifFileType *GifFileIn, GifFileType *GifFileOut);
61 GifFileType *GifFileIn = NULL, *GifFileOut = NULL; in main() local
124 if ((GifFileOut = EGifOpenFileHandle(1, &ErrorCode)) == NULL) { in main()
144 if (EGifPutScreenDesc(GifFileOut, in main()
148 QuitGifError(GifFileIn, GifFileOut); in main()
153 QuitGifError(GifFileIn, GifFileOut); in main()
158 QuitGifError(GifFileIn, GifFileOut); in main()
170 if (EGifPutImageDesc(GifFileOut, in main()
175 QuitGifError(GifFileIn, GifFileOut); in main()
183 QuitGifError(GifFileIn, GifFileOut); in main()
[all …]
Dgifhisto.c48 static void QuitGifError(GifFileType *GifFileIn, GifFileType *GifFileOut);
63 GifFileType *GifFileIn = NULL, *GifFileOut = NULL; in main() local
104 QuitGifError(GifFileIn, GifFileOut); in main()
109 QuitGifError(GifFileIn, GifFileOut); in main()
133 QuitGifError(GifFileIn, GifFileOut); in main()
146 QuitGifError(GifFileIn, GifFileOut); in main()
149 QuitGifError(GifFileIn, GifFileOut); in main()
155 QuitGifError(GifFileIn, GifFileOut); in main()
159 QuitGifError(GifFileIn, GifFileOut); in main()
189 if ((GifFileOut = EGifOpenFileHandle(1, &ErrorCode)) == NULL) { in main()
[all …]
Dgifsponge.c36 GifFileType *GifFileIn, *GifFileOut = (GifFileType *)NULL; in main() local
46 if ((GifFileOut = EGifOpenFileHandle(1, &ErrorCode)) == NULL) { in main()
55 GifFileOut->SWidth = GifFileIn->SWidth; in main()
56 GifFileOut->SHeight = GifFileIn->SHeight; in main()
57 GifFileOut->SColorResolution = GifFileIn->SColorResolution; in main()
58 GifFileOut->SBackGroundColor = GifFileIn->SBackGroundColor; in main()
60 GifFileOut->SColorMap = GifMakeMapObject( in main()
64 GifFileOut->SColorMap = NULL; in main()
68 (void) GifMakeSavedImage(GifFileOut, &GifFileIn->SavedImages[i]); in main()
78 if (EGifSpew(GifFileOut) == GIF_ERROR) in main()
[all …]
Dgifbuild.c132 GifFileType *GifFileOut; in Icon2Gif() local
138 if ((GifFileOut = EGifOpenFileHandle(fdout, &ErrorCode)) == NULL) { in Icon2Gif()
175 if (sscanf(buf, "screen width %d\n", &GifFileOut->SWidth) == 1) in Icon2Gif()
178 else if (sscanf(buf, "screen height %d\n", &GifFileOut->SHeight) == 1) in Icon2Gif()
191 GifFileOut->SColorResolution = ResBits; in Icon2Gif()
197 &GifFileOut->SBackGroundColor) == 1) in Icon2Gif()
201 GifFileOut->AspectByte = (GifByteType)(intval & 0xff); in Icon2Gif()
211 if (GifFileOut->SColorMap != NULL) in Icon2Gif()
277 GifFileOut->SColorMap = NewMap; in Icon2Gif()
303 if (GifFileOut != NULL) { in Icon2Gif()
[all …]
Degif_lib.c257 static int InternalWrite(GifFileType *GifFileOut, in InternalWrite() argument
260 GifFilePrivateType *Private = (GifFilePrivateType*)GifFileOut->Private; in InternalWrite()
262 return Private->Write(GifFileOut,buf,len); in InternalWrite()
1066 EGifWriteExtensions(GifFileType *GifFileOut, in EGifWriteExtensions() argument
1076 if (EGifPutExtensionLeader(GifFileOut, ep->Function) == GIF_ERROR) in EGifWriteExtensions()
1078 if (EGifPutExtensionBlock(GifFileOut, ep->ByteCount, ep->Bytes) == GIF_ERROR) in EGifWriteExtensions()
1081 if (EGifPutExtensionTrailer(GifFileOut) == GIF_ERROR) in EGifWriteExtensions()
1090 EGifSpew(GifFileType *GifFileOut) in EGifSpew() argument
1094 if (EGifPutScreenDesc(GifFileOut, in EGifSpew()
1095 GifFileOut->SWidth, in EGifSpew()
[all …]
Dgiftool.c107 GifFileType *GifFileIn, *GifFileOut = (GifFileType *)NULL; in main() local
220 if ((GifFileOut = EGifOpenFileHandle(1, &ErrorCode)) == NULL) { in main()
559 GifFileOut->SWidth = GifFileIn->SWidth; in main()
560 GifFileOut->SHeight = GifFileIn->SHeight; in main()
561 GifFileOut->SColorResolution = GifFileIn->SColorResolution; in main()
562 GifFileOut->SBackGroundColor = GifFileIn->SBackGroundColor; in main()
564 GifFileOut->SColorMap = GifMakeMapObject( in main()
569 (void) GifMakeSavedImage(GifFileOut, &GifFileIn->SavedImages[i]); in main()
571 if (EGifSpew(GifFileOut) == GIF_ERROR) in main()
572 PrintGifError(GifFileOut->Error); in main()