new overlay mode from Freelancer
finally looked at history.. http://git.cinelerra-gg.org/git/?p=goodguy/history.git;a=blobdiff;f=cinelerr... and made this patch (attached) it works softer than logical or porter/duff modes, but notiecably slower ( (on 8 core arm tablet) my modes fails to compile - something about me not really knowing how to write macro functions (?)
updated diff attached, now both 'my' new modes (avg was around before but was deleted at some point.. <*>) works in plain x11. probably for opengl preview you need to a bit more lines.. reason why it failed to compile at first - one (!) additional space in defines for new mode.. <*> http://git.cinelerra-gg.org/git/?p=goodguy/history.git;a=commit;h=93d60cc0fd... On Tuesday, June 29, 2021, Andrew Randrianasulu <[email protected]> wrote:
finally looked at history..
http://git.cinelerra-gg.org/git/?p=goodguy/history.git;a= blobdiff;f=cinelerra-5.1/cinelerra/overlayframe.h;h= 730be3741ed638b54703c530809aeaada999e20e;hp=7ca03621e6b6df0b91b165e9566fbc 263a2074b0;hb=93d60cc0fdf746cc03b4d7a9e45744c2c424439b;hpb= 361dbd9de4e6e4143ea0cac5daa89b30685a4c70
and made this patch (attached)
it works softer than logical or porter/duff modes, but notiecably slower ( (on 8 core arm tablet)
my modes fails to compile - something about me not really knowing how to write macro functions (?)
tried to add faster srgb to/from linear from this source https://stackoverflow.com/questions/6475373/optimizations-for-pow-with-const... see answer with poly7 code. still around 8-9 fps on full HD frames (png), while different composition mode (porter/duff, srcOnTop) does 22 fps! On Tuesday, June 29, 2021, Andrew Randrianasulu <[email protected]> wrote:
updated diff attached, now both 'my' new modes (avg was around before but was deleted at some point.. <*>) works in plain x11. probably for opengl preview you need to a bit more lines..
reason why it failed to compile at first - one (!) additional space in defines for new mode..
<*> http://git.cinelerra-gg.org/git/?p=goodguy/history.git;a=commit;h= 93d60cc0fdf746cc03b4d7a9e45744c2c424439b
On Tuesday, June 29, 2021, Andrew Randrianasulu <[email protected]> wrote:
finally looked at history..
http://git.cinelerra-gg.org/git/?p=goodguy/history.git;a=blo bdiff;f=cinelerra-5.1/cinelerra/overlayframe.h;h=730be3741ed 638b54703c530809aeaada999e20e;hp=7ca03621e6b6df0b91b165e9566 fbc263a2074b0;hb=93d60cc0fdf746cc03b4d7a9e45744c2c424439b; hpb=361dbd9de4e6e4143ea0cac5daa89b30685a4c70
and made this patch (attached)
it works softer than logical or porter/duff modes, but notiecably slower ( (on 8 core arm tablet)
my modes fails to compile - something about me not really knowing how to write macro functions (?)
participants (1)
-
Andrew Randrianasulu