MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / toColorSpaceUint8FromLinearFloatFast

Method toColorSpaceUint8FromLinearFloatFast

Engine/Lut.cpp:249–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247#endif // DEAD_CODE
248
249unsigned char
250Lut::toColorSpaceUint8FromLinearFloatFast(float v) const
251{
252 assert(init_);
253
254 return Color::uint8xxToChar(toFunc_hipart_to_uint8xx[hipart(v)]);
255}
256
257unsigned short
258Lut::toColorSpaceUint8xxFromLinearFloatFast(float v) const

Callers 1

Calls 2

uint8xxToCharFunction · 0.85
hipartFunction · 0.85

Tested by

no test coverage detected