summaryrefslogtreecommitdiffstats
path: root/gst/smpte/paint.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-10-13 18:46:10 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-10-13 18:46:10 +0000
commit20ef6b8c2c14674ae1afcce162517768e014d25f (patch)
tree051b027954ff62843dcc37e6c5a5efd39dd0acd6 /gst/smpte/paint.h
parentcea94d9130ef92d46589ec8b416acdf5905d7a66 (diff)
- reimplemented using organic masks, rendered with gouraud shaded triangles
Original commit message from CVS: - reimplemented using organic masks, rendered with gouraud shaded triangles - implemented more masks - implemented adjustable border
Diffstat (limited to 'gst/smpte/paint.h')
-rw-r--r--gst/smpte/paint.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/gst/smpte/paint.h b/gst/smpte/paint.h
index fc51a638..224ded7d 100644
--- a/gst/smpte/paint.h
+++ b/gst/smpte/paint.h
@@ -22,14 +22,20 @@
#include <glib.h>
-void gst_smpte_paint_rect (guint8 *dest, gint stride,
- gint x, gint y, gint w, gint h,
- guint8 color);
+void gst_smpte_paint_vbox (guint32 *dest, gint stride,
+ gint x0, gint y0, gint c0,
+ gint x1, gint y1, gint c1);
+void gst_smpte_paint_hbox (guint32 *dest, gint stride,
+ gint x0, gint y0, gint c0,
+ gint x1, gint y1, gint c1);
-void gst_smpte_paint_rect_s (guint8 *dest, gint stride,
- gint x, gint y, gint w, gint h,
- guint8 color);
+void gst_smpte_paint_rect16 (guint16 *dest, gint depth, gint width, gint height);
+void gst_smpte_paint_triangle_linear (guint32 *dest, gint stride,
+ gint x0, gint y0, gint c0,
+ gint x1, gint y1, gint c1,
+ gint x2, gint y2, gint c2);
+
#endif /* __GST_SMPTE_PAINT_H__ */