MCPcopy 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
63static inline uint8_t scale_5bits_to_8bits(uint8_t v)
64{
65 assert(v < 32);
66 return (v << 3) | (v >> 2);
67}
68
69enum class ImageType
70{

Callers 2

read16AsRgbFunction · 0.85
readColormapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected