Home | History | Annotate | Download | only in src

Lines Matching refs:map

28 } map[] = {
60 ot_weight = FC_MIN (ot_weight, map[(sizeof (map) / sizeof (map[0])) - 1].ot);
62 for (i = 1; ot_weight > map[i].ot; i++)
65 if (ot_weight == map[i].ot)
66 return map[i].fc;
69 return lerp (ot_weight, map[i-1].ot, map[i].ot, map[i-1].fc, map[i].fc);
79 for (i = 1; fc_weight > map[i].fc; i++)
82 if (fc_weight == map[i].fc)
83 return map[i].ot;
86 return lerp (fc_weight, map[i-1].fc, map[i].fc, map[i-1].ot, map[i].ot);