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

Function stbi__psd_test

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

Source from the content-addressed store, hash-verified

6692
6693#ifndef STBI_NO_PSD
6694static int stbi__psd_test(stbi__context* s) {
6695 int r = (stbi__get32be(s) == 0x38425053);
6696 stbi__rewind(s);
6697 return r;
6698}
6699
6700static int stbi__psd_decode_rle(stbi__context* s, stbi_uc* p, int pixelCount) {
6701 int count, nleft, len;

Callers 1

stbi__load_mainFunction · 0.85

Calls 2

stbi__get32beFunction · 0.85
stbi__rewindFunction · 0.85

Tested by

no test coverage detected