gstreamer/gst/videomixer
Wim Taymans 362785df88 videomixer: optimize blend code some more
Use more efficient formula that uses less multiplies.
Reduce the amount of scalar code, use MMX to calculate the desired
alpha value.
Unroll and handle 2 pixels in one iteration for improved pairing.
2009-12-25 12:38:45 +01:00
..
blend_ayuv.c videomixer: optimize blend code some more 2009-12-25 12:38:45 +01:00
blend_bgra.c videomixer: scale and clamp 2009-12-24 22:59:09 +01:00
blend_i420.c videomixer: scale and clamp 2009-12-24 22:59:09 +01:00
blend_rgb.c videomixer: scale and clamp 2009-12-24 22:59:09 +01:00
Makefile.am videomixer: Add MMX implementations of the AYUV blending and color filling functions 2009-12-15 12:30:21 +01:00
README A plugin to add an alpha channel to I420 video. Can optionally do chroma keying. 2004-05-28 18:01:34 +00:00
videomixer.c videomixer: some trivial cleanups 2009-12-24 21:45:12 +01:00
videomixer.h videomixer: Remove the calculate_frame_size() function and use libgstvideo instead 2009-07-10 17:23:03 +02:00
videomixer.vcproj more working plugins 2004-07-27 21:41:30 +00:00
videomixerpad.h videomixer: Make debugging category global to all the code. 2009-07-10 14:37:07 +02:00

Video Mixer
-----------

A generice video mixer, it blends the ayuv buffers from all pads onto 
a new buffer. The new buffer has by default a checkerboard pattern but
its color can be changed with a property.
The mixer can mix streams with different framerates and video sizes. It
uses the duration value of the buffer to schedule the rendering of the
buffers. For streams with a different resoltion than the final output
resolution one can specify the position of the top left corner where this
image should be placed with the pad properties xpos and ypos.
The overall alpha value of a stream can also be specified with a pad
property.
By default, the streams are blended in the order that the pads were 
requested from the element. This can be overridden by changing the 
zorder pad property of the stream, a stream with lower zorder gets
drawn first.


TODO
----

- really implement zorder
- take I420 yuv as well
- output AYUV if possible.
- implement different blend modes, some code is already done
- use filter caps on srcpad to decide on the final output size