# HG changeset patch # User diego # Date 1215177167 0 # Node ID d5d7ecbbf0d82673e1a1cf9dcb34d54daf20a8e0 # Parent 01526c8e2d75b0df51110d16404f30d9886ad74b Place license header at the top of the file for consistency. diff -r 01526c8e2d75 -r d5d7ecbbf0d8 libswscale/yuv2rgb_altivec.c --- a/libswscale/yuv2rgb_altivec.c Fri Jul 04 13:02:12 2008 +0000 +++ b/libswscale/yuv2rgb_altivec.c Fri Jul 04 13:12:47 2008 +0000 @@ -1,8 +1,26 @@ /* - marc.hoffman@analog.com March 8, 2004 + * AltiVec acceleration for colorspace conversion + * + * copyright (C) 2004 Marc Hoffman + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * FFmpeg is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with FFmpeg; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ - AltiVec acceleration for colorspace conversion revision 0.2 - +/* convert I420 YV12 to RGB in various formats, it rejects images that are not in 420 formats it rejects images that don't have widths of multiples of 16 @@ -62,24 +80,6 @@ Integrated luma prescaling adjustment for saturation/contrast/brightness adjustment. */ -/* - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * FFmpeg is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with FFmpeg; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - #include #include #include