From 7232ac8416bc30a093500a3bdf5d908be3273d76 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Wed, 25 Dec 2002 04:59:14 +0000 Subject: 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 --- src/post/goom/graphic.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/post/goom/graphic.h (limited to 'src/post/goom/graphic.h') diff --git a/src/post/goom/graphic.h b/src/post/goom/graphic.h new file mode 100644 index 000000000..415dde73c --- /dev/null +++ b/src/post/goom/graphic.h @@ -0,0 +1,24 @@ +#ifndef GRAPHIC_H +#define GRAPHIC_H + +typedef unsigned int Uint; + +typedef struct +{ + unsigned short r,v,b; +} +Color; + +extern const Color BLACK; +extern const Color WHITE; +extern const Color RED; +extern const Color BLUE; +extern const Color GREEN; +extern const Color YELLOW; +extern const Color ORANGE; +extern const Color VIOLET; + +inline void setPixelRGB (Uint *buffer, Uint x, Uint y, Color c) ; +inline void getPixelRGB (Uint *buffer, Uint x, Uint y, Color *c) ; + +#endif /*GRAPHIC_H*/ -- cgit v1.2.3