From 641d2f4ba232ebfc9d7d7b2ba70eb34e951bd51b Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Tue, 9 Oct 2001 09:50:22 +0000 Subject: blend_rgb* with rle-image scaling. Used by the XShm video_out driver. This fixes the position and size for button hilights using the dvdnav plugin and position and size of subtitles. CVS patchset: 773 CVS date: 2001/10/09 09:50:22 --- src/video_out/alphablend.h | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'src/video_out/alphablend.h') diff --git a/src/video_out/alphablend.h b/src/video_out/alphablend.h index 66f4e512b..c973c59ed 100644 --- a/src/video_out/alphablend.h +++ b/src/video_out/alphablend.h @@ -35,15 +35,17 @@ typedef struct { /* CLUT == Color LookUp Table */ 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, - int height); -void blend_rgb32 (uint8_t * img, vo_overlay_t * overlay, int width, - int height); -void blend_yuv (uint8_t * img, vo_overlay_t * overlay, int width, - - int height); +void blend_rgb16 (uint8_t * img, vo_overlay_t * overlay, + int img_width, int img_height, + int delivered_width, int delivered_height); +void blend_rgb24 (uint8_t * img, vo_overlay_t * overlay, + int img_width, int img_height, + int delivered_iwdth, int delivered_height); +void blend_rgb32 (uint8_t * img, vo_overlay_t * overlay, + int img_width, int img_height, + int delivered_iwdth, int delivered_height); +void blend_yuv (uint8_t * img, vo_overlay_t * overlay, + int width, int height); void crop_overlay (vo_overlay_t * overlay); #endif -- cgit v1.2.3