Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IENT/YUView
/ scale_5bits_to_8bits
Function
scale_5bits_to_8bits
YUViewLib/src/decoder/decoderTarga.cpp:63–67 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
61
}
62
63
static inline uint8_t scale_5bits_to_8bits(uint8_t v)
64
{
65
assert(v < 32);
66
return (v << 3) | (v >> 2);
67
}
68
69
enum class ImageType
70
{
Callers
2
read16AsRgb
Function · 0.85
readColormap
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected