mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
c34fa140d0
Original commit message from CVS: * configure.ac: Detect and indicate if GCC inline assembly syntax is available. * gst/goom/Makefile.am: * gst/goom/convolve_fx.c: * gst/goom/flying_stars_fx.c: * gst/goom/goom_config.h: * gst/goom/goom_core.c: * gst/goom/goomsl.c: * gst/goom/ifs.c: * gst/goom/mmx.c: * gst/goom/plugin_info.c: * gst/goom/xmmx.c: Fix various GCC-isms, and only build the inline assembly with compilers that support GCC inline assembly. Fix a couple of other warnings shown with Forte.
32 lines
573 B
C
32 lines
573 B
C
#if WORDS_BIGENDIAN
|
|
#define COLOR_ARGB
|
|
#else
|
|
#define COLOR_BGRA
|
|
#endif
|
|
|
|
#if 1
|
|
/* ndef COLOR_BGRA */
|
|
/** position des composantes **/
|
|
#define BLEU 0
|
|
#define VERT 1
|
|
#define ROUGE 2
|
|
#define ALPHA 3
|
|
#else
|
|
#define ROUGE 1
|
|
#define BLEU 3
|
|
#define VERT 2
|
|
#define ALPHA 0
|
|
#endif
|
|
|
|
#ifndef guint32
|
|
#define guint8 unsigned char
|
|
#define guin16 unsigned short
|
|
#define guint32 unsigned int
|
|
#define gint8 signed char
|
|
#define gint16 signed short int
|
|
#define gint32 signed int
|
|
#endif
|
|
|
|
#if defined (BUILD_MMX) && defined (HAVE_GCC_ASM)
|
|
#define HAVE_MMX
|
|
#endif
|