diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-04-17 19:54:31 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-04-17 19:54:31 +0000 |
commit | 1f6f435497b141d52e6c8cd97eec59da79001ae1 (patch) | |
tree | 6b890c6adeee97256e5c5b689eeafc37e2e4dc22 /src/post/planar/eq.c | |
parent | d36467d469f721beb0bb689c09e52cff61b1e982 (diff) | |
download | xine-lib-1f6f435497b141d52e6c8cd97eec59da79001ae1.tar.gz xine-lib-1f6f435497b141d52e6c8cd97eec59da79001ae1.tar.bz2 |
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
Diffstat (limited to 'src/post/planar/eq.c')
-rw-r--r-- | src/post/planar/eq.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/post/planar/eq.c b/src/post/planar/eq.c index 7925d3e31..e28a71192 100644 --- a/src/post/planar/eq.c +++ b/src/post/planar/eq.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: eq.c,v 1.11 2004/01/07 19:52:42 mroi Exp $ + * $Id: eq.c,v 1.12 2004/04/17 19:54:32 mroi Exp $ * * mplayer's eq (soft video equalizer) * Copyright (C) Richard Felker @@ -373,7 +373,7 @@ static int eq_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], @@ -390,7 +390,7 @@ static int eq_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); @@ -407,15 +407,15 @@ static int eq_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; |