summaryrefslogtreecommitdiff
path: root/src/video_out/alphablend.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_out/alphablend.h')
-rw-r--r--src/video_out/alphablend.h7
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,