summaryrefslogtreecommitdiff
path: root/src/post/goom/goom_graphic.h
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2005-07-19 18:10:29 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2005-07-19 18:10:29 +0000
commit6bfc655ee19aa82cce3277e6f9c861661cca5fb4 (patch)
treee73fb914fba58583558278d41fc3b7809db4834c /src/post/goom/goom_graphic.h
parentd1245110dbd99f3018847c59316b677b92423973 (diff)
downloadxine-lib-6bfc655ee19aa82cce3277e6f9c861661cca5fb4.tar.gz
xine-lib-6bfc655ee19aa82cce3277e6f9c861661cca5fb4.tar.bz2
update goom to 2k4-0 + patches. details:
- removed convolve_fx: goom logo is definitely annoying. besides using xine_fast_memcpy instead of convolve makes it much faster! - reduced number of tentacles: too many tentacles on low res (320x240) made it too brighter - darker ifs.c: again problem with low res, image was saturating to white most of the time - increased fps to 14 now that goom is faster ;-) CVS patchset: 7667 CVS date: 2005/07/19 18:10:29
Diffstat (limited to 'src/post/goom/goom_graphic.h')
-rw-r--r--src/post/goom/goom_graphic.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/post/goom/goom_graphic.h b/src/post/goom/goom_graphic.h
index 1d78f1d4e..9deaf5a91 100644
--- a/src/post/goom/goom_graphic.h
+++ b/src/post/goom/goom_graphic.h
@@ -25,6 +25,10 @@ extern const Color VIOLET;
#define G_CHANNEL 0x00FF0000
#define R_CHANNEL 0x0000FF00
#define A_CHANNEL 0x000000FF
+#define B_OFFSET 24
+#define G_OFFSET 16
+#define R_OFFSET 8
+#define A_OFFSET 0
typedef union _PIXEL {
struct {
@@ -43,6 +47,10 @@ typedef union _PIXEL {
#define R_CHANNEL 0x00FF0000
#define G_CHANNEL 0x0000FF00
#define B_CHANNEL 0x000000FF
+#define A_OFFSET 24
+#define R_OFFSET 16
+#define G_OFFSET 8
+#define B_OFFSET 0
typedef union _PIXEL {
struct {