summaryrefslogtreecommitdiffstats
path: root/gst/goom/graphic.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-02-01 19:28:30 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-02-01 19:28:30 +0000
commit4d3b1472e78ac7c12460b26914c9a294a3de573a (patch)
tree4d9b1f0a6698385b086e37381b75b2d93bf85e39 /gst/goom/graphic.h
parente5faa112b67c7681f653949413799180c7382451 (diff)
Added a goom plugin (goom.sourceforge.net) to test: ./gst-launch filesrc location=/opt/data/south.mp3 ! mad ! tee sil...
Original commit message from CVS: Added a goom plugin (goom.sourceforge.net) to test: ./gst-launch filesrc location=/opt/data/south.mp3 ! mad ! tee silent=true src%d! goom ! colorspace ! xvideosink tee0.src%d! osssink
Diffstat (limited to 'gst/goom/graphic.h')
-rw-r--r--gst/goom/graphic.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/gst/goom/graphic.h b/gst/goom/graphic.h
new file mode 100644
index 00000000..415dde73
--- /dev/null
+++ b/gst/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*/