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

Function stbi__float_postprocess

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

Source from the content-addressed store, hash-verified

1335
1336#if !defined(STBI_NO_HDR) && !defined(STBI_NO_LINEAR)
1337static void stbi__float_postprocess(
1338 float* result, int* x, int* y, int* comp, int req_comp) {
1339 if (stbi__vertically_flip_on_load && result != NULL) {
1340 int channels = req_comp ? req_comp : *comp;
1341 stbi__vertical_flip(result, *x, *y, channels * sizeof(float));
1342 }
1343}
1344#endif
1345
1346#ifndef STBI_NO_STDIO

Callers 1

stbi__loadf_mainFunction · 0.85

Calls 1

stbi__vertical_flipFunction · 0.85

Tested by

no test coverage detected