Re: [Mlt-devel] Composite transition opacity bug

2012-09-03 Thread Dan Dennedy
On Mon, Sep 3, 2012 at 2:52 PM, j-b-m wrote: > > (...) > >> Basically, I adjusted the alpha value so that the maximum goes to 256 and >> not 255, same for weight that should go up to 65536. So in our case - when >> there is no luma file and alpha is full opacity (255), the mix calculation >> which

Re: [Mlt-devel] Composite transition opacity bug

2012-09-03 Thread j-b-m
(...) > Basically, I adjusted the alpha value so that the maximum goes to 256 and > not 255, same for weight that should go up to 65536. So in our case - when > there is no luma file and alpha is full opacity (255), the mix calculation > which is basically: > > ( weight * alpha ) >> 8 > > gives

[Mlt-devel] Composite transition opacity bug

2012-09-03 Thread j-b-m
Hi. I recently acknowledged Kdenlive issue 2708 (bug in composite transition opacity): http://www.kdenlive.org/mantis/view.php?id=2708 Quite surprising, but there really is a problem with alpha calculation (using the non SSE version). The problem can be reproduced with the following command: