Lines Matching refs:multiplier
56 double multiplier = 0.0; in translate_white_balance() local
62 multiplier = (double)(1 << (16 - interger_bits)); in translate_white_balance()
64 to.gr = (uint32_t)(from.gr_gain * multiplier + 0.5); in translate_white_balance()
65 to.r = (uint32_t)(from.r_gain * multiplier + 0.5); in translate_white_balance()
66 to.b = (uint32_t)(from.b_gain * multiplier + 0.5); in translate_white_balance()
67 to.gb = (uint32_t)(from.gb_gain * multiplier + 0.5); in translate_white_balance()
76 double multiplier = (double)(1 << 16); in translate_black_level() local
79 to.level_gr = (uint32_t)(from.gr_level * multiplier + 0.5); in translate_black_level()
80 to.level_r = (uint32_t)(from.r_level * multiplier + 0.5); in translate_black_level()
81 to.level_b = (uint32_t)(from.b_level * multiplier + 0.5); in translate_black_level()
82 to.level_gb = (uint32_t)(from.gb_level * multiplier + 0.5); in translate_black_level()
93 double multiplier = 0.0; in translate_color_matrix() local
109 multiplier = (double)(1 << (13 - interger_bits)); in translate_color_matrix()
111 to.matrix[i] = (int32_t)(from.matrix [i] * multiplier); in translate_color_matrix()