diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-01-25 18:00:52 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-01-25 18:02:13 +0100 |
commit | 3f1bccbb175dea0bc19e04bcc2d8d7a2e2cf6add (patch) | |
tree | ec55acd656be49126ea2f25c974a32246ed00290 /gst/videomixer/blend.h | |
parent | 03b9966bc0f5761e87451f745a43804eb18b4700 (diff) |
videomixer: port blend function
Diffstat (limited to 'gst/videomixer/blend.h')
-rw-r--r-- | gst/videomixer/blend.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gst/videomixer/blend.h b/gst/videomixer/blend.h index ef60c915a..121483dde 100644 --- a/gst/videomixer/blend.h +++ b/gst/videomixer/blend.h @@ -21,10 +21,11 @@ #define __BLEND_H__ #include <gst/gst.h> +#include <gst/video/video.h> -typedef void (*BlendFunction) (const guint8 * src, gint xpos, gint ypos, gint src_width, gint src_height, gdouble src_alpha, guint8 * dest, gint dest_width, gint dest_height); -typedef void (*FillCheckerFunction) (guint8 * dest, gint width, gint height); -typedef void (*FillColorFunction) (guint8 * dest, gint width, gint height, gint c1, gint c2, gint c3); +typedef void (*BlendFunction) (GstVideoFrame *srcframe, gint xpos, gint ypos, gint src_width, gint src_height, gdouble src_alpha, GstVideoFrame * destframe); +typedef void (*FillCheckerFunction) (GstVideoFrame * frame); +typedef void (*FillColorFunction) (GstVideoFrame * frame, gint c1, gint c2, gint c3); extern BlendFunction gst_video_mixer_blend_argb; extern BlendFunction gst_video_mixer_blend_bgra; |