Searched refs:bit_precision (Results 1 – 2 of 2) sorted by relevance
116 uint32_t drm_color_lut_extract(uint32_t user_input, uint32_t bit_precision) in drm_color_lut_extract() argument119 uint32_t max = 0xffff >> (16 - bit_precision); in drm_color_lut_extract()122 if (bit_precision < 16) { in drm_color_lut_extract()123 val += 1UL << (16 - bit_precision - 1); in drm_color_lut_extract()124 val >>= 16 - bit_precision; in drm_color_lut_extract()
31 uint32_t drm_color_lut_extract(uint32_t user_input, uint32_t bit_precision);