summaryrefslogtreecommitdiff
path: root/src/post/goom/ifs.h
diff options
context:
space:
mode:
authorThibaut Mattern <tmattern@users.sourceforge.net>2003-01-03 21:29:20 +0000
committerThibaut Mattern <tmattern@users.sourceforge.net>2003-01-03 21:29:20 +0000
commit725a7a2631013ae00b8d363069331446eaff4273 (patch)
treee6b7a96ce3b3c05b4d3c92e5113dbb6e26f83097 /src/post/goom/ifs.h
parentb4bcc7ac8ae797dbe478d42d34839f31bba277dc (diff)
downloadxine-lib-725a7a2631013ae00b8d363069331446eaff4273.tar.gz
xine-lib-725a7a2631013ae00b8d363069331446eaff4273.tar.bz2
Updates to the latest version of Goom
Adds mmx and ppc assembly optimizations. Adds 5 config entries for this post plugin : - frames per second - width - height - usage of assembly optimizations - colorspace conversion method PPc optimizations are not tested. The compiler option -fomit-frame-pointer is disabled. CVS patchset: 3762 CVS date: 2003/01/03 21:29:20
Diffstat (limited to 'src/post/goom/ifs.h')
-rw-r--r--src/post/goom/ifs.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/post/goom/ifs.h b/src/post/goom/ifs.h
index 0b3cca3aa..c91df183a 100644
--- a/src/post/goom/ifs.h
+++ b/src/post/goom/ifs.h
@@ -7,28 +7,29 @@
#include "goom_config.h"
-typedef struct _ifsPoint {
- gint16 x,y;
-} IFSPoint;
+typedef struct _ifsPoint
+{
+ gint32 x, y;
+}
+IFSPoint;
-/* init ifs for a (width)x(height) output. */
-void init_ifs (int width, int height);
+/* 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);
+/* 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 ();
+/* 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);
+IFSPoint *draw_ifs (int *nbPoints);
#endif