Sebastian Dröge
4ccd9c92ae
videomixer: Remove the calculate_frame_size() function and use libgstvideo instead
2009-07-10 17:23:03 +02:00
Edward Hervey
b02949faeb
videomixer: I420 mode: Add fast path for 0.0 and 1.0 alpha
...
If the source alpha is 0.0, we take nothing.
If the source alpha is 1.0, we overwrite everything.
2009-07-10 14:37:13 +02:00
Edward Hervey
3c88249d48
videomixer: I420 blending : Fix main algorithm.
...
When blending a source layer with an alpha of 'a' on top of another
destination layer we take the sum of:
* 'a' percent of the source layer
* (100 - 'a') percent of the destination layer (the remainder)
2009-07-10 14:37:10 +02:00
Edward Hervey
ace4cb2295
videomixer: Make debugging category global to all the code.
2009-07-10 14:37:07 +02:00
Sebastian Dröge
356972740a
videomixer: Make checker pattern lookup table constant
2009-07-08 18:19:45 +02:00
Sebastian Dröge
d46e459f22
videomixer: Don't use // comments
2009-05-28 14:01:17 +02:00
Sebastian Dröge
83fc39ccff
videomixer: Some cleanup and fix the calculation of the frame size in bytes
2009-05-28 13:54:14 +02:00
Sebastian Dröge
699b696db8
videomixer: Fix I420 blending to actually do something
...
For this we a) implement the checkers filling and b)
actually blend the src/dest by using the src alpha value
from the pad.
2009-05-28 13:35:52 +02:00
Alex Ugarte
82abbeaf4f
videomixer: Add support for blending BGRA and AYUV
...
Fixes bug #577017 .
2009-05-28 12:55:16 +02:00