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

Function stbi__png_test

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

Source from the content-addressed store, hash-verified

5838}
5839
5840static int stbi__png_test(stbi__context* s) {
5841 int r;
5842 r = stbi__check_png_header(s);
5843 stbi__rewind(s);
5844 return r;
5845}
5846
5847static int stbi__png_info_raw(stbi__png* p, int* x, int* y, int* comp) {
5848 if (!stbi__parse_png_file(p, STBI__SCAN_header, 0)) {

Callers 1

stbi__load_mainFunction · 0.85

Calls 2

stbi__check_png_headerFunction · 0.85
stbi__rewindFunction · 0.85

Tested by

no test coverage detected