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

Function expandbits_

cmp_framework/common/hdr_encode.cpp:2103–2105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2101#define SP_ERRIDX_MAX 256
2102
2103int expandbits_(int bits, int v) {
2104 return (v << (8 - bits) | v >> (2 * bits - 8));
2105}
2106
2107
2108#ifndef USE_NEWRAMP

Callers 2

ep_dfFunction · 0.70
init_rampsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected