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

Function stbi__get8

include/stb/stb_image.h:1614–1623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1612}
1613
1614stbi_inline static stbi_uc stbi__get8(stbi__context *s)
1615{
1616 if (s->img_buffer < s->img_buffer_end)
1617 return *s->img_buffer++;
1618 if (s->read_from_callbacks) {
1619 stbi__refill_buffer(s);
1620 return *s->img_buffer++;
1621 }
1622 return 0;
1623}
1624
1625#if defined(STBI_NO_JPEG) && defined(STBI_NO_HDR) && defined(STBI_NO_PIC) && defined(STBI_NO_PNM)
1626// nothing

Callers 15

stbi__get16beFunction · 0.85
stbi__get16leFunction · 0.85
stbi__grow_buffer_unsafeFunction · 0.85
stbi__get_markerFunction · 0.85
stbi__process_markerFunction · 0.85
stbi__check_png_headerFunction · 0.85
stbi__parse_png_fileFunction · 0.85
stbi__bmp_test_rawFunction · 0.85
stbi__bmp_parse_headerFunction · 0.85

Calls 1

stbi__refill_bufferFunction · 0.85

Tested by

no test coverage detected