diff options
author | Eduard Hasenleithner <ehasenle@users.sourceforge.net> | 2001-08-16 12:33:00 +0000 |
---|---|---|
committer | Eduard Hasenleithner <ehasenle@users.sourceforge.net> | 2001-08-16 12:33:00 +0000 |
commit | f97eaa174cdc767a986550c710a98bb2877a01f1 (patch) | |
tree | 28a20c6a8abc26c4ae9b1ceffeb298b3beb41deb /src/video_out/alphablend.c | |
parent | 5e0c7d8f50c9b2173444b1a8f87af97fe2286410 (diff) | |
download | xine-lib-f97eaa174cdc767a986550c710a98bb2877a01f1.tar.gz xine-lib-f97eaa174cdc767a986550c710a98bb2877a01f1.tar.bz2 |
clut_t is now stored in machine endianess. Simplifies the transfer
of the clut from the input plugin.
CVS patchset: 434
CVS date: 2001/08/16 12:33:00
Diffstat (limited to 'src/video_out/alphablend.c')
-rw-r--r-- | src/video_out/alphablend.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/video_out/alphablend.c b/src/video_out/alphablend.c index b86968c43..bba685418 100644 --- a/src/video_out/alphablend.c +++ b/src/video_out/alphablend.c @@ -33,17 +33,7 @@ #include <inttypes.h> #include "video_out.h" - -/* FIXME: CLUT_T should go elsewhere. */ -#ifndef CLUT_T -#define CLUT_T -typedef struct { // CLUT == Color LookUp Table - uint8_t:8; - uint8_t y:8; - uint8_t cr:8; - uint8_t cb:8; -} __attribute__ ((packed)) clut_t; -#endif +#include "alphablend.h" #define BLEND_COLOR(dst, src, mask, o) ((((src&mask)*o + ((dst&mask)*(0x0f-o)))/0xf) & mask) |