View | Details | Raw Unified
Collapse All | Expand All

(-) file_not_specified_in_diff (-2 / +2 lines)
 Lines 461-473    Link Here 
}
}
template<>
template<>
static inline float scale_to_range(int v)
inline float scale_to_range(int v)
{
{
	return (float) v / 0xff;
	return (float) v / 0xff;
}
}
template<>
template<>
static inline uint16_t scale_to_range(int v)
inline uint16_t scale_to_range(int v)
{
{
	return v << 8 | v;
	return v << 8 | v;
}
}