Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
2103
int expandbits_(int bits, int v) {
2104
return (v << (8 - bits) | v >> (2 * bits - 8));
2105
}
2106
2107
2108
#ifndef USE_NEWRAMP
Callers
2
ep_df
Function · 0.70
init_ramps
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected