MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / stbi__psd_test

Function stbi__psd_test

Source/Utils/stb_image.h:6078–6083  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6076
6077#ifndef STBI_NO_PSD
6078static int stbi__psd_test(stbi__context *s)
6079{
6080 int r = (stbi__get32be(s) == 0x38425053);
6081 stbi__rewind(s);
6082 return r;
6083}
6084
6085static int stbi__psd_decode_rle(stbi__context *s, stbi_uc *p, int pixelCount)
6086{

Callers 1

stbi__load_mainFunction · 0.85

Calls 2

stbi__get32beFunction · 0.85
stbi__rewindFunction · 0.85

Tested by

no test coverage detected