Home
last modified time | relevance | path

Searched refs:ExtensionBlocks (Results 1 – 7 of 7) sorted by relevance

/external/giflib/
Dgifalloc.c257 if (New->ExtensionBlocks == NULL) in AddExtensionBlock()
258 New->ExtensionBlocks=(ExtensionBlock *)malloc(sizeof(ExtensionBlock)); in AddExtensionBlock()
260 New->ExtensionBlocks = (ExtensionBlock *)realloc(New->ExtensionBlocks, in AddExtensionBlock()
264 if (New->ExtensionBlocks == NULL) in AddExtensionBlock()
267 ep = &New->ExtensionBlocks[New->ExtensionBlockCount++]; in AddExtensionBlock()
287 if ((Image == NULL) || (Image->ExtensionBlocks == NULL)) { in FreeExtension()
290 for (ep = Image->ExtensionBlocks; in FreeExtension()
291 ep < (Image->ExtensionBlocks + Image->ExtensionBlockCount); ep++) in FreeExtension()
293 free((char *)Image->ExtensionBlocks); in FreeExtension()
294 Image->ExtensionBlocks = NULL; in FreeExtension()
[all …]
Ddgif_lib.c411 sp->ExtensionBlocks = (ExtensionBlock *) NULL; in DGifGetImageDesc()
1027 temp_save.ExtensionBlocks = NULL;
1050 if (temp_save.ExtensionBlocks) {
1051 sp->ExtensionBlocks = temp_save.ExtensionBlocks;
1054 temp_save.ExtensionBlocks = NULL;
1060 sp->Function = sp->ExtensionBlocks[0].Function;
1093 if (temp_save.ExtensionBlocks)
Dgif_lib.h292 ExtensionBlock *ExtensionBlocks; /* on malloc(3) heap */ member
/external/skia/src/images/
DSkImageDecoder_libgif.cpp101 if (Image->ExtensionBlocks) { in CheckFreeExtension()
105 GifFreeExtensions(&Image->ExtensionBlockCount, &Image->ExtensionBlocks); in CheckFreeExtension()
133 const ExtensionBlock* eb = image.ExtensionBlocks + i; in find_transpIndex()
170 temp_save.ExtensionBlocks=NULL;
334 &gif->ExtensionBlocks,
DSkMovie_gif.cpp70 if (image->ExtensionBlocks[j].Function == GRAPHICS_EXT_FUNC_CODE) in savedimage_duration()
72 int size = image->ExtensionBlocks[j].ByteCount; in savedimage_duration()
74 const uint8_t* b = (const uint8_t*)image->ExtensionBlocks[j].Bytes; in savedimage_duration()
228 ExtensionBlock* eb = frame->ExtensionBlocks + i; in drawFrame()
258 ExtensionBlock* eb = frame->ExtensionBlocks + i; in checkIfWillBeCleared()
276 ExtensionBlock* eb = frame->ExtensionBlocks + i; in getTransparencyAndDisposalMethod()
/external/skia/legacy/src/images/
DSkMovie_gif.cpp66 if (image->ExtensionBlocks[j].Function == GRAPHICS_EXT_FUNC_CODE) in savedimage_duration()
68 int size = image->ExtensionBlocks[j].ByteCount; in savedimage_duration()
70 const uint8_t* b = (const uint8_t*)image->ExtensionBlocks[j].Bytes; in savedimage_duration()
224 ExtensionBlock* eb = frame->ExtensionBlocks + i; in drawFrame()
254 ExtensionBlock* eb = frame->ExtensionBlocks + i; in checkIfWillBeCleared()
272 ExtensionBlock* eb = frame->ExtensionBlocks + i; in getTransparencyAndDisposalMethod()
DSkImageDecoder_libgif.cpp101 if (Image->ExtensionBlocks) { in CheckFreeExtension()
129 const ExtensionBlock* eb = image.ExtensionBlocks + i; in find_transpIndex()
162 temp_save.ExtensionBlocks=NULL; in onDecode()