gstreamer/gst/compositor
Sebastian Dröge aa3e64c71d compositor: Use 255 as maximum alpha instead of 256
255 will easily become 0 in the blending function as they expect
the maximum value to be 255.

Can be reproduce with

gst-launch-1.0 videotestsrc pattern=ball ! c.sink_0 \
               videotestsrc pattern=snow ! c.sink_1 \
               compositor name=c \
                 sink_0::zorder=0 sink_1::zorder=1 sink_0::crossfade-ratio=0.5 \
                 background=black ! \
               videoconvert ! xvimagesink

crossfade-ratio +/- 0.001 makes it work correctly and the same happens
at e.g. 0.25, 0.75, N*0.0625

https://bugzilla.gnome.org/show_bug.cgi?id=796846
2018-07-23 18:59:33 +03:00
..
.gitignore gitignore: ignore more files 2015-01-12 22:52:36 +01:00
blend.c compositor: Use 255 as maximum alpha instead of 256 2018-07-23 18:59:33 +03:00
blend.h compositor: Add support for crossfade blending 2017-08-03 12:59:43 -04:00
blendorc.h compositor: Add a new compositor based on the new GstVideoAggregator base class 2014-06-20 19:53:33 +02:00
compositor.c compositor: Update conversion info in property setter 2018-07-18 14:41:31 +03:00
compositor.h compositor: Add support for crossfade blending 2017-08-03 12:59:43 -04:00
compositororc-dist.c Update ORC fallback disted code 2018-02-14 14:36:00 +01:00
compositororc-dist.h compositor: update disted orc fallback files 2017-08-03 20:14:41 +01:00
compositororc.orc compositor: Add support for crossfade blending 2017-08-03 12:59:43 -04:00
compositorpad.h videoaggregator: Switch to a GstVideoAggregatorConvertPad subclass 2018-05-06 15:22:51 +02:00
Makefile.am Remove GstAggregator from -bad, moved to core 2017-12-02 16:14:36 +00:00
meson.build Meson: Generate pc file for all plugins in bad 2018-04-25 11:08:09 +01:00