github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/graphics-magick/include/GraphicsMagick/magick/gem.h (about)

     1  /*
     2    Copyright (C) 2003-2009 GraphicsMagick Group
     3    Copyright (C) 2002 ImageMagick Studio
     4  
     5    This program is covered by multiple licenses, which are described in
     6    Copyright.txt. You should have received a copy of Copyright.txt with this
     7    package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
     8  
     9    Graphic Gems - Graphic Support Methods.
    10  */
    11  #ifndef _MAGICK_GEM_H
    12  #define _MAGICK_GEM_H
    13  
    14  #include "magick/random.h"
    15  
    16  #if defined(__cplusplus) || defined(c_plusplus)
    17  extern "C" {
    18  #endif
    19  
    20  /*
    21    Graphic gems define declarations.
    22  */
    23  extern MagickExport double
    24    ExpandAffine(const AffineMatrix *),
    25    GenerateDifferentialNoise(const Quantum pixel,const NoiseType noise_type,
    26      MagickRandomKernel *kernel);
    27  
    28  extern MagickExport int
    29    GetOptimalKernelWidth(const double,const double),
    30    GetOptimalKernelWidth1D(const double,const double),
    31    GetOptimalKernelWidth2D(const double,const double);
    32  
    33  
    34  extern MagickExport Quantum
    35    GenerateNoise(const Quantum,const NoiseType);
    36  
    37  extern MagickExport void
    38    Contrast(const int,Quantum *,Quantum *,Quantum *),
    39    HSLTransform(const double,const double,const double,Quantum *,Quantum *,
    40      Quantum *),
    41    HWBTransform(const double,const double,const double,Quantum *,Quantum *,
    42      Quantum *),
    43    Hull(const long,const long,const unsigned long,const unsigned long,Quantum *,
    44      Quantum *,const int),
    45    IdentityAffine(AffineMatrix *),
    46    Modulate(const double,const double,const double,Quantum *,Quantum *,
    47      Quantum *),
    48    TransformHSL(const Quantum,const Quantum,const Quantum,double *,double *,
    49      double *),
    50    TransformHWB(const Quantum,const Quantum,const Quantum,double *,double *,
    51      double *);
    52  
    53  #if defined(__cplusplus) || defined(c_plusplus)
    54  }
    55  #endif
    56  
    57  #endif
    58  
    59  /*
    60   * Local Variables:
    61   * mode: c
    62   * c-basic-offset: 2
    63   * fill-column: 78
    64   * End:
    65   */