MCPcopy Create free account
hub / github.com/RenderKit/embree / applyLut

Function applyLut

tutorials/common/image/tinyexr.h:3149–3152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3147} // i.e. number of ones in bitmap minus 1
3148
3149static void applyLut(const unsigned short lut[USHORT_RANGE],
3150 unsigned short data[/*nData*/], int nData) {
3151 for (int i = 0; i < nData; ++i) data[i] = lut[data[i]];
3152}
3153
3154#ifdef __clang__
3155#pragma clang diagnostic pop

Callers 2

CompressPizFunction · 0.85
DecompressPizFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected