mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
90fdf92640
Original commit message from CVS: * gst/goom/convolve_fx.c: * gst/goom/filters.c: * gst/goom/goom_config.h: * gst/goom/goom_core.c: * gst/goom/goom_tools.h: Fix build with MSVC: include glib.h to define inline appropriately, use header guards where needed. * gst/udp/gstudpnetutils.c: * gst/udp/gstudpsrc.c: Fix build with MSVC: use WSA* constants/functions where appropriate, use g_snprintf rather than snprintf. Fixes #544433.
27 lines
398 B
C
27 lines
398 B
C
#include <glib.h>
|
|
|
|
#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
|
|
|
|
#if defined (BUILD_MMX) && defined (HAVE_GCC_ASM)
|
|
|
|
#define HAVE_MMX
|
|
#endif
|
|
|