diff options
| author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2001-11-30 12:31:58 +0000 |
|---|---|---|
| committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2001-11-30 12:31:58 +0000 |
| commit | 007547a49a8e47984bfaf782031e3554bdba831c (patch) | |
| tree | f94aaa6d4978664648e5148fec745bfbe6a29321 /src/video_out/video_out_xv.c | |
| parent | 734cc322c4ad155c4be0b9cc19034318dfc7731f (diff) | |
| download | xine-lib-007547a49a8e47984bfaf782031e3554bdba831c.tar.gz xine-lib-007547a49a8e47984bfaf782031e3554bdba831c.tar.bz2 | |
blend_yuy2 now available
CVS patchset: 1141
CVS date: 2001/11/30 12:31:58
Diffstat (limited to 'src/video_out/video_out_xv.c')
| -rw-r--r-- | src/video_out/video_out_xv.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c index 938d6349f..4bb5c60d8 100644 --- a/src/video_out/video_out_xv.c +++ b/src/video_out/video_out_xv.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_xv.c,v 1.81 2001/11/28 22:19:12 miguelfreitas Exp $ + * $Id: video_out_xv.c,v 1.82 2001/11/30 12:32:01 miguelfreitas Exp $ * * video_out_xv.c, X11 video extension interface for xine * @@ -784,7 +784,10 @@ static void xv_overlay_blend (vo_driver_t *this_gen, vo_frame_t *frame_gen, vo_o */ if (overlay->rle) { - blend_yuv( frame->image->data, overlay, frame->width, frame->height); + if( frame->format == IMGFMT_YV12 ) + blend_yuv( frame->image->data, overlay, frame->width, frame->height); + else + blend_yuy2( frame->image->data, overlay, frame->width, frame->height); } } @@ -841,11 +844,6 @@ static void xv_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen) { xv_calc_format (this, frame->width, frame->height, frame->ratio_code); } - /* Alpha Blend here - if (this->overlay) { - blend_yuv( frame->image->data, this->overlay, frame->width, frame->height); - } */ - if (this->deinterlace_enabled && this->deinterlace_method) xv_deinterlace_frame (this); |
