summaryrefslogtreecommitdiff
path: root/src/post/goom/ifs.h
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-12-25 04:59:14 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-12-25 04:59:14 +0000
commit7232ac8416bc30a093500a3bdf5d908be3273d76 (patch)
treeb54669a95f05fd80ac5886d1560c7e2fd2b3f590 /src/post/goom/ifs.h
parent024d463a3cfed56ab3db964488a8dd9dbf7bf1d4 (diff)
downloadxine-lib-7232ac8416bc30a093500a3bdf5d908be3273d76.tar.gz
xine-lib-7232ac8416bc30a093500a3bdf5d908be3273d76.tar.bz2
What a GOOM!
Michael, please review the xine_goom.c code. i'm not sure about some post plugin concepts like "rewiring"... note: that code is quite cpu intensive, so i hardcoded it to 10fps. CVS patchset: 3673 CVS date: 2002/12/25 04:59:14
Diffstat (limited to 'src/post/goom/ifs.h')
-rw-r--r--src/post/goom/ifs.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/post/goom/ifs.h b/src/post/goom/ifs.h
new file mode 100644
index 000000000..a5e9fdeec
--- /dev/null
+++ b/src/post/goom/ifs.h
@@ -0,0 +1,32 @@
+/*
+ * File created 11 april 2002 by JeKo <jeko@free.fr>
+ */
+
+#ifndef IFS_H
+#define IFS_H
+
+#include "goom_config.h"
+
+typedef struct _ifsPoint {
+ gint16 x,y;
+} IFSPoint;
+
+// init ifs for a (width)x(height) output.
+void init_ifs (int width, int height);
+
+// draw an ifs on the buffer (which size is width * height)
+// increment means that we draw 1/increment of the ifs's points
+void ifs_update (guint32 *buffer, guint32 *back, int width, int height, int increment);
+
+// free all ifs's data.
+void release_ifs ();
+
+
+/* DONT USE !!! deprecated
+ * return a an array of points.
+ * WARNING !!! do not free it !!! it also has an internal use..
+ */
+IFSPoint * draw_ifs (int * nbPoints);
+
+
+#endif