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

Function stbi__pic_test_core

include/stb/stb_image.h:6346–6360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6344}
6345
6346static int stbi__pic_test_core(stbi__context *s)
6347{
6348 int i;
6349
6350 if (!stbi__pic_is4(s,"\x53\x80\xF6\x34"))
6351 return 0;
6352
6353 for(i=0;i<84;++i)
6354 stbi__get8(s);
6355
6356 if (!stbi__pic_is4(s,"PICT"))
6357 return 0;
6358
6359 return 1;
6360}
6361
6362typedef struct
6363{

Callers 1

stbi__pic_testFunction · 0.85

Calls 2

stbi__pic_is4Function · 0.85
stbi__get8Function · 0.85

Tested by

no test coverage detected