MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / stbi__float_postprocess

Function stbi__float_postprocess

Source/ThirdParty/stb_image.h:1314–1320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

stbi__loadf_mainFunction · 0.85

Calls 1

stbi__vertical_flipFunction · 0.85

Tested by

no test coverage detected