From 1f6f435497b141d52e6c8cd97eec59da79001ae1 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Sat, 17 Apr 2004 19:54:31 +0000 Subject: swap usage of "up" and "down" to the more common meaning: "down" is the usual datapath from decoder to output, "up" is the opposite way -> this means swapping two function names -> this means increasing the post plugin iface version external plugin developers: just swap usage of _x_post_frame_copy_up() and _x_post_frame_copy_down() functions CVS patchset: 6412 CVS date: 2004/04/17 19:54:31 --- src/post/planar/boxblur.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/post/planar/boxblur.c') diff --git a/src/post/planar/boxblur.c b/src/post/planar/boxblur.c index f85b6ad31..34117915f 100644 --- a/src/post/planar/boxblur.c +++ b/src/post/planar/boxblur.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000-2003 the xine project + * Copyright (C) 2000-2004 the xine project * * This file is part of xine, a free video player. * @@ -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.12 2004/01/07 19:52:42 mroi Exp $ + * $Id: boxblur.c,v 1.13 2004/04/17 19:54:32 mroi Exp $ * * mplayer's boxblur * Copyright (C) 2002 Michael Niedermayer @@ -322,7 +322,7 @@ static int boxblur_draw(vo_frame_t *frame, xine_stream_t *stream) yv12_frame = port->original_port->get_frame(port->original_port, frame->width, frame->height, frame->ratio, XINE_IMGFMT_YV12, frame->flags | VO_BOTH_FIELDS); - _x_post_frame_copy_up(frame, yv12_frame); + _x_post_frame_copy_down(frame, yv12_frame); yuy2_to_yv12(frame->base[0], frame->pitches[0], yv12_frame->base[0], yv12_frame->pitches[0], @@ -339,7 +339,7 @@ static int boxblur_draw(vo_frame_t *frame, xine_stream_t *stream) out_frame = port->original_port->get_frame(port->original_port, frame->width, frame->height, frame->ratio, XINE_IMGFMT_YV12, frame->flags | VO_BOTH_FIELDS); - _x_post_frame_copy_up(frame, out_frame); + _x_post_frame_copy_down(frame, out_frame); pthread_mutex_lock (&this->lock); @@ -368,15 +368,15 @@ static int boxblur_draw(vo_frame_t *frame, xine_stream_t *stream) skip = out_frame->draw(out_frame, stream); - _x_post_frame_copy_down(frame, out_frame); + _x_post_frame_copy_up(frame, out_frame); out_frame->free(out_frame); yv12_frame->free(yv12_frame); } else { - _x_post_frame_copy_up(frame, frame->next); - skip = frame->next->draw(frame->next, stream); _x_post_frame_copy_down(frame, frame->next); + skip = frame->next->draw(frame->next, stream); + _x_post_frame_copy_up(frame, frame->next); } return skip; -- cgit v1.2.3