Searched refs:GifFile (Results 1 – 6 of 6) sorted by relevance
/external/giflib/ |
D | dgif_lib.c | 35 static int DGifGetWord(GifFileType *GifFile, GifWord *Word); 36 static int DGifSetupDecompress(GifFileType *GifFile); 37 static int DGifDecompressLine(GifFileType *GifFile, GifPixelType *Line, 40 static int DGifDecompressInput(GifFileType *GifFile, int *Code); 41 static int DGifBufferedInput(GifFileType *GifFile, GifByteType *Buf, 53 GifFileType *GifFile; in DGifOpenFileName() local 61 GifFile = DGifOpenFileHandle(FileHandle, Error); in DGifOpenFileName() 62 return GifFile; in DGifOpenFileName() 74 GifFileType *GifFile; in DGifOpenFileHandle() local 78 GifFile = (GifFileType *)malloc(sizeof(GifFileType)); in DGifOpenFileHandle() [all …]
|
D | egif_lib.c | 35 static int EGifPutWord(int Word, GifFileType * GifFile); 36 static int EGifSetupCompress(GifFileType * GifFile); 37 static int EGifCompressLine(GifFileType * GifFile, GifPixelType * Line, 39 static int EGifCompressOutput(GifFileType * GifFile, int Code); 40 static int EGifBufferedOutput(GifFileType * GifFile, GifByteType * Buf, 58 GifFileType *GifFile; in EGifOpenFileName() local 74 GifFile = EGifOpenFileHandle(FileHandle, Error); in EGifOpenFileName() 75 if (GifFile == (GifFileType *) NULL) in EGifOpenFileName() 77 return GifFile; in EGifOpenFileName() 90 GifFileType *GifFile; in EGifOpenFileHandle() local [all …]
|
D | gif_lib.h | 130 int EGifSpew(GifFileType * GifFile); 131 const char *EGifGetGifVersion(GifFileType *GifFile); /* new in 5.x */ 132 int EGifCloseFile(GifFileType *GifFile, int *ErrorCode); 147 int EGifPutScreenDesc(GifFileType *GifFile, 152 int EGifPutImageDesc(GifFileType *GifFile, 157 void EGifSetGifVersion(GifFileType *GifFile, const bool gif89); 158 int EGifPutLine(GifFileType *GifFile, GifPixelType *GifLine, 160 int EGifPutPixel(GifFileType *GifFile, const GifPixelType GifPixel); 161 int EGifPutComment(GifFileType *GifFile, const char *GifComment); 162 int EGifPutExtensionLeader(GifFileType *GifFile, const int GifExtCode); [all …]
|
D | gifalloc.c | 287 FreeLastSavedImage(GifFileType *GifFile) in FreeLastSavedImage() argument 291 if ((GifFile == NULL) || (GifFile->SavedImages == NULL)) in FreeLastSavedImage() 295 GifFile->ImageCount--; in FreeLastSavedImage() 296 sp = &GifFile->SavedImages[GifFile->ImageCount]; in FreeLastSavedImage() 323 GifMakeSavedImage(GifFileType *GifFile, const SavedImage *CopyFrom) in GifMakeSavedImage() argument 325 if (GifFile->SavedImages == NULL) in GifMakeSavedImage() 326 GifFile->SavedImages = (SavedImage *)malloc(sizeof(SavedImage)); in GifMakeSavedImage() 328 GifFile->SavedImages = (SavedImage *)reallocarray(GifFile->SavedImages, in GifMakeSavedImage() 329 (GifFile->ImageCount + 1), sizeof(SavedImage)); in GifMakeSavedImage() 331 if (GifFile->SavedImages == NULL) in GifMakeSavedImage() [all …]
|
/external/oss-fuzz/projects/giflib/ |
D | dgif_fuzz_common.cc | 22 GifFileType *GifFile; in fuzz_dgif() local 28 GifFile = DGifOpen((void *)&gUData, stub_input_reader, &Error); in fuzz_dgif() 29 if (GifFile != NULL) in fuzz_dgif() 31 DGifSlurp(GifFile); in fuzz_dgif() 32 DGifCloseFile(GifFile, &Error); in fuzz_dgif() 40 GifFileType *GifFile; in fuzz_dgif_extended() local 46 GifFile = DGifOpen((void *)&gUData, stub_input_reader, &Error); in fuzz_dgif_extended() 47 if (GifFile == NULL) in fuzz_dgif_extended() 52 if (DGifSlurp(GifFile) != GIF_OK) in fuzz_dgif_extended() 54 DGifCloseFile(GifFile, &Error); in fuzz_dgif_extended() [all …]
|
D | egif_fuzz_common.cc | 91 GifFileType *GifFile; in rgb_to_gif() local 104 GifFile = EGifOpen((void *)&gUData, stub_output_writer, &Error); in rgb_to_gif() 105 if (GifFile == NULL) in rgb_to_gif() 107 PrintGifError(GifFile->Error); in rgb_to_gif() 120 EGifSetGifVersion(GifFile, false); in rgb_to_gif() 131 …if (EGifPutScreenDesc(GifFile, GIF_IMAGE_WIDTH, height, color_map_size, 0, output_color_map) == GI… in rgb_to_gif() 133 PrintGifError(GifFile->Error); in rgb_to_gif() 136 EGifCloseFile(GifFile, &Error); in rgb_to_gif() 148 if (EGifPutImageDesc(GifFile, 0, 0, GIF_IMAGE_WIDTH, height, false, NULL) == GIF_ERROR) in rgb_to_gif() 150 PrintGifError(GifFile->Error); in rgb_to_gif() [all …]
|