Home | History | Annotate | Download | only in gregbook

Lines Matching full:yidx

1083     int xidx, yidx, yidx_max;
1128 yidx = (int)(row % bgscale);
1131 r1 = r1_min + (r1_diff * yidx) / yidx_max;
1132 g1 = g1_min + (g1_diff * yidx) / yidx_max;
1133 b1 = b1_min + (b1_diff * yidx) / yidx_max;
1134 r1_inv = r1_min + (r1_diff * (yidx_max-yidx)) / yidx_max;
1135 g1_inv = g1_min + (g1_diff * (yidx_max-yidx)) / yidx_max;
1136 b1_inv = b1_min + (b1_diff * (yidx_max-yidx)) / yidx_max;
1138 r2 = r2_min + (r2_diff * yidx) / yidx_max;
1139 g2 = g2_min + (g2_diff * yidx) / yidx_max;
1140 b2 = b2_min + (b2_diff * yidx) / yidx_max;
1141 r2_inv = r2_min + (r2_diff * (yidx_max-yidx)) / yidx_max;
1142 g2_inv = g2_min + (g2_diff * (yidx_max-yidx)) / yidx_max;
1143 b2_inv = b2_min + (b2_diff * (yidx_max-yidx)) / yidx_max;
1195 yidx = (int)(row % bgscale);
1196 if (yidx > hmax)
1197 yidx = bgscale-1 - yidx;
1203 k = xidx + yidx;
1870 int xidx, yidx, yidx_max;
1900 yidx = (int)(row % bgscale);
1903 r1 = r1_min + (r1_diff * yidx) / yidx_max;
1904 g1 = g1_min + (g1_diff * yidx) / yidx_max;
1905 b1 = b1_min + (b1_diff * yidx) / yidx_max;
1906 r1_inv = r1_min + (r1_diff * (yidx_max-yidx)) / yidx_max;
1907 g1_inv = g1_min + (g1_diff * (yidx_max-yidx)) / yidx_max;
1908 b1_inv = b1_min + (b1_diff * (yidx_max-yidx)) / yidx_max;
1910 r2 = r2_min + (r2_diff * yidx) / yidx_max;
1911 g2 = g2_min + (g2_diff * yidx) / yidx_max;
1912 b2 = b2_min + (b2_diff * yidx) / yidx_max;
1913 r2_inv = r2_min + (r2_diff * (yidx_max-yidx)) / yidx_max;
1914 g2_inv = g2_min + (g2_diff * (yidx_max-yidx)) / yidx_max;
1915 b2_inv = b2_min + (b2_diff * (yidx_max-yidx)) / yidx_max;
1967 yidx = (int)(row % bgscale);
1968 if (yidx > hmax)
1969 yidx = bgscale-1 - yidx;
1975 k = xidx + yidx;