MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / stbi__get8

Function stbi__get8

lite/example/cpp_example/mge/cv/stb_image.h:1648–1656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1646}
1647
1648stbi_inline static stbi_uc stbi__get8(stbi__context* s) {
1649 if (s->img_buffer < s->img_buffer_end)
1650 return *s->img_buffer++;
1651 if (s->read_from_callbacks) {
1652 stbi__refill_buffer(s);
1653 return *s->img_buffer++;
1654 }
1655 return 0;
1656}
1657
1658#if defined(STBI_NO_JPEG) && defined(STBI_NO_HDR) && defined(STBI_NO_PIC) && \
1659 defined(STBI_NO_PNM)

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__decode_jpeg_imageFunction · 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