Searched refs:bit_precision (Results 1 – 4 of 4) sorted by relevance
41 static inline u32 drm_color_lut_extract(u32 user_input, int bit_precision) in drm_color_lut_extract() argument44 u32 max = 0xffff >> (16 - bit_precision); in drm_color_lut_extract()47 if (bit_precision < 16) { in drm_color_lut_extract()48 val += 1UL << (16 - bit_precision - 1); in drm_color_lut_extract()49 val >>= 16 - bit_precision; in drm_color_lut_extract()
23 u32 gamma_mode, u32 bit_precision);
393 static u32 intel_color_lut_pack(u32 val, int bit_precision) in intel_color_lut_pack() argument395 u32 max = 0xffff >> (16 - bit_precision); in intel_color_lut_pack()399 if (bit_precision < 16) in intel_color_lut_pack()400 val <<= 16 - bit_precision; in intel_color_lut_pack()1749 u32 gamma_mode, u32 bit_precision) in intel_color_lut_equal() argument1771 err = 0xffff >> bit_precision; in intel_color_lut_equal()
7572 #define PIPE_CONF_CHECK_COLOR_LUT(name1, name2, bit_precision) do { \ in intel_pipe_config_compare() argument7582 bit_precision)) { \ in intel_pipe_config_compare()
Completed in 27 milliseconds