Searched refs:to_bits (Results 1 – 1 of 1) sorted by relevance
949 unorm_to_unorm (uint32_t val, int from_bits, int to_bits) in unorm_to_unorm() argument959 if (from_bits >= to_bits) in unorm_to_unorm()960 return val >> (from_bits - to_bits); in unorm_to_unorm()963 result = val << (to_bits - from_bits); in unorm_to_unorm()973 if (from_bits < to_bits) \ in unorm_to_unorm()