summaryrefslogtreecommitdiff
path: root/gst/videomixer/blend.h
AgeCommit message (Collapse)AuthorFilesLines
2012-11-04Fix FSF addressTim-Philipp Müller1-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-09-12videomixer2: Adding nv12 and nv21 supportYouness Alaoui1-0/+6
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683841
2012-01-26videomixer: port to 0.11Wim Taymans1-1/+1
It builds and gst-inspect-0.11 works.. otherwise untested
2012-01-25videomixer: port blend functionWim Taymans1-3/+4
2011-04-01videomixer2: Add transparent background option for alpha channel formatsLane Brooks1-0/+5
This option allows the videomixer2 element to output a valid alpha channel when the inputs contain a valid alpha channel. This allows mixing to occur in multiple stages serially. The following pipeline shows an example of such a pipeline: gst-launch videotestsrc background-color=0x000000 pattern=ball ! video/x-raw-yuv,format=\(fourcc\)AYUV ! videomixer2 background=transparent name=mix1 ! videomixer2 name=mix2 ! ffmpegcolorspace ! autovideosink videotestsrc ! video/x-raw-yuv,format=\(fourcc\)AYUV ! mix2. The first videotestsrc in this pipeline creates a moving ball on a transparent background. It is then passed to the first videomixer2. Previously, this videomixer2 would have forced the alpha channel to 1.0 and given a background of checker, black, or white to the stream. With this patch, however, you can now specify the background as transparent, and the alpha channel of the input will be preserved. This allows for further mixing downstream, as is shown in the above pipeline where the a second videomixer2 is used to mix in a background of an smpte videotestsrc. So the result is a ball hovering over the smpte test source. This could, of course, have been accomplished with a single mixer element, but staged mixing is useful when it is not convenient to mix all video at once (e.g. a pipeline where a foreground and background bin exist and are mixed at the final output, but the foreground bin needs an internal mixer to create transitions between clips). Fixes bug #639994.
2010-04-29videomixer: Add support for YUY2, YVYU, UYVYSebastian Dröge1-0/+9
2010-04-29videomixer: Add support for Y444, Y42B, Y41B and YV12Sebastian Dröge1-0/+12
2010-03-20videomixer: Add support for ABGR and RGBASebastian Dröge1-0/+6
Now all 4 ARGB variants are supported by videomixer.
2010-01-11videomixer: Refactor processing functionsSebastian Dröge1-0/+64
This allows easier plugging of optimized processing functions in the future, like for SSE or AltiVec.