Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CRVI/OpenCLIPP
/ CalculateStep
Function
CalculateStep
Bench/src/CImage.cpp:166–171 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
164
}
165
166
uint CalculateStep(uint W, uint C, uint D, uint Align)
167
{
168
size_t Bytes = W * D * C / 8;
169
align(Bytes, Align);
170
return (uint) Bytes;
171
}
Callers
1
Create
Method · 0.70
Calls
1
align
Function · 0.85
Tested by
no test coverage detected