Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c1400 int32_t index = 0, index_next = 0; in apply_lut_1d() local
1426 index_next = (index == max_lut_index) ? index : index+1; in apply_lut_1d()
1434 index_next = max_lut_index; in apply_lut_1d()
1440 lut2 = ramp->entries.red[index_next]; in apply_lut_1d()
1443 lut2 = ramp->entries.green[index_next]; in apply_lut_1d()
1446 lut2 = ramp->entries.blue[index_next]; in apply_lut_1d()
1591 int32_t index_next; in interpolate_user_regamma() local
1640 index_next = (index == 255) ? index : index + 1; in interpolate_user_regamma()
1644 lut2 = rgb_user[index_next].r; in interpolate_user_regamma()
1647 lut2 = rgb_user[index_next].g; in interpolate_user_regamma()
[all …]