diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-02-09 23:38:44 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-02-09 23:38:44 +0100 |
commit | 4ecccb6ff6276d2202a8fdd0461a416a46005e70 (patch) | |
tree | 622d1c31ecf339833243c29de16368a368921d23 /gst/goom2k1 | |
parent | aafcbbb2fe6db79af89c0e9c6e02fe362d048d90 (diff) |
goom: Remove unused functions
Diffstat (limited to 'gst/goom2k1')
-rw-r--r-- | gst/goom2k1/filters.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/gst/goom2k1/filters.c b/gst/goom2k1/filters.c index 1b1ea13ef..016f25bf8 100644 --- a/gst/goom2k1/filters.c +++ b/gst/goom2k1/filters.c @@ -250,39 +250,6 @@ setPixelRGB_ (Uint * buffer, Uint x, Color c, guint32 resolx, guint32 resoly) #endif } - - -static inline void -getPixelRGB (Uint * buffer, Uint x, Uint y, Color * c, - guint32 resolx, guint32 resoly) -{ - register unsigned char *tmp8; - -#ifdef _DEBUG - if (x + y * resolx >= resolx * resoly) { - printf ("getPixel ERROR : hors du tableau... %i, %i\n", x, y); - exit (1); - } -#endif - -#ifdef __BIG_ENDIAN__ - c->b = *(unsigned char *) (tmp8 = - (unsigned char *) (buffer + (x + y * resolx))); - c->r = *(unsigned char *) (++tmp8); - c->v = *(unsigned char *) (++tmp8); - c->b = *(unsigned char *) (++tmp8); - -#else - /* ATTENTION AU PETIT INDIEN */ - c->b = *(unsigned char *) (tmp8 = - (unsigned char *) (buffer + (x + y * resolx))); - c->v = *(unsigned char *) (++tmp8); - c->r = *(unsigned char *) (++tmp8); -/* *c = (Color) buffer[x+y*WIDTH] ; */ -#endif -} - - static inline void getPixelRGB_ (Uint * buffer, Uint x, Color * c, guint32 resolx, guint32 resoly) { |