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.h | |
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.h')
-rw-r--r-- | src/video_out/alphablend.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_out/alphablend.h b/src/video_out/alphablend.h index 6043c6071..66f4e512b 100644 --- a/src/video_out/alphablend.h +++ b/src/video_out/alphablend.h @@ -28,6 +28,13 @@ #include "video_out.h" +typedef struct { /* CLUT == Color LookUp Table */ + uint8_t cb : 8; + uint8_t cr : 8; + uint8_t y : 8; + uint8_t foo : 8; +} __attribute__ ((packed)) clut_t; + void blend_rgb16 (uint8_t * img, vo_overlay_t * overlay, int width, int height); void blend_rgb24 (uint8_t * img, vo_overlay_t * overlay, int width, |