Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/
Ddrm_color_mgmt.c120 uint32_t drm_color_lut_extract(uint32_t user_input, uint32_t bit_precision) in drm_color_lut_extract() argument
123 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()
/Linux-v5.4/include/drm/
Ddrm_color_mgmt.h32 uint32_t drm_color_lut_extract(uint32_t user_input, uint32_t bit_precision);