resize-private.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2020 ImageMagick Studio LLC, a non-profit organization
00003   dedicated to making software imaging solutions freely available.
00004   
00005   You may not use this file except in compliance with the License.  You may
00006   obtain a copy of the License at
00007   
00008     https://imagemagick.org/script/license.php
00009   
00010   Unless required by applicable law or agreed to in writing, software
00011   distributed under the License is distributed on an "AS IS" BASIS,
00012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013   See the License for the specific language governing permissions and
00014   limitations under the License.
00015 
00016   MagickCore image resize private methods.
00017 */
00018 #ifndef MAGICKCORE_RESIZE_PRIVATE_H
00019 #define MAGICKCORE_RESIZE_PRIVATE_H
00020 
00021 #if defined(__cplusplus) || defined(c_plusplus)
00022 extern "C" {
00023 #endif
00024 
00025 typedef enum
00026 {
00027   BoxWeightingFunction = 0,
00028   TriangleWeightingFunction,
00029   CubicBCWeightingFunction,
00030   HannWeightingFunction,
00031   HammingWeightingFunction,
00032   BlackmanWeightingFunction,
00033   GaussianWeightingFunction,
00034   QuadraticWeightingFunction,
00035   JincWeightingFunction,
00036   SincWeightingFunction,
00037   SincFastWeightingFunction,
00038   KaiserWeightingFunction,
00039   WelchWeightingFunction,
00040   BohmanWeightingFunction,
00041   LagrangeWeightingFunction,
00042   CosineWeightingFunction,
00043   LastWeightingFunction
00044 } ResizeWeightingFunctionType;
00045 
00046 extern MagickPrivate double
00047   *GetResizeFilterCoefficient(const ResizeFilter*),
00048   GetResizeFilterBlur(const ResizeFilter *),
00049   GetResizeFilterScale(const ResizeFilter *),
00050   GetResizeFilterWindowSupport(const ResizeFilter *),
00051   GetResizeFilterSupport(const ResizeFilter *),
00052   GetResizeFilterWeight(const ResizeFilter *,const double);
00053 
00054 extern MagickPrivate ResizeFilter
00055   *AcquireResizeFilter(const Image *,const FilterType,const MagickBooleanType,
00056     ExceptionInfo *),
00057   *DestroyResizeFilter(ResizeFilter *);
00058 
00059 extern MagickPrivate ResizeWeightingFunctionType
00060   GetResizeFilterWeightingType(const ResizeFilter *),
00061   GetResizeFilterWindowWeightingType(const ResizeFilter *);
00062 
00063 #if defined(__cplusplus) || defined(c_plusplus)
00064 }
00065 #endif
00066 
00067 #endif

Generated on 9 Mar 2020 for MagickCore by  doxygen 1.6.1