MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / clampPositiveInteger

Function clampPositiveInteger

deps/bcd-1.1/src/core/MultiscaleDenoiser.cpp:468–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466 }
467
468 inline int clampPositiveInteger(int i_value, int i_maxValuePlusOne)
469 {
470 return (i_value <= 0 ? 0 : (i_value >= i_maxValuePlusOne ? i_maxValuePlusOne - 1 : i_value));
471 }
472
473 void MultiscaleDenoiser::interpolate(Deepimf& o_rInterpolatedImage, const Deepimf& i_rImage)
474 {

Callers 2

interpolateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected