mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
806ff70590
Crossfading is a bit more complex than just having two pads with the right keyframes as the blending is not exactly the same. The difference is in the way we compute the alpha channel, in the case of crossfading, we have to compute an additive operation between the destination and the source (factored by the alpha property of both the input pad alpha property and the crossfading ratio) basically so that the crossfade result of 2 opaque frames is also fully opaque at any time in the crossfading process, avoid bleeding through the layer blending. Some rationnal can be found in https://phabricator.freedesktop.org/T7773. https://bugzilla.gnome.org/show_bug.cgi?id=784827 |
||
---|---|---|
.. | ||
.gitignore | ||
blend.c | ||
blend.h | ||
blendorc.h | ||
compositor.c | ||
compositor.h | ||
compositororc-dist.c | ||
compositororc-dist.h | ||
compositororc.orc | ||
compositorpad.h | ||
Makefile.am | ||
meson.build |