Possible Duplicate:
How to do alpha blend fast?
What is the fastest way to alpha blend 2 RGBA (Integer) colors?
As a note, the target color where to blend is always opaque, only the second color can have different levels of transparency.
I am trying to find the fastest way in C, taking into account that the final resulting color from the blend must end up with no transparency, fully opaque (alpha = 0xff)