From 1c2ef49e2d05a397a734de6e602a0cfeb752e5fd Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sat, 12 Jul 2003 03:15:23 +0000 Subject: use yuy2_to_yv12 CVS patchset: 5147 CVS date: 2003/07/12 03:15:23 --- src/post/planar/unsharp.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/post/planar/unsharp.c') diff --git a/src/post/planar/unsharp.c b/src/post/planar/unsharp.c index ca15f66e4..97fef8acc 100644 --- a/src/post/planar/unsharp.c +++ b/src/post/planar/unsharp.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: unsharp.c,v 1.2 2003/07/03 02:24:28 miguelfreitas Exp $ + * $Id: unsharp.c,v 1.3 2003/07/12 03:15:23 miguelfreitas Exp $ * * mplayer's unsharp * Copyright (C) 2002 Rémi Guyomarch @@ -475,8 +475,11 @@ static int unsharp_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; -- cgit v1.2.3