MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / stbi__float_postprocess

Function stbi__float_postprocess

common/stb_image.h:1276–1281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1274
1275#if !defined(STBI_NO_HDR) && !defined(STBI_NO_LINEAR)
1276static void stbi__float_postprocess(float * result, int * x, int * y, int * comp, int req_comp) {
1277 if (stbi__vertically_flip_on_load && result != NULL) {
1278 int channels = req_comp ? req_comp : *comp;
1279 stbi__vertical_flip(result, *x, *y, channels * sizeof(float));
1280 }
1281}
1282#endif
1283
1284#ifndef STBI_NO_STDIO

Callers 1

stbi__loadf_mainFunction · 0.85

Calls 1

stbi__vertical_flipFunction · 0.85

Tested by

no test coverage detected