diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2002-10-13 18:46:10 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2002-10-13 18:46:10 +0000 |
commit | 20ef6b8c2c14674ae1afcce162517768e014d25f (patch) | |
tree | 051b027954ff62843dcc37e6c5a5efd39dd0acd6 /gst/smpte/paint.h | |
parent | cea94d9130ef92d46589ec8b416acdf5905d7a66 (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.h | 18 |
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__ */ |