summaryrefslogtreecommitdiff
path: root/src/post/planar
diff options
context:
space:
mode:
Diffstat (limited to 'src/post/planar')
-rw-r--r--src/post/planar/boxblur.c11
-rw-r--r--src/post/planar/denoise3d.c9
-rw-r--r--src/post/planar/eq.c9
-rw-r--r--src/post/planar/eq2.c9
-rw-r--r--src/post/planar/unsharp.c9
5 files changed, 31 insertions, 16 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);
diff --git a/src/post/planar/denoise3d.c b/src/post/planar/denoise3d.c
index ab9ece93f..595fbce73 100644
--- a/src/post/planar/denoise3d.c
+++ b/src/post/planar/denoise3d.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: denoise3d.c,v 1.2 2003/07/03 02:24:28 miguelfreitas Exp $
+ * $Id: denoise3d.c,v 1.3 2003/07/12 03:15:23 miguelfreitas Exp $
*
* mplayer's denoise3d
* Copyright (C) 2003 Daniel Moreno <comac@comac.darktech.org>
@@ -433,8 +433,11 @@ static int denoise3d_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;
diff --git a/src/post/planar/eq.c b/src/post/planar/eq.c
index af317e8c2..f79482a8f 100644
--- a/src/post/planar/eq.c
+++ b/src/post/planar/eq.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: eq.c,v 1.1 2003/06/29 18:56:24 miguelfreitas Exp $
+ * $Id: eq.c,v 1.2 2003/07/12 03:15:23 miguelfreitas Exp $
*
* mplayer's eq (soft video equalizer)
* Copyright (C) Richard Felker
@@ -466,8 +466,11 @@ static int eq_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;
diff --git a/src/post/planar/eq2.c b/src/post/planar/eq2.c
index c6c7332c2..91f926d54 100644
--- a/src/post/planar/eq2.c
+++ b/src/post/planar/eq2.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: eq2.c,v 1.2 2003/07/03 02:24:28 miguelfreitas Exp $
+ * $Id: eq2.c,v 1.3 2003/07/12 03:15:23 miguelfreitas Exp $
*
* mplayer's eq2 (soft video equalizer)
* Software equalizer (brightness, contrast, gamma, saturation)
@@ -663,8 +663,11 @@ static int eq2_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;
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 <rguyom@pobox.com>
@@ -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;