Home | History | Annotate | Download | only in test

Lines Matching refs:Fa

1038 #define mult_chan(src, dst, Fa, Fb) MIN ((src) * (Fa) + (dst) * (Fb), 1.0)
1040 double Fa, Fb;
1092 Fa = 1.0;
1094 Fa = MIN (1.0, (1.0 - dsta) / srca);
1095 return mult_chan (src, dst, Fa, 1.0);
1106 Fa = 0.0;
1108 Fa = MAX (0.0, 1.0 - (1.0 - dsta) / srca);
1109 return mult_chan (src, dst, Fa, 0.0);
1120 Fa = 1.0;
1122 Fa = MIN (1.0, (1.0 - dsta) / srca);
1123 return mult_chan (src, dst, Fa, 0.0);
1134 Fa = 0.0;
1136 Fa = MAX (0.0, 1.0 - (1.0 - dsta) / srca);
1141 return mult_chan (src, dst, Fa, Fb);
1145 Fa = 1.0;
1147 Fa = MIN (1.0, (1.0 - dsta) / srca);
1152 return mult_chan (src, dst, Fa, Fb);
1156 Fa = 1.0;
1158 Fa = MIN (1.0, (1.0 - dsta) / srca);
1163 return mult_chan (src, dst, Fa, Fb);
1174 Fa = 0.0;
1176 Fa = MAX (0.0, 1.0 - dsta / srca);
1177 return mult_chan (src, dst, Fa, 1.0);
1181 Fa = 1.0;
1183 Fa = MIN (1.0, dsta / srca);
1184 return mult_chan (src, dst, Fa, 0.0);
1195 Fa = 0.0;
1197 Fa = MAX (0.0, 1.0 - dsta / srca);
1198 return mult_chan (src, dst, Fa, 0.0);
1209 Fa = 1.0;
1211 Fa = MIN (1.0, dsta / srca);
1216 return mult_chan (src, dst, Fa, Fb);
1220 Fa = 0.0;
1222 Fa = MAX (0.0, 1.0 - dsta / srca);
1227 return mult_chan (src, dst, Fa, Fb);
1231 Fa = 0.0;
1233 Fa = MAX (0.0, 1.0 - dsta / srca);
1238 return mult_chan (src, dst, Fa, Fb);