diff options
author | Robin KAY <komadori@users.sourceforge.net> | 2002-10-06 03:48:13 +0000 |
---|---|---|
committer | Robin KAY <komadori@users.sourceforge.net> | 2002-10-06 03:48:13 +0000 |
commit | 24ed40652239b8e3841803e473b31736b4d04bca (patch) | |
tree | 32858182f1bbd66458e4467608cdad8efe6a9b09 /src/libxinevdec | |
parent | 08d0890139902ec1a227d2bd429585534fa6ff24 (diff) | |
download | xine-lib-24ed40652239b8e3841803e473b31736b4d04bca.tar.gz xine-lib-24ed40652239b8e3841803e473b31736b4d04bca.tar.bz2 |
Workaround for code generation bug in gcc on SPARC. Mike's endian macros now moved to bswap.h
CVS patchset: 2794
CVS date: 2002/10/06 03:48:13
Diffstat (limited to 'src/libxinevdec')
-rw-r--r-- | src/libxinevdec/fli.c | 5 | ||||
-rw-r--r-- | src/libxinevdec/qtrle.c | 5 | ||||
-rw-r--r-- | src/libxinevdec/qtrpza.c | 5 | ||||
-rw-r--r-- | src/libxinevdec/qtsmc.c | 5 | ||||
-rw-r--r-- | src/libxinevdec/rgb.c | 5 | ||||
-rw-r--r-- | src/libxinevdec/wc3video.c | 7 |
6 files changed, 6 insertions, 26 deletions
diff --git a/src/libxinevdec/fli.c b/src/libxinevdec/fli.c index 238bc09ef..9cf7a9142 100644 --- a/src/libxinevdec/fli.c +++ b/src/libxinevdec/fli.c @@ -23,7 +23,7 @@ * avoid when implementing a FLI decoder, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: fli.c,v 1.6 2002/09/05 22:19:02 mroi Exp $ + * $Id: fli.c,v 1.7 2002/10/06 03:48:13 komadori Exp $ */ #include <stdio.h> @@ -42,9 +42,6 @@ #define PALETTE_SIZE (256 * 4) -#define LE_16(x) (le2me_16(*(uint16_t *)(x))) -#define LE_32(x) (le2me_32(*(uint32_t *)(x))) - #define FLI_256_COLOR 4 #define FLI_DELTA 7 #define FLI_COLOR 11 diff --git a/src/libxinevdec/qtrle.c b/src/libxinevdec/qtrle.c index ddc7b4081..7ffe310ab 100644 --- a/src/libxinevdec/qtrle.c +++ b/src/libxinevdec/qtrle.c @@ -21,7 +21,7 @@ * For more information on the QT RLE format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: qtrle.c,v 1.2 2002/10/04 01:16:04 tmmm Exp $ + * $Id: qtrle.c,v 1.3 2002/10/06 03:48:13 komadori Exp $ */ #include <stdio.h> @@ -38,9 +38,6 @@ #define VIDEOBUFSIZE 128*1024 -#define BE_16(x) (be2me_16(*(unsigned short *)(x))) -#define BE_32(x) (be2me_32(*(unsigned int *)(x))) - typedef struct qtrle_decoder_s { video_decoder_t video_decoder; /* parent video decoder structure */ diff --git a/src/libxinevdec/qtrpza.c b/src/libxinevdec/qtrpza.c index 4ccdd2c94..293b381d4 100644 --- a/src/libxinevdec/qtrpza.c +++ b/src/libxinevdec/qtrpza.c @@ -21,7 +21,7 @@ * For more information about the RPZA format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: qtrpza.c,v 1.4 2002/09/05 22:19:03 mroi Exp $ + * $Id: qtrpza.c,v 1.5 2002/10/06 03:48:13 komadori Exp $ */ #include <stdio.h> @@ -38,9 +38,6 @@ #define VIDEOBUFSIZE 128*1024 -#define BE_16(x) (be2me_16(*(unsigned short *)(x))) -#define BE_32(x) (be2me_32(*(unsigned int *)(x))) - typedef struct qtrpza_decoder_s { video_decoder_t video_decoder; /* parent video decoder structure */ diff --git a/src/libxinevdec/qtsmc.c b/src/libxinevdec/qtsmc.c index f145642e7..0218f8013 100644 --- a/src/libxinevdec/qtsmc.c +++ b/src/libxinevdec/qtsmc.c @@ -23,7 +23,7 @@ * For more information on the SMC format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: qtsmc.c,v 1.4 2002/09/05 22:19:03 mroi Exp $ + * $Id: qtsmc.c,v 1.5 2002/10/06 03:48:13 komadori Exp $ */ #include <stdio.h> @@ -40,9 +40,6 @@ #define VIDEOBUFSIZE 128*1024 -#define BE_16(x) (be2me_16(*(unsigned short *)(x))) -#define BE_32(x) (be2me_32(*(unsigned int *)(x))) - #define COLORS_PER_TABLE 256 #define BYTES_PER_COLOR 4 diff --git a/src/libxinevdec/rgb.c b/src/libxinevdec/rgb.c index 0bb905f19..53fb638f3 100644 --- a/src/libxinevdec/rgb.c +++ b/src/libxinevdec/rgb.c @@ -21,7 +21,7 @@ * Actually, this decoder just converts a raw RGB image to a YUY2 map * suitable for display under xine. * - * $Id: rgb.c,v 1.7 2002/09/05 22:19:03 mroi Exp $ + * $Id: rgb.c,v 1.8 2002/10/06 03:48:13 komadori Exp $ */ #include <stdio.h> @@ -38,9 +38,6 @@ #define VIDEOBUFSIZE 128*1024 -#define LE_16(x) (le2me_16(*(uint16_t *)(x))) -#define LE_32(x) (le2me_32(*(uint32_t *)(x))) - typedef struct rgb_decoder_s { video_decoder_t video_decoder; /* parent video decoder structure */ diff --git a/src/libxinevdec/wc3video.c b/src/libxinevdec/wc3video.c index 9c943581e..413c3b7de 100644 --- a/src/libxinevdec/wc3video.c +++ b/src/libxinevdec/wc3video.c @@ -22,7 +22,7 @@ * For more information on the WC3 Movie format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: wc3video.c,v 1.5 2002/09/13 03:02:18 tmmm Exp $ + * $Id: wc3video.c,v 1.6 2002/10/06 03:48:13 komadori Exp $ */ #include <stdio.h> @@ -42,11 +42,6 @@ #define WC3_WIDTH 320 #define WC3_HEIGHT 165 -#define LE_16(x) (le2me_16(*(uint16_t *)(x))) -#define LE_32(x) (le2me_32(*(uint32_t *)(x))) -#define BE_16(x) (be2me_16(*(unsigned short *)(x))) -#define BE_32(x) (be2me_32(*(unsigned int *)(x))) - typedef struct wc3video_decoder_s { video_decoder_t video_decoder; /* parent video decoder structure */ |