diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-25 04:59:14 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-25 04:59:14 +0000 |
commit | 7232ac8416bc30a093500a3bdf5d908be3273d76 (patch) | |
tree | b54669a95f05fd80ac5886d1560c7e2fd2b3f590 /src/post/goom/goom_core.h | |
parent | 024d463a3cfed56ab3db964488a8dd9dbf7bf1d4 (diff) | |
download | xine-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/goom_core.h')
-rw-r--r-- | src/post/goom/goom_core.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/post/goom/goom_core.h b/src/post/goom/goom_core.h new file mode 100644 index 000000000..c74adb5c0 --- /dev/null +++ b/src/post/goom/goom_core.h @@ -0,0 +1,38 @@ +#ifndef _GOOMCORE_H +#define _GOOMCORE_H + +#include "goom_config.h" + +/* typedef union { + guint32 val; + struct { + guint8 r; + guint8 g; + guint8 b; + guint32 a; + } rgba; + } Pixel ; + + typedef Pixel * GoomBuffer; +*/ + +#define NB_FX 8 + +void goom_init (guint32 resx, guint32 resy, int cinemascope); +void goom_set_resolution (guint32 resx, guint32 resy, int cinemascope); + +/* + * forceMode == 0 : do nothing + * forceMode == -1 : lock the FX + * forceMode == 1..NB_FX : force a switch to FX n°forceMode + */ +guint32 * goom_update (gint16 data [2][512], int forceMode); + +void goom_close (); + +/* + void goom_start (); + void goom_stop (); +*/ + +#endif |