X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fgamma.h;h=a15a87cd3061eaced18adf2e331d2b33a1e0416d;hb=e7e1794959f6b4af0d60d69b5501adcd305f2207;hp=b90894b8d8de35d04103ff267f8cd1a847bfd97f;hpb=e3acc0b267b14fda5db3c7bbb2f218b993ef84b3;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/gamma.h b/synfig-core/trunk/src/synfig/gamma.h index b90894b..a15a87c 100644 --- a/synfig-core/trunk/src/synfig/gamma.h +++ b/synfig-core/trunk/src/synfig/gamma.h @@ -1,28 +1,29 @@ -/* === S I N F G =========================================================== */ +/* === S Y N F I G ========================================================= */ /*! \file gamma.h ** \brief Template Header ** ** $Id: gamma.h,v 1.1.1.1 2005/01/04 01:23:14 darco Exp $ ** ** \legal -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** This package 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. ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** This package 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. ** \endlegal */ /* ========================================================================= */ /* === S T A R T =========================================================== */ -#ifndef __SINFG_GAMMA_H -#define __SINFG_GAMMA_H +#ifndef __SYNFIG_GAMMA_H +#define __SYNFIG_GAMMA_H /* === H E A D E R S ======================================================= */ @@ -34,7 +35,7 @@ /* === C L A S S E S & S T R U C T S ======================================= */ -namespace sinfg { +namespace synfig { /*! \class Gamma ** \brief This class performs color correction on Color classes. @@ -100,7 +101,7 @@ public: float b_F32_to_F32(float x)const { return static_cast(pow(x,gamma_b)*(1.0f-black_level)+black_level); } }; // END of class Gamma -}; // END of namespace sinfg +}; // END of namespace synfig /* === E N D =============================================================== */