2008-10-28 06:50:57 +00:00
|
|
|
/* Goom Project
|
|
|
|
* Copyright (C) <2003> Guillaume Borios, iOS-Software
|
2008-02-23 01:51:37 +00:00
|
|
|
*
|
2008-10-28 06:50:57 +00:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
2008-02-23 01:51:37 +00:00
|
|
|
*
|
2008-10-28 06:50:57 +00:00
|
|
|
* This library 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
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
2008-02-23 01:51:37 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* Generic PowerPC Code */
|
|
|
|
void ppc_brightness_generic(Pixel *src, Pixel *dest, int size, int coeff);
|
|
|
|
|
|
|
|
/* G4 Specific PowerPC Code (Possible use of Altivec and Data Streams) */
|
|
|
|
void ppc_brightness_G4(Pixel *src, Pixel *dest, int size, int coeff);
|
|
|
|
|
|
|
|
/* G5 Specific PowerPC Code (Possible use of Altivec) */
|
|
|
|
void ppc_brightness_G5(Pixel *src, Pixel *dest, int size, int coeff);
|
|
|
|
|