Home
last modified time | relevance | path

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

/external/giflib/
Dgif_lib.h70 typedef struct GifFileType { struct
84 } GifFileType; argument
97 typedef int (*InputFunc) (GifFileType *, GifByteType *, int);
102 typedef int (*OutputFunc) (GifFileType *, const GifByteType *, int);
125 GifFileType *EGifOpenFileName(const char *GifFileName,
127 GifFileType *EGifOpenFileHandle(const int GifFileHandle, int *Error);
128 GifFileType *EGifOpen(void *userPtr, OutputFunc writeFunc, int *Error);
129 int EGifSpew(GifFileType * GifFile);
130 char *EGifGetGifVersion(GifFileType *GifFile); /* new in 5.x */
131 int EGifCloseFile(GifFileType * GifFile);
[all …]
Degif_lib.c35 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,
53 GifFileType *
58 GifFileType *GifFile; in EGifOpenFileName()
75 if (GifFile == (GifFileType *) NULL) in EGifOpenFileName()
87 GifFileType *
90 GifFileType *GifFile; in EGifOpenFileHandle()
[all …]
Ddgif_lib.c35 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,
49 GifFileType *
53 GifFileType *GifFile; in DGifOpenFileName()
71 GifFileType *
75 GifFileType *GifFile; in DGifOpenFileHandle()
79 GifFile = (GifFileType *)malloc(sizeof(GifFileType)); in DGifOpenFileHandle()
[all …]
Dgifalloc.c276 FreeLastSavedImage(GifFileType *GifFile) in FreeLastSavedImage()
312 GifMakeSavedImage(GifFileType *GifFile, const SavedImage *CopyFrom) in GifMakeSavedImage()
379 GifFreeSavedImages(GifFileType *GifFile) in GifFreeSavedImages()
/external/skia/src/codec/
DSkCodec_libgif.h55 static bool ReadHeader(SkStream* stream, SkCodec** codecOut, GifFileType** gifOut);
73 static void CloseGif(GifFileType* gif);
90 SkGifCodec(const SkImageInfo& srcInfo, SkStream* stream, GifFileType* gif);
92 SkAutoTCallVProc<GifFileType, CloseGif> fGif; // owned
DSkCodec_libgif.cpp52 static int32_t read_bytes_callback(GifFileType* fileType, GifByteType* out, in read_bytes_callback()
61 static GifFileType* open_gif(SkStream* stream) { in open_gif()
73 void SkGifCodec::CloseGif(GifFileType* gif) { in CloseGif()
152 bool SkGifCodec::ReadHeader(SkStream* stream, SkCodec** codecOut, GifFileType** gifOut) { in ReadHeader()
156 SkAutoTCallVProc<GifFileType, CloseGif> gif(open_gif(stream)); in ReadHeader()
208 GifFileType* gif) in SkGifCodec()
250 GifFileType* gifOut = NULL;
/external/skia/src/images/
DSkImageDecoder_libgif.cpp101 static int DecodeCallBackProc(GifFileType* fileType, GifByteType* out, in DecodeCallBackProc()
118 static const ColorMapObject* find_colormap(const GifFileType* gif) { in find_colormap()
180 static bool skip_src_rows(GifFileType* gif, uint8_t* dst, int width, int rowsToSkip) { in skip_src_rows()
234 int close_gif(GifFileType* gif) { in close_gif()
245 GifFileType* gif = DGifOpen(sk_stream, DecodeCallBackProc);
247 GifFileType* gif = DGifOpen(sk_stream, DecodeCallBackProc, NULL);
253 SkAutoTCallIProc<GifFileType, close_gif> acp(gif);
DSkMovie_gif.cpp34 GifFileType* fGIF;
40 static int Decode(GifFileType* fileType, GifByteType* out, int size) { in Decode()
345 const GifFileType* gif = fGIF; in onGetBitmap()