Searched refs:bit_precision (Results 1 – 2 of 2) sorted by relevance
120 uint32_t drm_color_lut_extract(uint32_t user_input, uint32_t bit_precision) in drm_color_lut_extract() argument123 uint32_t max = 0xffff >> (16 - bit_precision); in drm_color_lut_extract()126 if (bit_precision < 16) { in drm_color_lut_extract()127 val += 1UL << (16 - bit_precision - 1); in drm_color_lut_extract()128 val >>= 16 - bit_precision; in drm_color_lut_extract()
32 uint32_t drm_color_lut_extract(uint32_t user_input, uint32_t bit_precision);