diff options
author | Alex Ugarte <alexugarte@gmail.com> | 2009-05-28 12:55:16 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-05-28 12:55:16 +0200 |
commit | 82abbeaf4f69f22191a28c72a99c0093835edb11 (patch) | |
tree | e1532f060688c8f8d4cdff3d4c45cc18f1affd59 /gst/videomixer/videomixer.h | |
parent | 9507cdc84c968dc142356157c861e8d216b85716 (diff) |
videomixer: Add support for blending BGRA and AYUV
Fixes bug #577017.
Diffstat (limited to 'gst/videomixer/videomixer.h')
-rw-r--r-- | gst/videomixer/videomixer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gst/videomixer/videomixer.h b/gst/videomixer/videomixer.h index 41ddfb75..160a2e70 100644 --- a/gst/videomixer/videomixer.h +++ b/gst/videomixer/videomixer.h @@ -82,6 +82,7 @@ struct _GstVideoMixer gint in_width, in_height; gint out_width, out_height; + gint bpp; gboolean setcaps; gboolean sendseg; @@ -97,6 +98,12 @@ struct _GstVideoMixer GstPadEventFunction collect_event; guint64 segment_position; gdouble segment_rate; + + void (*blend) (guint8 * src, gint xpos, gint ypos, gint src_width, gint src_height, gdouble src_alpha, + guint8 * dest, gint dest_width, gint dest_height); + void (*fill_checker) (guint8 * dest, gint width, gint height); + + void (*fill_color) (guint8 * dest, gint width, gint height, gint colY, gint colU, gint colV); }; struct _GstVideoMixerClass |