MCPcopy Create free account
hub / github.com/GPUOpen-Tools/compressonator / ep_df

Function ep_df

cmp_framework/common/hdr_encode.cpp:2112–2114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2110float ramp[3][4][SP_ERRIDX_MAX][SP_ERRIDX_MAX][16];
2111#else
2112float ep_df(int bits, int p1) {
2113 return (float)expandbits_(bits + BIT_BASE, p1);
2114}
2115
2116float rampf(int clog, int bits, int p1, int p2, int i) {
2117 // (clog+ LOG_CL_BASE) starts from 2 to 4

Callers 2

rampfFunction · 0.85
ep_find_floorFunction · 0.85

Calls 1

expandbits_Function · 0.70

Tested by

no test coverage detected