From f97eaa174cdc767a986550c710a98bb2877a01f1 Mon Sep 17 00:00:00 2001 From: Eduard Hasenleithner Date: Thu, 16 Aug 2001 12:33:00 +0000 Subject: 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 --- src/video_out/alphablend.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/video_out/alphablend.h') 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, -- cgit v1.2.3