Searched refs:GifFileIn (Results 1 – 6 of 6) sorted by relevance
/third_party/giflib/ |
D | giffilter.c | 36 static void QuitGifError(GifFileType *GifFileIn, GifFileType *GifFileOut) in QuitGifError() argument 38 if (GifFileIn != NULL) { in QuitGifError() 39 PrintGifError(GifFileIn->Error); in QuitGifError() 40 EGifCloseFile(GifFileIn, NULL); in QuitGifError() 54 GifFileType *GifFileIn = NULL, *GifFileOut = NULL; in main() local 64 if ((GifFileIn = DGifOpenFileHandle(0, &ErrorCode)) == NULL) { in main() 77 GifFileIn->SWidth, GifFileIn->SHeight, in main() 78 GifFileIn->SColorResolution, GifFileIn->SBackGroundColor, in main() 79 GifFileIn->SColorMap) == GIF_ERROR) in main() 80 QuitGifError(GifFileIn, GifFileOut); in main() [all …]
|
D | giffix.c | 32 static void QuitGifError(GifFileType *GifFileIn, GifFileType *GifFileOut); 47 GifFileType *GifFileIn = NULL, *GifFileOut = NULL; in main() local 68 if ((GifFileIn = DGifOpenFileName(*FileName, &ErrorCode)) == NULL) { in main() 76 if ((GifFileIn = DGifOpenFileHandle(0, &ErrorCode)) == NULL) { in main() 91 GifFileIn->SWidth, GifFileIn->SHeight, in main() 92 GifFileIn->SColorResolution, GifFileIn->SBackGroundColor, in main() 93 GifFileIn->SColorMap) == GIF_ERROR) in main() 94 QuitGifError(GifFileIn, GifFileOut); in main() 96 if ((LineBuffer = (GifRowType) malloc(GifFileIn->SWidth)) == NULL) in main() 101 if (DGifGetRecordType(GifFileIn, &RecordType) == GIF_ERROR) in main() [all …]
|
D | gifclrmp.c | 48 static void QuitGifError(GifFileType *GifFileIn, GifFileType *GifFileOut); 61 GifFileType *GifFileIn = NULL, *GifFileOut = NULL; in main() local 91 if ((GifFileIn = DGifOpenFileName(*FileName, &ErrorCode)) == NULL) { in main() 98 if ((GifFileIn = DGifOpenFileHandle(0, &ErrorCode)) == NULL) { in main() 132 if (!GifFileIn->SColorMap) in main() 134 GifFileIn->SColorMap = ModifyColorMap(GifFileIn->SColorMap); in main() 137 DGifCloseFile(GifFileIn, NULL); in main() 145 GifFileIn->SWidth, GifFileIn->SHeight, in main() 146 GifFileIn->SColorResolution, GifFileIn->SBackGroundColor, in main() 147 GifFileIn->SColorMap) == GIF_ERROR) in main() [all …]
|
D | gifhisto.c | 48 static void QuitGifError(GifFileType *GifFileIn, GifFileType *GifFileOut); 63 GifFileType *GifFileIn = NULL, *GifFileOut = NULL; in main() local 86 if ((GifFileIn = DGifOpenFileName(*FileName, &ErrorCode)) == NULL) { in main() 93 if ((GifFileIn = DGifOpenFileHandle(0, &ErrorCode)) == NULL) { in main() 103 if (DGifGetRecordType(GifFileIn, &RecordType) == GIF_ERROR) in main() 104 QuitGifError(GifFileIn, GifFileOut); in main() 108 if (DGifGetImageDesc(GifFileIn) == GIF_ERROR) in main() 109 QuitGifError(GifFileIn, GifFileOut); in main() 111 if (GifFileIn->Image.ColorMap) in main() 112 NumColors = GifFileIn->Image.ColorMap->ColorCount; in main() [all …]
|
D | giftool.c | 107 GifFileType *GifFileIn, *GifFileOut = (GifFileType *)NULL; in main() local 212 if ((GifFileIn = DGifOpenFileHandle(0, &ErrorCode)) == NULL) { in main() 216 if (DGifSlurp(GifFileIn) == GIF_ERROR) { in main() 217 PrintGifError(GifFileIn->Error); in main() 227 for (i = nselected = 0; i < GifFileIn->ImageCount; i++) in main() 231 if (selected[i] >= GifFileIn->ImageCount || selected[i] < 0) in main() 243 GifFileIn->SBackGroundColor = op->color; in main() 251 DGifSavedExtensionToGCB(GifFileIn, selected[i], &gcb); in main() 253 EGifGCBToSavedExtension(&gcb, GifFileIn, selected[i]); in main() 259 SavedImage *ip = &GifFileIn->SavedImages[selected[i]]; in main() [all …]
|
D | gifsponge.c | 36 GifFileType *GifFileIn, *GifFileOut = (GifFileType *)NULL; in main() local 38 if ((GifFileIn = DGifOpenFileHandle(0, &ErrorCode)) == NULL) { in main() 42 if (DGifSlurp(GifFileIn) == GIF_ERROR) { in main() 43 PrintGifError(GifFileIn->Error); 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() 59 if (GifFileIn->SColorMap) { in main() 61 GifFileIn->SColorMap->ColorCount, in main() [all …]
|