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
commite5c5f6be80792dbfc5db2906cc1564fb08d6aa41 (patch)
treeffecd036e8c523917e4ca359bbfcc84d7d602495 /gst/smpte/paint.h
parent9b067365c95ee0d987a74acd10a9c9890abab5db (diff)
downloadgst-plugins-bad-e5c5f6be80792dbfc5db2906cc1564fb08d6aa41.tar.gz
gst-plugins-bad-e5c5f6be80792dbfc5db2906cc1564fb08d6aa41.tar.bz2
gst-plugins-bad-e5c5f6be80792dbfc5db2906cc1564fb08d6aa41.zip
- 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__ */