Searched refs:i_l (Results 1 - 1 of 1) sorted by relevance

/xsrc/external/mit/xf86-video-amdgpu/dist/src/
H A Ddrmmode_display.c775 uint32_t i_l, i_r, i; local in function:drmmode_lut_compose
815 /* i_l and i_r tracks the left and right elements in
817 * element edge case, when i_l = i_amax.
819 i_l = i * i_amax / i_bmax;
820 i_r = i_l + !!(i_amax - i_l);
823 * where sample i is between i_l and i_r. We keep it
826 coeff_ibmax = (i * i_amax) - (i_l * i_bmax);
827 a_out_ibmax = i_bmax * a[i_l] +
828 coeff_ibmax * (a[i_r] - a[i_l]);
859 uint32_t i_l, i_r, i; local in function:drmmode_lut_interpolate
[all...]

Completed in 4 milliseconds