Home
last modified time | relevance | path

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

/external/giflib/
Dgif_lib.h71 typedef struct GifFileType { struct
85 } GifFileType; argument
98 typedef int (*InputFunc) (GifFileType *, GifByteType *, int);
103 typedef int (*OutputFunc) (GifFileType *, const GifByteType *, int);
126 GifFileType *EGifOpenFileName(const char *GifFileName,
128 GifFileType *EGifOpenFileHandle(const int GifFileHandle, int *Error);
129 GifFileType *EGifOpen(void *userPtr, OutputFunc writeFunc, int *Error);
130 int EGifSpew(GifFileType * GifFile);
131 const char *EGifGetGifVersion(GifFileType *GifFile); /* new in 5.x */
132 int EGifCloseFile(GifFileType *GifFile, int *ErrorCode);
[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()
70 GifFileType *
74 GifFileType *GifFile; in DGifOpenFileHandle()
78 GifFile = (GifFileType *)malloc(sizeof(GifFileType)); in DGifOpenFileHandle()
[all …]
Dgifalloc.c287 FreeLastSavedImage(GifFileType *GifFile) in FreeLastSavedImage()
323 GifMakeSavedImage(GifFileType *GifFile, const SavedImage *CopyFrom) in GifMakeSavedImage()
389 GifFreeSavedImages(GifFileType *GifFile) in GifFreeSavedImages()
/external/skia/src/codec/
DSkGifCodec.h13 struct GifFileType;
54 GifFileType** gifOut);
84 static Result ReadUpToFirstImage(GifFileType* gif, uint32_t* transIndex);
99 static bool GetDimensions(GifFileType* gif, SkISize* size, SkIRect* frameRect);
172 static void CloseGif(GifFileType* gif);
191 SkGifCodec(const SkImageInfo& srcInfo, SkStream* stream, GifFileType* gif, uint32_t transIndex,
194 SkAutoTCallVProc<GifFileType, CloseGif> fGif; // owned
DSkGifCodec.cpp45 static int32_t read_bytes_callback(GifFileType* fileType, GifByteType* out, int32_t size) { in read_bytes_callback()
53 static GifFileType* open_gif(SkStream* stream) { in open_gif()
125 void SkGifCodec::CloseGif(GifFileType* gif) { in CloseGif()
166 bool SkGifCodec::ReadHeader(SkStream* stream, SkCodec** codecOut, GifFileType** gifOut) { in ReadHeader()
170 SkAutoTCallVProc<GifFileType, CloseGif> gif(open_gif(stream)); in ReadHeader()
242 SkGifCodec::SkGifCodec(const SkImageInfo& srcInfo, SkStream* stream, GifFileType* gif, in SkGifCodec()
261 GifFileType* gifOut = nullptr; in onRewind()
271 SkCodec::Result SkGifCodec::ReadUpToFirstImage(GifFileType* gif, uint32_t* transIndex) {
362 bool SkGifCodec::GetDimensions(GifFileType* gif, SkISize* size, SkIRect* frameRect) {
/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, nullptr);
253 SkAutoTCallIProc<GifFileType, close_gif> acp(gif);
DSkMovie_gif.cpp34 GifFileType* fGIF;
41 static int Decode(GifFileType* fileType, GifByteType* out, int size) { in Decode()
347 const GifFileType* gif = fGIF; in onGetBitmap()