~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to app/base/lut-funcs.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* The GIMP -- an image manipulation program
 
1
/* GIMP - The GNU Image Manipulation Program
2
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
20
20
#define __LUT_FUNCS_H__
21
21
 
22
22
 
23
 
/* brightness contrast */
24
 
GimpLut * brightness_contrast_lut_new   (gdouble  brightness,
25
 
                                         gdouble  contrast,
26
 
                                         gint     n_channels);
27
 
void      brightness_contrast_lut_setup (GimpLut *lut,
28
 
                                         gdouble  brightness,
29
 
                                         gdouble  contrast,
30
 
                                         gint     n_channels);
31
 
 
32
 
/* invert */
33
 
GimpLut * invert_lut_new                (gint     n_channels);
34
 
void      invert_lut_setup              (GimpLut *lut,
35
 
                                         gint     n_channels);
36
 
 
37
 
/* add (or subtract) */
38
 
GimpLut * add_lut_new                   (gdouble  amount,
39
 
                                         gint     n_channels);
40
 
void      add_lut_setup                 (GimpLut *lut,
41
 
                                         gdouble  amount,
42
 
                                         gint     n_channels);
43
 
 
44
 
/* intersect (MIN (pixel, value)) */
45
 
GimpLut * intersect_lut_new             (gdouble  value,
46
 
                                         gint     n_channels);
47
 
void      intersect_lut_setup           (GimpLut *lut,
48
 
                                         gdouble  value,
49
 
                                         gint     n_channels);
50
 
 
51
 
/* threshold */
52
 
GimpLut * threshold_lut_new             (gdouble  value,
53
 
                                         gint     n_channels);
54
 
void      threshold_lut_setup           (GimpLut *lut,
55
 
                                         gdouble  value,
56
 
                                         gint     n_channels);
57
 
 
58
 
/* posterize */
59
 
GimpLut * posterize_lut_new             (gint     levels,
60
 
                                         gint     n_channels);
61
 
void      posterize_lut_setup           (GimpLut *lut,
62
 
                                         gint     levels,
63
 
                                         gint     n_channels);
64
 
 
65
 
/* equalize histogram */
66
 
GimpLut * eq_histogram_lut_new          (GimpHistogram *histogram,
67
 
                                         gint           n_channels);
68
 
void      eq_histogram_lut_setup        (GimpLut       *lut,
69
 
                                         GimpHistogram *histogram,
70
 
                                         gint           n_channels);
 
23
GimpLut * brightness_contrast_lut_new   (gdouble        brightness,
 
24
                                         gdouble        contrast,
 
25
                                         gint           n_channels);
 
26
void      brightness_contrast_lut_setup (GimpLut       *lut,
 
27
                                         gdouble        brightness,
 
28
                                         gdouble        contrast,
 
29
                                         gint           n_channels);
 
30
 
 
31
GimpLut * invert_lut_new                (gint           n_channels);
 
32
 
 
33
GimpLut * add_lut_new                   (gdouble        amount,
 
34
                                         gint           n_channels);
 
35
 
 
36
GimpLut * intersect_lut_new             (gdouble        value,
 
37
                                         gint           n_channels);
 
38
 
 
39
GimpLut * threshold_lut_new             (gdouble        value,
 
40
                                         gint           n_channels);
 
41
 
 
42
GimpLut * posterize_lut_new             (gint           levels,
 
43
                                         gint           n_channels);
 
44
void      posterize_lut_setup           (GimpLut       *lut,
 
45
                                         gint           levels,
 
46
                                         gint           n_channels);
 
47
 
 
48
GimpLut * equalize_lut_new              (GimpHistogram *histogram,
 
49
                                         gint           n_channels);
71
50
 
72
51
 
73
52
#endif /* __LUT_FUNCS_H__ */