Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastFlowLM/FastFlowLM
/ clamp
Function
clamp
src/include/image_process_utils/imageproc.hpp:25–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
23
}
24
25
inline int clamp(int x, int lo, int hi) {
26
return std::max(lo, std::min(x, hi));
27
}
28
29
inline float gaussian(float x, float sigma) {
30
if (sigma <= 0.0f) return 1.0f;
Callers
4
resize_bicubic_plane_avx512
Function · 0.85
resize_bicubic_plane
Function · 0.85
resize_bicubic_antialias_rgb_planar
Function · 0.85
convert_float_to_uint8_avx512
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected