From e3b6a1f138c83633fb9885c793ead4bf6093beab Mon Sep 17 00:00:00 2001 From: Torsten Jager Date: Fri, 30 May 2014 15:05:50 +0200 Subject: Add yuv overlay color matrix support. "Never assume an API to be stable unless at least 1 month has passed after adding." --- include/xine/alphablend.h | 2 +- include/xine/video_overlay.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/xine/alphablend.h b/include/xine/alphablend.h index 875531219..085d1f2e7 100644 --- a/include/xine/alphablend.h +++ b/include/xine/alphablend.h @@ -46,7 +46,7 @@ typedef struct { /* CLUT == Color LookUp Table */ uint8_t foo; } XINE_PACKED clut_t; -void _x_clut_yuv2rgb(uint32_t *clut, int num_items) XINE_PROTECTED; +void _x_clut_yuv2rgb(uint32_t *clut, int num_items, int color_matrix) XINE_PROTECTED; #define XX44_PALETTE_SIZE 32 diff --git a/include/xine/video_overlay.h b/include/xine/video_overlay.h index c82227513..a43ad1211 100644 --- a/include/xine/video_overlay.h +++ b/include/xine/video_overlay.h @@ -61,7 +61,7 @@ typedef struct video_overlay_event_s { video_overlay_manager_t *_x_video_overlay_new_manager(xine_t *) XINE_MALLOC XINE_PROTECTED; -void _x_overlay_clut_yuv2rgb(vo_overlay_t *overlay) XINE_PROTECTED; +void _x_overlay_clut_yuv2rgb(vo_overlay_t *overlay, int color_matrix) XINE_PROTECTED; void _x_overlay_to_argb32(const vo_overlay_t *overlay, uint32_t *rgba, int stride, const char *format) XINE_PROTECTED; #endif -- cgit v1.2.3