MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / ApplyMax

Function ApplyMax

src/OpenColorIO/ops/log/LogOpCPU.cpp:370–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370inline void ApplyMax(float * pix, float minValue)
371{
372 pix[0] = std::max(minValue, pix[0]);
373 pix[1] = std::max(minValue, pix[1]);
374 pix[2] = std::max(minValue, pix[2]);
375}
376
377inline void ApplyLog2(float * pix)
378{

Callers 1

applyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected