/* GdkPixbuf library - Scaling and compositing functions
*
- * Copyright (C) 1999 The Free Software Foundation
- *
+ * Original:
+ * Copyright (C) 2000 Red Hat, Inc
* Author: Owen Taylor <otaylor@redhat.com>
- * Modified for YUV422 by: Dan Dennedy <dan@dennedy.org>
+ *
+ * Modification for MLT:
+ * Copyright (C) 2003-2004 Ushodaya Enterprises Limited
+ * Author: Dan Dennedy <dan@dennedy.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
#define yuv422_scale_simple( dest_buf, dest_width, dest_height, dest_rowstride, src_buf, src_width, src_height, src_rowstride, interp_type ) \
yuv422_scale( (dest_buf), 0, 0, \
- (dest_width)/2, (dest_height), \
- (dest_rowstride), 4, 0, \
- (src_buf), (src_width)/2, (src_height), \
- (src_rowstride), 4, 0, \
+ (dest_width), (dest_height), \
+ (dest_rowstride), 2, 0, \
+ (src_buf), (src_width), (src_height), \
+ (src_rowstride), 2, 0, \
(double) (dest_width) / (src_width), (double) (dest_height) / (src_height), \
(PixopsInterpType) interp_type );