mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-19 14:19:58 +01:00
35 lines
557 B
C
35 lines
557 B
C
#if WORDS_BIGENDIAN
|
|
#define COLOR_ARGB
|
|
#else
|
|
#define COLOR_BGRA
|
|
#endif
|
|
|
|
#ifndef M_PI
|
|
#define M_PI 3.14159265358979323846
|
|
#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
|