mirror of https://github.com/GNOME/gimp.git
app: lch color modes remove unneeded includes
This commit is contained in:
parent
0b1f684e8f
commit
feb2bb4083
|
@ -5,6 +5,7 @@
|
|||
* Copyright (C) 2015 Elle Stone <ellestone@ninedegreesbelow.com>
|
||||
* Massimo Valentini <mvalentini@src.gnome.org>
|
||||
* Thomas Manni <thomas.manni@free.fr>
|
||||
* 2017 Øyvind Kolås <pippin@gimp.org>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -21,18 +22,11 @@
|
|||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <cairo.h>
|
||||
#include <gegl-plugin.h>
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
|
||||
#include "libgimpmath/gimpmath.h"
|
||||
|
||||
#include <math.h>
|
||||
#include "../operations-types.h"
|
||||
|
||||
#include "gimpoperationlchchroma.h"
|
||||
|
||||
|
||||
static gboolean gimp_operation_lch_chroma_process (GeglOperation *operation,
|
||||
void *in_buf,
|
||||
void *aux_buf,
|
||||
|
@ -109,7 +103,7 @@ chroma_pre_process (const Babl *format,
|
|||
{
|
||||
gfloat A1 = out[4 * i + 1];
|
||||
gfloat B1 = out[4 * i + 2];
|
||||
gfloat c1 = hypot (A1, B1);
|
||||
gfloat c1 = hypotf (A1, B1);
|
||||
|
||||
if (c1 != 0)
|
||||
{
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
* Copyright (C) 2015 Elle Stone <ellestone@ninedegreesbelow.com>
|
||||
* Massimo Valentini <mvalentini@src.gnome.org>
|
||||
* Thomas Manni <thomas.manni@free.fr>
|
||||
* 2017 Øyvind Kolås <pippin@gimp.org>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -20,16 +21,9 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <cairo.h>
|
||||
#include "config.h"
|
||||
#include <gegl-plugin.h>
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
|
||||
#include "libgimpcolor/gimpcolor.h"
|
||||
|
||||
#include "../operations-types.h"
|
||||
|
||||
#include "gimpoperationlchcolor.h"
|
||||
|
||||
|
||||
|
|
|
@ -21,16 +21,10 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <cairo.h>
|
||||
#include "config.h"
|
||||
#include <gegl-plugin.h>
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
|
||||
#include "libgimpmath/gimpmath.h"
|
||||
|
||||
#include <math.h>
|
||||
#include "../operations-types.h"
|
||||
|
||||
#include "gimpoperationlchhue.h"
|
||||
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
* Copyright (C) 2015 Elle Stone <ellestone@ninedegreesbelow.com>
|
||||
* Massimo Valentini <mvalentini@src.gnome.org>
|
||||
* Thomas Manni <thomas.manni@free.fr>
|
||||
* 2017 Øyvind Kolås <pippin@gimp.org>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -22,12 +23,7 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <cairo.h>
|
||||
#include <gegl-plugin.h>
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
|
||||
#include "libgimpcolor/gimpcolor.h"
|
||||
|
||||
#include "../operations-types.h"
|
||||
|
||||
#include "gimpoperationlchlightness.h"
|
||||
|
|
Loading…
Reference in New Issue