Home
last modified time | relevance | path

Searched refs:bit_precision (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/
Ddrm_color_mgmt.c116 uint32_t drm_color_lut_extract(uint32_t user_input, uint32_t bit_precision) in drm_color_lut_extract() argument
119 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()
/Linux-v4.19/include/drm/
Ddrm_color_mgmt.h31 uint32_t drm_color_lut_extract(uint32_t user_input, uint32_t bit_precision);