diff options
author | Thibaut Mattern <tmattern@users.sourceforge.net> | 2003-01-03 21:29:20 +0000 |
---|---|---|
committer | Thibaut Mattern <tmattern@users.sourceforge.net> | 2003-01-03 21:29:20 +0000 |
commit | 725a7a2631013ae00b8d363069331446eaff4273 (patch) | |
tree | e6b7a96ce3b3c05b4d3c92e5113dbb6e26f83097 /src/post/goom/graphic.c | |
parent | b4bcc7ac8ae797dbe478d42d34839f31bba277dc (diff) | |
download | xine-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/graphic.c')
-rw-r--r-- | src/post/goom/graphic.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/post/goom/graphic.c b/src/post/goom/graphic.c index 4223c67bd..10f3c7773 100644 --- a/src/post/goom/graphic.c +++ b/src/post/goom/graphic.c @@ -1,17 +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} ; +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 ; +unsigned int SIZE; +unsigned int HEIGHT; +unsigned int WIDTH; -int * rand_tab = 0 ; -unsigned short int rand_pos = 0 ; +int *rand_tab = 0; +unsigned short int rand_pos = 0; |