X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fgtk2%2Fpixops.h;h=5b159fabfaddab3bfc640867fe35b055a4a17f65;hb=cc529cc40228368ad022902a9c8b550e425a6150;hp=37d6f37536349d18fea9a61aa2a4f5be1543f701;hpb=5f0547204a5a08185e9d8162016cc2ec9a670486;p=melted diff --git a/src/modules/gtk2/pixops.h b/src/modules/gtk2/pixops.h index 37d6f37..5b159fa 100644 --- a/src/modules/gtk2/pixops.h +++ b/src/modules/gtk2/pixops.h @@ -1,9 +1,12 @@ /* GdkPixbuf library - Scaling and compositing functions * - * Copyright (C) 1999 The Free Software Foundation - * + * Original: + * Copyright (C) 2000 Red Hat, Inc * Author: Owen Taylor - * Modified for YUV422 by: Dan Dennedy + * + * Modification for MLT: + * Copyright (C) 2003-2004 Ushodaya Enterprises Limited + * Author: Dan Dennedy * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -59,10 +62,10 @@ void yuv422_scale (guchar *dest_buf, #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 );