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

Function stbi__float_postprocess

Source/Utils/stb_image.h:1313–1319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1311
1312#if !defined(STBI_NO_HDR) && !defined(STBI_NO_LINEAR)
1313static void stbi__float_postprocess(float *result, int *x, int *y, int *comp, int req_comp)
1314{
1315 if (stbi__vertically_flip_on_load && result != NULL) {
1316 int channels = req_comp ? req_comp : *comp;
1317 stbi__vertical_flip(result, *x, *y, channels * sizeof(float));
1318 }
1319}
1320#endif
1321
1322#ifndef STBI_NO_STDIO

Callers 1

stbi__loadf_mainFunction · 0.85

Calls 1

stbi__vertical_flipFunction · 0.85

Tested by

no test coverage detected