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