note: if alpha is negative the code will still produce non-optimal results. This is a separate issue though, the patch fix the premul assumption that alpha can be zero and rgb still be valid.
note: if alpha is negative the code will still produce non-optimal results. This is a separate issue though, the patch fix the premul assumption that alpha can be zero and rgb still be valid.