diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-07-12 03:15:23 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-07-12 03:15:23 +0000 |
commit | 1c2ef49e2d05a397a734de6e602a0cfeb752e5fd (patch) | |
tree | 813714b485500407adf0385985ea6c765f531bea /src/post/planar/boxblur.c | |
parent | db35ded6b3685806459f15a5c81de2e7addec7b9 (diff) | |
download | xine-lib-1c2ef49e2d05a397a734de6e602a0cfeb752e5fd.tar.gz xine-lib-1c2ef49e2d05a397a734de6e602a0cfeb752e5fd.tar.bz2 |
use yuy2_to_yv12
CVS patchset: 5147
CVS date: 2003/07/12 03:15:23
Diffstat (limited to 'src/post/planar/boxblur.c')
-rw-r--r-- | src/post/planar/boxblur.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/post/planar/boxblur.c b/src/post/planar/boxblur.c index d28ee12da..52fe67279 100644 --- a/src/post/planar/boxblur.c +++ b/src/post/planar/boxblur.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: boxblur.c,v 1.2 2003/07/03 02:24:28 miguelfreitas Exp $ + * $Id: boxblur.c,v 1.3 2003/07/12 03:15:23 miguelfreitas Exp $ * * mplayer's boxblur * Copyright (C) 2002 Michael Niedermayer <michaelni@gmx.at> @@ -422,9 +422,12 @@ static int boxblur_draw(vo_frame_t *frame, xine_stream_t *stream) yv12_frame->duration = frame->duration; extra_info_merge(yv12_frame->extra_info, frame->extra_info); - /* FIXME: implement! */ - /* yuy2_to_yv12() */ - + yuy2_to_yv12(frame->base[0], frame->pitches[0], + yv12_frame->base[0], yv12_frame->pitches[0], + yv12_frame->base[1], yv12_frame->pitches[1], + yv12_frame->base[2], yv12_frame->pitches[2], + frame->width, frame->height); + } else { yv12_frame = frame; yv12_frame->lock(yv12_frame); |