diff options
author | Matthias Dahl <matt2000@users.sourceforge.net> | 2001-11-03 13:57:34 +0000 |
---|---|---|
committer | Matthias Dahl <matt2000@users.sourceforge.net> | 2001-11-03 13:57:34 +0000 |
commit | a1e1a6edcb9b7a82bfc2c4aa6a34cf2f761698a5 (patch) | |
tree | 8f4c77230419c02a448607715e63b744ac546704 /src/video_out/alphablend.h | |
parent | fb9dd420fe74f1c6a9664ac9e3467d9a10192a98 (diff) | |
download | xine-lib-a1e1a6edcb9b7a82bfc2c4aa6a34cf2f761698a5.tar.gz xine-lib-a1e1a6edcb9b7a82bfc2c4aa6a34cf2f761698a5.tar.bz2 |
Fixed a bad bug in the new SyncFB plugin that caused it to crash easily. And
finally added overlay blending support. Also cleaned up the alphablend
header file and added new blend_yuv function that uses the vo_frame_t struct
for its blending.
CVS patchset: 934
CVS date: 2001/11/03 13:57:34
Diffstat (limited to 'src/video_out/alphablend.h')
-rw-r--r-- | src/video_out/alphablend.h | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/src/video_out/alphablend.h b/src/video_out/alphablend.h index c973c59ed..bb3f4ae59 100644 --- a/src/video_out/alphablend.h +++ b/src/video_out/alphablend.h @@ -1,4 +1,3 @@ - /* * * Copyright (C) 2000 Thomas Mirlacher @@ -35,17 +34,23 @@ typedef struct { /* CLUT == Color LookUp Table */ uint8_t foo : 8; } __attribute__ ((packed)) clut_t; -void blend_rgb16 (uint8_t * img, vo_overlay_t * overlay, +void blend_rgb16 (uint8_t * img, vo_overlay_t * img_overl, int img_width, int img_height, - int delivered_width, int delivered_height); -void blend_rgb24 (uint8_t * img, vo_overlay_t * overlay, + int dst_width, int dst_height); + +void blend_rgb24 (uint8_t * img, vo_overlay_t * img_overl, int img_width, int img_height, - int delivered_iwdth, int delivered_height); -void blend_rgb32 (uint8_t * img, vo_overlay_t * overlay, + int dst_width, int dst_height); + +void blend_rgb32 (uint8_t * img, vo_overlay_t * img_overl, 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); + int dst_width, int dst_height); + +void blend_yuv (uint8_t * dst_img, vo_overlay_t * img_overl, + int dst_width, int dst_height); + +void blend_yuv_vo_frame(vo_frame_t* dst_img, vo_overlay_t* img_overl); + void crop_overlay (vo_overlay_t * overlay); #endif |