MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / stbi_load_gif_from_memory

Function stbi_load_gif_from_memory

include/stb/stb_image.h:1444–1456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1442
1443#ifndef STBI_NO_GIF
1444STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp)
1445{
1446 unsigned char *result;
1447 stbi__context s;
1448 stbi__start_mem(&s,buffer,len);
1449
1450 result = (unsigned char*) stbi__load_gif_main(&s, delays, x, y, z, comp, req_comp);
1451 if (stbi__vertically_flip_on_load) {
1452 stbi__vertical_flip_slices( result, *x, *y, *z, *comp );
1453 }
1454
1455 return result;
1456}
1457#endif
1458
1459#ifndef STBI_NO_LINEAR

Callers

nothing calls this directly

Calls 3

stbi__start_memFunction · 0.85
stbi__load_gif_mainFunction · 0.85

Tested by

no test coverage detected