summaryrefslogtreecommitdiff
path: root/src/video_out/alphablend.h
diff options
context:
space:
mode:
authorJuergen Keil <jkeil@users.sourceforge.net>2001-10-09 09:50:22 +0000
committerJuergen Keil <jkeil@users.sourceforge.net>2001-10-09 09:50:22 +0000
commit641d2f4ba232ebfc9d7d7b2ba70eb34e951bd51b (patch)
treea9d0dd817f0d5de56a687454f62a6bdd612d7ae8 /src/video_out/alphablend.h
parentc4ef31142425708cd43d8d02709fc2536b889277 (diff)
downloadxine-lib-641d2f4ba232ebfc9d7d7b2ba70eb34e951bd51b.tar.gz
xine-lib-641d2f4ba232ebfc9d7d7b2ba70eb34e951bd51b.tar.bz2
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
Diffstat (limited to 'src/video_out/alphablend.h')
-rw-r--r--src/video_out/alphablend.h20
1 files changed, 11 insertions, 9 deletions
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