Hi all,
I recently realized that the color producer always creates an alpha
mask, and uses the rgba24a format by default.
In fact, unless the color has an alpha value under 255, it is
unnecessary and we could simply use an rgb24 format, saving some memory.
I am mostly interested in this because the qtblend transition checks if
a producer has an alpha channel before deciding whether a compositing is
required. Having a useless alpha channel on the color producer causes
unnecessary compositing and slowdowns in this case. Would you be ok to
change the color producer to use rgb24 or rgb24a formats depending on
the alpha value ?
I can provide a patch if you think this is a welcome change.
Best regards
Jean-Baptiste
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel