Home
last modified time | relevance | path

Searched refs:GifByteType (Results 1 – 11 of 11) sorted by relevance

/external/giflib/
Dgif_lib.h32 typedef unsigned char GifByteType; typedef
37 GifByteType Red, Green, Blue;
55 GifByteType *Bytes; /* on malloc(3) heap */
66 GifByteType *RasterBits; /* on malloc(3) heap */
75 GifByteType AspectByte; /* Used to compute pixel aspect ratio */
98 typedef int (*InputFunc) (GifFileType *, GifByteType *, int);
103 typedef int (*OutputFunc) (GifFileType *, const GifByteType *, int);
170 const GifByteType *GifCodeBlock);
172 const GifByteType *GifCodeBlock);
208 GifByteType **GifExtension);
[all …]
Ddgif_lib.c41 static int DGifBufferedInput(GifFileType *GifFile, GifByteType *Buf,
42 GifByteType *NextByte);
240 GifByteType Buf[3]; in DGifGetScreenDesc()
301 GifByteType Buf; in DGifGetRecordType()
343 GifByteType Buf[3]; in DGifGetImageDesc()
444 GifByteType *Dummy; in DGifGetLine()
484 GifByteType *Dummy; in DGifGetPixel()
523 DGifGetExtension(GifFileType *GifFile, int *ExtCode, GifByteType **Extension) in DGifGetExtension()
525 GifByteType Buf; in DGifGetExtension()
550 DGifGetExtensionNext(GifFileType *GifFile, GifByteType ** Extension) in DGifGetExtensionNext()
[all …]
Dgif_lib_private.h49 GifByteType Buf[256]; /* Compressed input is buffered here. */
50 GifByteType Stack[LZ_MAX_CODE]; /* Decoded pixels are stacked here. */
51 GifByteType Suffix[LZ_MAX_CODE + 1]; /* So we can trace the codes. */
Degif_lib.c40 static int EGifBufferedOutput(GifFileType * GifFile, GifByteType * Buf,
272 GifByteType Buf[3]; in EGifPutScreenDesc()
366 GifByteType Buf[3]; in EGifPutImageDesc()
550 GifByteType Buf[3]; in EGifPutExtensionLeader()
574 GifByteType Buf; in EGifPutExtensionBlock()
596 GifByteType Buf; in EGifPutExtensionTrailer()
624 GifByteType Buf[3]; in EGifPutExtension()
634 InternalWrite(GifFile, (GifByteType *)&ExtLen, 1); in EGifPutExtension()
653 GifByteType *GifExtension) in EGifGCBToExtension()
674 GifByteType buf[sizeof(GraphicsControlBlock)]; /* a bit dodgy... */ in EGifGCBToSavedExtension()
[all …]
Dquantize.c28 GifByteType RGB[3];
29 GifByteType NewColorIndex;
35 GifByteType RGBMin[3], RGBWidth[3];
62 GifByteType * RedInput, in GifQuantizeBuffer()
63 GifByteType * GreenInput, in GifQuantizeBuffer()
64 GifByteType * BlueInput, in GifQuantizeBuffer()
65 GifByteType * OutputBuffer, in GifQuantizeBuffer()
Dgifalloc.c250 ep->Bytes = (GifByteType *)malloc(ep->ByteCount); in GifAddExtensionBlock()
/external/oss-fuzz/projects/giflib/
Degif_fuzz_common.cc42 GifByteType *mem = (GifByteType *)malloc(sizeof(GifByteType) * height * GIF_IMAGE_WIDTH * 3); in rgb_to_gif()
49 GifByteType *red_buf = mem; in rgb_to_gif()
50 GifByteType *green_buf = mem + (GIF_IMAGE_WIDTH * height); in rgb_to_gif()
51 GifByteType *blue_buf = mem + (GIF_IMAGE_WIDTH * height * 2); in rgb_to_gif()
69 size_t out_size = sizeof(GifByteType) * GIF_IMAGE_WIDTH * height; in rgb_to_gif()
70 GifByteType *output_buf = (GifByteType *)malloc(out_size); in rgb_to_gif()
158 GifByteType *output_bufp = output_buf; in rgb_to_gif()
Degif_fuzz_common.h15 int *ColorMapSize, GifByteType * RedInput,
16 GifByteType * GreenInput, GifByteType * BlueInput,
17 GifByteType * OutputBuffer,
20 int stub_output_writer(GifFileType *gifFileType, GifByteType *gifByteType, int len);
Ddgif_fuzz_common.h17 int stub_input_reader(GifFileType *gifFileType, GifByteType *gifByteType, int len);
Ddgif_fuzz_common.cc8 int stub_input_reader(GifFileType *gifFileType, GifByteType *gifByteType, int len) in stub_input_reader()
/external/tensorflow/tensorflow/core/lib/gif/
Dgif_io.cc37 int input_callback(GifFileType* gif_file, GifByteType* buf, int size) { in input_callback()
171 GifByteType color_index = in Decode()