Searched refs:max_os (Results 1 – 1 of 1) sorted by relevance
1178 const struct fixed31_32 max_os = dc_fixpt_from_int(0xFF00); in scale_gamma() local1179 struct fixed31_32 scaler = max_os; in scale_gamma()1187 if (dc_fixpt_lt(max_os, ramp->entries.red[i]) || in scale_gamma()1188 dc_fixpt_lt(max_os, ramp->entries.green[i]) || in scale_gamma()1189 dc_fixpt_lt(max_os, ramp->entries.blue[i])) { in scale_gamma()1309 unsigned short max_os = 0xFF00; in scale_user_regamma_ramp() local1310 unsigned short scaler = max_os; in scale_user_regamma_ramp()1317 if (ramp->gamma[i] > max_os || in scale_user_regamma_ramp()1318 ramp->gamma[i + 256] > max_os || in scale_user_regamma_ramp()1319 ramp->gamma[i + 512] > max_os) { in scale_user_regamma_ramp()