From 4d3b1472e78ac7c12460b26914c9a294a3de573a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 1 Feb 2002 19:28:30 +0000 Subject: 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 --- gst/goom/graphic.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 gst/goom/graphic.c (limited to 'gst/goom/graphic.c') diff --git a/gst/goom/graphic.c b/gst/goom/graphic.c new file mode 100644 index 00000000..4223c67b --- /dev/null +++ b/gst/goom/graphic.c @@ -0,0 +1,17 @@ +#include "graphic.h" + +const Color BLACK = {0,0,0} ; +const Color WHITE = {0xff,0xff,0xff} ; +const Color RED = {0xff,0,0} ; +const Color GREEN = {0,0xff,0} ; +const Color BLUE = {0,0,0xff} ; +const Color YELLOW = {0xff, 0xff, 0x33} ; +const Color ORANGE = {0xff, 0xcc, 0x00} ; +const Color VIOLET = {0x55, 0x00, 0xff} ; + +unsigned int SIZE ; +unsigned int HEIGHT ; +unsigned int WIDTH ; + +int * rand_tab = 0 ; +unsigned short int rand_pos = 0 ; -- cgit