MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/studio.h"
#include "MagickCore/accelerate-private.h"
#include "MagickCore/annotate.h"
#include "MagickCore/artifact.h"
#include "MagickCore/attribute.h"
#include "MagickCore/cache.h"
#include "MagickCore/cache-view.h"
#include "MagickCore/channel.h"
#include "MagickCore/color.h"
#include "MagickCore/color-private.h"
#include "MagickCore/colorspace-private.h"
#include "MagickCore/composite.h"
#include "MagickCore/decorate.h"
#include "MagickCore/distort.h"
#include "MagickCore/draw.h"
#include "MagickCore/effect.h"
#include "MagickCore/enhance.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/fx.h"
#include "MagickCore/fx-private.h"
#include "MagickCore/gem.h"
#include "MagickCore/gem-private.h"
#include "MagickCore/geometry.h"
#include "MagickCore/layer.h"
#include "MagickCore/list.h"
#include "MagickCore/log.h"
#include "MagickCore/image.h"
#include "MagickCore/image-private.h"
#include "MagickCore/magick.h"
#include "MagickCore/memory_.h"
#include "MagickCore/memory-private.h"
#include "MagickCore/monitor.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/option.h"
#include "MagickCore/pixel.h"
#include "MagickCore/pixel-accessor.h"
#include "MagickCore/policy.h"
#include "MagickCore/property.h"
#include "MagickCore/quantum.h"
#include "MagickCore/quantum-private.h"
#include "MagickCore/random_.h"
#include "MagickCore/random-private.h"
#include "MagickCore/resample.h"
#include "MagickCore/resample-private.h"
#include "MagickCore/resize.h"
#include "MagickCore/resource_.h"
#include "MagickCore/splay-tree.h"
#include "MagickCore/statistic.h"
#include "MagickCore/string_.h"
#include "MagickCore/thread-private.h"
#include "MagickCore/threshold.h"
#include "MagickCore/token.h"
#include "MagickCore/transform.h"
#include "MagickCore/transform-private.h"
#include "MagickCore/utility.h"
Go to the source code of this file.
Data Structures | |
struct | OperatorT |
struct | ConstantT |
struct | FunctionT |
struct | ImgAttrT |
struct | SymbolT |
struct | ControlT |
struct | TernaryT |
struct | ChannelT |
struct | UserSymbolT |
struct | ElementT |
struct | ImgT |
struct | fxRtT |
struct | _FxInfo |
Macros | |
#define | MaxTokenLen 100 |
#define | RpnInit 100 |
#define | TableExtend 0.1 |
#define | InitNumOprStack 50 |
#define | MinValStackSize 100 |
#define | InitNumUserSymbols 50 |
#define | FirstFunc ((FunctionE) (oNull+1)) |
#define | FirstImgAttr ((ImgAttrE) (fNull+1)) |
#define | FirstSym ((SymbolE) (aNull+1)) |
#define | FirstCont (sNull+1) |
#define | NULL_ADDRESS -2 |
#define | NO_CHAN_QUAL ((PixelChannel) (-1)) |
#define | THIS_CHANNEL ((PixelChannel) (-2)) |
#define | HUE_CHANNEL ((PixelChannel) (-3)) |
#define | SAT_CHANNEL ((PixelChannel) (-4)) |
#define | LIGHT_CHANNEL ((PixelChannel) (-5)) |
#define | INTENSITY_CHANNEL ((PixelChannel) (-6)) |
#define | MaxLen 20 |
#define | MAX_SLIMIT 10 |
#define | FxMaxFunctionDepth 200 |
#define | WHICH_ATTR_CHAN |
#define | WHICH_NON_ATTR_CHAN |
#define | FxImageTag "FxNew/Image" |
Typedefs | |
typedef long double | fxFltType |
Variables | |
static const OperatorT | Operators [] |
static const ConstantT | Constants [] |
static const FunctionT | Functions [] |
static const ImgAttrT | ImgAttrs [] |
static const SymbolT | Symbols [] |
static const ControlT | Controls [] |
static const ChannelT | Channels [] |
static const char * | sElementTypes [] |
#define FxImageTag "FxNew/Image" |
#define FxMaxFunctionDepth 200 |
#define HUE_CHANNEL ((PixelChannel) (-3)) |
#define INTENSITY_CHANNEL ((PixelChannel) (-6)) |
#define LIGHT_CHANNEL ((PixelChannel) (-5)) |
#define MAX_SLIMIT 10 |
#define MaxLen 20 |
#define NO_CHAN_QUAL ((PixelChannel) (-1)) |
#define SAT_CHANNEL ((PixelChannel) (-4)) |
#define THIS_CHANNEL ((PixelChannel) (-2)) |
#define WHICH_ATTR_CHAN |
#define WHICH_NON_ATTR_CHAN |
enum ConstantE |
enum ControlE |
enum ElementTypeE |
enum FunctionE |
enum ImgAttrE |
enum OperatorE |
enum SymbolE |
FxInfo * AcquireFxInfo | ( | const Image * | images, |
const char * | expression, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 4105 of file fx.c.
References AcquireFxInfoPrivate(), and MagickFalse.
|
static |
Definition at line 3966 of file fx.c.
References AcquireCriticalMemory(), AcquireQuantumMemory(), AllocFxRt(), BuildRPN(), CollectStatistics(), ConstantString(), _FxInfo::DebugOpt, DeInitFx(), DestroyFxRt(), DestroyRPN(), DestroyString(), DumpRPN(), DumpTables(), DumpUserSymbols(), _FxInfo::exception, _FxInfo::expression, FileToString(), _FxInfo::fxrts, GetMagickModule, GetMagickResourceLimit(), InitFx(), IsRightsAuthorized(), MagickFalse, _FxInfo::NeedStats, OptionError, PathPolicyDomain, _FxInfo::pex, PolicyError, ReadPolicyRights, RelinquishMagickMemory(), ResourceLimitFatalError, rtEntireImage, _FxInfo::runType, _FxInfo::statistics, _FxInfo::teDepth, ThreadResource, ThrowMagickException(), and TranslateStatementList().
Referenced by AcquireFxInfo(), and FxImage().
|
static |
Definition at line 1218 of file fx.c.
References AddElement(), ElementT::DoPush, _FxInfo::Elements, ElementT::EleNdx, MagickFalse, MagickTrue, rGoto, rIfNotZeroGoto, rIfZeroGoto, rZerStk, and _FxInfo::usedElements.
Referenced by GetFunction(), GetOperand(), ProcessTernaryOpr(), and TranslateExpression().
|
static |
Definition at line 1237 of file fx.c.
References AddElement(), _FxInfo::Elements, etColourConstant, MagickFalse, MagickTrue, oNull, ElementT::type, _FxInfo::usedElements, ElementT::val1, and ElementT::val2.
Referenced by GetOperand().
|
static |
Definition at line 1185 of file fx.c.
References aNull, ElementT::ChannelQual, Controls, ElementT::DoPush, _FxInfo::Elements, ElementT::EleNdx, ExtendRPN(), FirstCont, FirstFunc, fNull, Functions, ElementT::ImgAttrQual, ElementT::lenExp, MagickFalse, MagickTrue, OperatorT::nArgs, FunctionT::nArgs, ControlT::nArgs, ElementT::nArgs, ElementT::nDest, NO_CHAN_QUAL, _FxInfo::numElements, oNull, Operators, ElementT::oprNum, ElementT::pExpStart, rNull, sNull, ElementT::type, TypeOfOpr(), _FxInfo::usedElements, ElementT::val, ElementT::val1, and ElementT::val2.
Referenced by AddAddressingElement(), AddColourElement(), GetFunction(), GetOperand(), GetOperator(), and TranslateExpression().
|
static |
Definition at line 859 of file fx.c.
References ExtendUserSymbols(), UserSymbolT::len, _FxInfo::numUserSymbols, UserSymbolT::pex, _FxInfo::usedUserSymbols, and _FxInfo::UserSymbols.
Referenced by GetOperand().
|
static |
Definition at line 954 of file fx.c.
References AcquireMagickMemory(), AcquireRandomInfo(), _FxInfo::exception, GetMagickModule, GetPseudoRandomValue(), MagickFalse, MagickTrue, _FxInfo::maxUsedOprStack, MinValStackSize, fxRtT::numValStack, fxRtT::random_info, ResourceLimitFatalError, fxRtT::thisPixel, ThrowMagickException(), _FxInfo::usedUserSymbols, fxRtT::usedValStack, fxRtT::UserSymVals, and fxRtT::ValStack.
Referenced by AcquireFxInfoPrivate().
|
static |
Definition at line 912 of file fx.c.
References AcquireMagickMemory(), _FxInfo::Elements, _FxInfo::exception, GetMagickModule, InitNumOprStack, InitNumUserSymbols, MagickFalse, MagickTrue, _FxInfo::maxUsedOprStack, _FxInfo::numElements, _FxInfo::numOprStack, _FxInfo::numUserSymbols, _FxInfo::OperatorStack, ResourceLimitFatalError, RpnInit, ThrowMagickException(), _FxInfo::usedElements, _FxInfo::usedOprStack, _FxInfo::usedUserSymbols, and _FxInfo::UserSymbols.
Referenced by AcquireFxInfoPrivate().
Definition at line 2980 of file fx.c.
References _FxInfo::exception, GetMagickModule, _FxInfo::ImgListLen, OptionError, and ThrowMagickException().
Referenced by ExecuteRPN().
|
static |
Definition at line 2778 of file fx.c.
References _ChannelStatistics::entropy, _FxInfo::exception, GetImageStatistics(), _ChannelStatistics::kurtosis, _ChannelStatistics::maxima, MaxPixelChannels, _ChannelStatistics::mean, _ChannelStatistics::median, _ChannelStatistics::minima, QuantumScale, _ChannelStatistics::skewness, and _ChannelStatistics::standard_deviation.
Referenced by CollectStatistics(), ExecuteRPN(), and ImageStat().
|
static |
Definition at line 2801 of file fx.c.
References AcquireMagickMemory(), CollectOneImgStats(), _FxInfo::exception, GetFirstImageInList(), GetMagickModule, GetNextImageInList(), _FxInfo::GotStats, _FxInfo::image, _FxInfo::ImgListLen, MagickFalse, MagickTrue, ResourceLimitFatalError, _FxInfo::statistics, and ThrowMagickException().
Referenced by AcquireFxInfoPrivate().
|
static |
Definition at line 763 of file fx.c.
References DestroyCacheView(), DestroyRandomInfoTLS(), GetImageListLength(), _FxInfo::image, _FxInfo::Images, _FxInfo::Imgs, MagickTrue, _FxInfo::random_infos, RelinquishMagickMemory(), _FxInfo::statistics, and ImgT::View.
Referenced by AcquireFxInfoPrivate(), and DestroyFxInfo().
Definition at line 4110 of file fx.c.
References DeInitFx(), DestroyFxRt(), DestroyRPN(), DestroyString(), _FxInfo::expression, _FxInfo::fxrts, GetMagickResourceLimit(), _FxInfo::image, _FxInfo::Images, _FxInfo::Imgs, _FxInfo::pex, RelinquishMagickMemory(), and ThreadResource.
Referenced by FxImage(), and InterpretImageProperties().
|
static |
Definition at line 1113 of file fx.c.
References DestroyRandomInfo(), fxRtT::random_info, RelinquishMagickMemory(), fxRtT::usedValStack, fxRtT::UserSymVals, and fxRtT::ValStack.
Referenced by AcquireFxInfoPrivate(), and DestroyFxInfo().
|
static |
Definition at line 1099 of file fx.c.
References _FxInfo::Elements, _FxInfo::numElements, _FxInfo::numOprStack, _FxInfo::OperatorStack, RelinquishMagickMemory(), _FxInfo::usedElements, _FxInfo::usedOprStack, _FxInfo::usedUserSymbols, and _FxInfo::UserSymbols.
Referenced by AcquireFxInfoPrivate(), and DestroyFxInfo().
|
static |
Definition at line 1026 of file fx.c.
References aNull, ElementT::ChannelQual, ElementT::DoPush, _FxInfo::Elements, ElementT::EleNdx, etColourConstant, fP, fSP, fUP, fVP, _FxInfo::GotStats, ElementT::ImgAttrQual, _FxInfo::ImgListLen, ElementT::IsRelative, MagickPathExtent, MagickTrue, _FxInfo::maxUsedOprStack, NameOfUserSym(), ElementT::nArgs, ElementT::nDest, _FxInfo::NeedHsl, _FxInfo::NeedStats, NO_CHAN_QUAL, _FxInfo::numElements, OprInPlace(), ElementT::oprNum, OprStr(), _FxInfo::precision, rCopyFrom, rCopyTo, rGoto, rIfNotZeroGoto, rIfZeroGoto, rtCornerOnly, rtEntireImage, _FxInfo::runType, sElementTypes, THIS_CHANNEL, ElementT::type, _FxInfo::usedElements, ElementT::val, ElementT::val1, and ElementT::val2.
Referenced by AcquireFxInfoPrivate().
|
static |
Definition at line 872 of file fx.c.
References aNull, Controls, FirstCont, FirstFunc, FirstImgAttr, FirstSym, fNull, Functions, ImgAttrs, oNull, Operators, rNull, sNull, OperatorT::str, FunctionT::str, ImgAttrT::str, SymbolT::str, ControlT::str, and Symbols.
Referenced by AcquireFxInfoPrivate().
|
static |
Definition at line 902 of file fx.c.
References MagickPathExtent, NameOfUserSym(), and _FxInfo::usedUserSymbols.
Referenced by AcquireFxInfoPrivate().
|
static |
Definition at line 3090 of file fx.c.
References aDepth, aExtent, aH, aKurtosis, aMaxima, aMean, aMedian, aMinima, aN, aNull, aPage, aPageHt, aPageWid, aPageX, aPageY, aPrintsize, aPrintsizeX, aPrintsizeY, aQuality, aRes, aResX, aResY, aSkewness, aStdDev, aT, aW, aZ, _Image::channel_map, ElementT::ChannelQual, ChkImgNum(), CollectOneImgStats(), _Image::columns, ConvertRGBToHSL(), ElementT::DoPush, _FxInfo::Elements, ElementT::EleNdx, etColourConstant, _FxInfo::exception, _Image::extent, fAbs, fAcos, fAlt, fAsin, fAtan, fAtan2, fCeil, fChannel, fClamp, fCos, fCosh, fDebug, fDo, fDrc, fExp, fFloor, fFor, fGauss, fGcd, fHypot, fIf, _Image::filename, fInt, fIsnan, fLn, fLog, fLogtwo, fMax, fMin, fMod, fNot, fNull, fP, fPow, fRand, fRound, fS, fSign, fSin, fSinc, fSinh, fSP, fSqrt, fSquish, fTan, fTanh, fTrunc, fU, fU0, fUP, fV, fVP, fWhile, FxGcd(), GetCacheViewVirtualPixels(), GetHslFlt(), GetHslInt(), GetImageDepth(), GetIntensity(), GetMagickModule, GetPixelAlpha(), GetPixelBlack(), GetPixelBlue(), GetPixelCyan(), GetPixelGreen(), GetPixelRed(), GetPixelYellow(), GetPseudoRandomValue(), _FxInfo::GotStats, _RectangleInfo::height, HUE_CHANNEL, _FxInfo::image, _FxInfo::Images, ImageStat(), ElementT::ImgAttrQual, _FxInfo::ImgListLen, _FxInfo::ImgNum, _FxInfo::Imgs, INTENSITY_CHANNEL, _Image::interpolate, InterpolatePixelChannel(), IsNaN, ElementT::IsRelative, _ChannelStatistics::kurtosis, ElementT::lenExp, LIGHT_CHANNEL, MagickEpsilon, MagickFalse, MagickPI, MagickTrue, _ChannelStatistics::maxima, _ChannelStatistics::mean, _ChannelStatistics::median, _ChannelStatistics::minima, ElementT::nArgs, _FxInfo::NeedHsl, _FxInfo::NeedStats, NO_CHAN_QUAL, oAdd, oAddEq, oAssign, oBitAnd, oBitNot, oBitOr, oCloseBrace, oCloseBracket, oCloseParen, oColon, oDivide, oDivideEq, oEq, _PixelChannelMap::offset, oGt, oGtEq, oLogAnd, oLogNot, oLogOr, oLshift, oLt, oLtEq, oModulus, oMultiply, oMultiplyEq, oNotEq, oNull, oOpenBrace, oOpenBracket, oOpenParen, oPlusPlus, oPow, ElementT::oprNum, OprStr(), OptionError, oQuery, oRshift, oSubSub, oSubtract, oSubtractEq, oUnaryMinus, oUnaryPlus, _Image::page, PerceptibleReciprocal(), ElementT::pExpStart, PopVal(), _FxInfo::precision, PushVal(), _Image::quality, QuantumScale, fxRtT::random_info, rCopyFrom, rCopyTo, RelinquishMagickMemory(), _Image::resolution, rGoto, rIfNotZeroGoto, rIfZeroGoto, rNull, _Image::rows, rZerStk, sA, SAT_CHANNEL, sB, sC, SetPtrShortExp(), _ExceptionInfo::severity, sG, sHue, sI, sIntensity, sJ, sK, _ChannelStatistics::skewness, sLightness, sLuma, sLuminance, sM, sNull, sO, sR, sSaturation, _ChannelStatistics::standard_deviation, _FxInfo::statistics, sY, THIS_CHANNEL, fxRtT::thisPixel, ThrowMagickException(), ElementT::type, UndefinedException, _FxInfo::usedElements, fxRtT::usedValStack, fxRtT::UserSymVals, ElementT::val, ElementT::val1, ElementT::val2, ImgT::View, WHICH_ATTR_CHAN, WHICH_NON_ATTR_CHAN, _RectangleInfo::width, _PointInfo::x, _RectangleInfo::x, _PointInfo::y, and _RectangleInfo::y.
Referenced by FxEvaluateChannelExpression(), and FxImage().
|
static |
Definition at line 1266 of file fx.c.
References _FxInfo::exception, GetMagickModule, MagickFalse, MagickTrue, OptionError, PeekChar(), _FxInfo::pex, SetShortExp(), and ThrowMagickException().
Referenced by GetFunction(), and MaybeXYWH().
|
static |
Definition at line 1319 of file fx.c.
References _FxInfo::exception, GetMagickModule, MagickFalse, MagickTrue, _FxInfo::numOprStack, _FxInfo::OperatorStack, ResizeMagickMemory(), ResourceLimitFatalError, TableExtend, and ThrowMagickException().
Referenced by PushOperatorStack().
|
static |
Definition at line 992 of file fx.c.
References _FxInfo::Elements, _FxInfo::exception, GetMagickModule, MagickFalse, MagickTrue, _FxInfo::numElements, ResizeMagickMemory(), ResourceLimitFatalError, TableExtend, and ThrowMagickException().
Referenced by AddElement().
|
static |
Definition at line 844 of file fx.c.
References _FxInfo::exception, GetMagickModule, MagickFalse, MagickTrue, _FxInfo::numUserSymbols, ResizeMagickMemory(), ResourceLimitFatalError, TableExtend, ThrowMagickException(), and _FxInfo::UserSymbols.
Referenced by AddUserSymbol().
|
static |
Definition at line 828 of file fx.c.
References UserSymbolT::len, LocaleNCompare(), NULL_ADDRESS, UserSymbolT::pex, _FxInfo::usedUserSymbols, and _FxInfo::UserSymbols.
Referenced by GetOperand().
MagickPrivate MagickBooleanType FxEvaluateChannelExpression | ( | FxInfo * | pfx, |
const PixelChannel | channel, | ||
const ssize_t | x, | ||
const ssize_t | y, | ||
double * | result, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 3936 of file fx.c.
References ExecuteRPN(), _FxInfo::fxrts, GetMagickModule, GetOpenMPThreadId(), _FxInfo::image, _FxInfo::Images, _FxInfo::Imgs, MagickFalse, MagickTrue, OptionError, fxRtT::thisPixel, and ThrowMagickException().
Referenced by InterpretImageProperties().
Definition at line 2969 of file fx.c.
References FxGcd(), and FxMaxFunctionDepth.
Referenced by ExecuteRPN(), and FxGcd().
MagickExport Image * FxImage | ( | const Image * | image, |
const char * | expression, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 4139 of file fx.c.
References AcquireAuthenticCacheView(), AcquireFxInfoPrivate(), AcquireVirtualCacheView(), ClampToQuantum(), CloneImage(), _Image::columns, CopyPixelTrait, _FxInfo::DebugOpt, DestroyCacheView(), DestroyFxInfo(), DestroyImage(), DirectClass, _FxInfo::exception, ExecuteRPN(), _Image::filename, FxImageTag, _FxInfo::fxrts, GetCacheViewVirtualPixels(), GetMagickModule, GetMagickResourceLimit(), GetOpenMPThreadId(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), _FxInfo::image, _FxInfo::Images, _FxInfo::Imgs, IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickPathExtent, MagickTrue, NameOfUserSym(), _FxInfo::precision, _Image::progress_monitor, QuantumRange, QueueCacheViewAuthenticPixels(), _Image::rows, SetImageProgress(), SetImageStorageClass(), SetPixelChannel(), _ExceptionInfo::severity, _Image::signature, SyncCacheViewAuthenticPixels(), fxRtT::thisPixel, ThreadResource, TraceEvent, UndefinedException, UndefinedPixelTrait, _FxInfo::usedUserSymbols, and fxRtT::UserSymVals.
|
static |
Definition at line 1400 of file fx.c.
References aNull, Channels, _FxInfo::exception, FirstImgAttr, fP, fS, fU, fUP, fV, fVP, GetMagickModule, GetToken(), HUE_CHANNEL, _FxInfo::lenToken, LIGHT_CHANNEL, LocaleCompare(), NO_CHAN_QUAL, OptionError, _FxInfo::pex, ChannelT::pixChan, SAT_CHANNEL, SetShortExp(), ChannelT::str, ThrowMagickException(), and _FxInfo::token.
Referenced by GetFunction(), and GetOperand().
|
inlinestatic |
Definition at line 1553 of file fx.c.
References AcquireExceptionInfo(), AllCompliance, _PixelInfo::blue, CopyMagickString(), DestroyExceptionInfo(), _FxInfo::exception, GetMagickModule, GetPixelInfo(), _PixelInfo::green, _FxInfo::image, _FxInfo::lenToken, LocaleCompare(), LocaleNCompare(), MagickColorspaceOptions, MagickFalse, MagickPathExtent, MagickTrue, MaxTokenLen, OptionError, ParseCommandOption(), _FxInfo::pex, QuantumRange, QueryColorCompliance(), _PixelInfo::red, SetShortExp(), ThrowMagickException(), and _FxInfo::token.
Referenced by GetOperand().
|
static |
Definition at line 1383 of file fx.c.
References fP, fS, fU, fV, GetFunction(), GetToken(), _FxInfo::lenToken, and _FxInfo::token.
Referenced by GetFunction().
|
static |
Definition at line 1696 of file fx.c.
References AddAddressingElement(), AddElement(), aNull, ElementT::ChannelQual, CompositePixelChannel, _FxInfo::ContainsDebug, ElementT::DoPush, _FxInfo::Elements, ElementT::EleNdx, etConstant, _FxInfo::exception, ExpectChar(), fChannel, fDebug, fDo, fFor, fIf, FirstFunc, FirstImgAttr, fP, fS, fSP, fU, fU0, Functions, fUP, fV, fVP, fWhile, GetChannelQualifier(), GetCoordQualifier(), GetImgAttrQualifier(), GetMagickModule, HUE_CHANNEL, ElementT::ImgAttrQual, IsQualifier(), ElementT::IsRelative, ElementT::lenExp, _FxInfo::lenToken, LIGHT_CHANNEL, MagickFalse, MagickTrue, FunctionT::nArgs, _FxInfo::NeedHsl, NO_CHAN_QUAL, NULL_ADDRESS, oNull, oOpenBrace, oOpenBracket, oOpenParen, Operators, ElementT::oprNum, OptionError, PeekChar(), _FxInfo::pex, ElementT::pExpStart, PopOprOpenParen(), PushOperatorStack(), rGoto, rIfZeroGoto, rZerStk, SAT_CHANNEL, SetShortExp(), OperatorT::str, FunctionT::str, ThrowMagickException(), _FxInfo::token, TranslateStatementList(), ElementT::type, _FxInfo::usedElements, and ElementT::val.
Referenced by GetCoordQualifier(), and GetOperand().
|
inlinestatic |
Definition at line 1646 of file fx.c.
References AllCompliance, _PixelInfo::blue, CopyMagickString(), _FxInfo::exception, GetMagickModule, GetPixelInfo(), _PixelInfo::green, _FxInfo::image, MaxTokenLen, OptionError, _FxInfo::pex, QuantumRange, QueryColorCompliance(), _PixelInfo::red, SetShortExp(), ThrowMagickException(), and _FxInfo::token.
Referenced by GetOperand().
|
static |
Definition at line 3006 of file fx.c.
References BluePixelChannel, ConvertRGBToHSL(), _FxInfo::exception, GetMagickModule, GreenPixelChannel, HUE_CHANNEL, _FxInfo::Images, _FxInfo::Imgs, _Image::interpolate, InterpolatePixelChannel(), LIGHT_CHANNEL, MagickFalse, MagickTrue, OptionError, RedPixelChannel, SAT_CHANNEL, ThrowMagickException(), and ImgT::View.
Referenced by ExecuteRPN().
|
static |
Definition at line 3039 of file fx.c.
References ConvertRGBToHSL(), _FxInfo::exception, GetCacheViewVirtualPixels(), GetMagickModule, GetPixelBlue(), GetPixelGreen(), GetPixelRed(), HUE_CHANNEL, _FxInfo::Images, _FxInfo::Imgs, LIGHT_CHANNEL, OptionError, SAT_CHANNEL, ThrowMagickException(), and ImgT::View.
Referenced by ExecuteRPN().
Definition at line 1459 of file fx.c.
References aNull, fP, fS, fU, fV, GetImgAttrToken(), GetToken(), and _FxInfo::lenToken.
Referenced by GetFunction().
Definition at line 1435 of file fx.c.
References aNull, aPage, aPrintsize, aRes, _FxInfo::exception, FirstImgAttr, GetMagickModule, ImgAttrs, LocaleCompare(), MagickTrue, MaybeXYWH(), _FxInfo::NeedStats, OptionError, _FxInfo::pex, SetShortExp(), ImgAttrT::str, ThrowMagickException(), and _FxInfo::token.
Referenced by GetImgAttrQualifier(), and GetOperand().
|
inlinestatic |
Definition at line 3065 of file fx.c.
References _FxInfo::exception, GetMagickModule, GetPixelInfo(), GetPixelIntensity(), _FxInfo::Images, _FxInfo::ImgNum, _FxInfo::Imgs, _Image::interpolate, InterpolatePixelInfo(), MaxPixelChannels, OptionError, QuantumScale, SetPixelViaPixelInfo(), ThrowMagickException(), and ImgT::View.
Referenced by ExecuteRPN().
Definition at line 1346 of file fx.c.
References oBitNot, oLogNot, oNull, oOpenParen, oUnaryMinus, oUnaryPlus, and _FxInfo::pex.
Referenced by GetOperand().
|
static |
Definition at line 2042 of file fx.c.
References AddAddressingElement(), AddColourElement(), AddElement(), AddUserSymbol(), aNull, ElementT::ChannelQual, cNull, Constants, _FxInfo::Elements, _FxInfo::exception, fDo, fFor, fIf, FindUserSymbol(), FirstFunc, FirstImgAttr, FirstSym, fNull, Functions, fV, fWhile, GetChannelQualifier(), GetConstantColour(), GetFunction(), GetHexColour(), GetImageArtifact(), GetImgAttrToken(), GetLeadingOp(), GetMagickModule, GetOperand(), GetProperty(), GetToken(), _FxInfo::image, ImgAttrs, _FxInfo::ImgListLen, IsQualifier(), IsStealth(), _FxInfo::lenToken, LocaleCompare(), MagickFalse, MagickTrue, _FxInfo::NeedHsl, NO_CHAN_QUAL, NULL_ADDRESS, oNull, oOpenParen, OprIsUnaryPrefix(), OptionError, _FxInfo::pex, PopOprOpenParen(), PushOperatorStack(), rCopyFrom, SetShortExp(), sHue, SkipSpaces(), sLightness, sNull, sSaturation, ConstantT::str, FunctionT::str, SymbolT::str, Symbols, ThrowMagickException(), _FxInfo::token, TokenMaybeUserSymbol(), TranslateExpression(), and _FxInfo::usedElements.
Referenced by GetOperand(), and TranslateExpression().
|
static |
Definition at line 2393 of file fx.c.
References AddElement(), _FxInfo::exception, GetMagickModule, IsRealOperator(), LocaleNCompare(), MagickFalse, MagickTrue, oAssign, oCloseParen, oNull, oOpenParen, Operators, _FxInfo::OperatorStack, oPlusPlus, OprInPlace(), OptionError, oSubSub, _FxInfo::pex, OperatorT::precedence, PushOperatorStack(), SetShortExp(), SkipSpaces(), OperatorT::str, ThrowMagickException(), and _FxInfo::usedOprStack.
Referenced by TranslateExpression().
Definition at line 1481 of file fx.c.
References CopyMagickString(), DestroyString(), _FxInfo::exception, GetMagickModule, _FxInfo::image, _Image::image_info, InterpretImageProperties(), MagickPathExtent, MaxTokenLen, OptionError, PeekStr(), _FxInfo::pex, SetShortExp(), and ThrowMagickException().
Referenced by GetOperand().
|
static |
Definition at line 1122 of file fx.c.
References CopyMagickString(), _FxInfo::exception, GetMagickModule, _FxInfo::lenToken, LocaleNCompare(), MaxTokenLen, OptionError, _FxInfo::pex, SetShortExp(), ThrowMagickException(), and _FxInfo::token.
Referenced by GetChannelQualifier(), GetCoordQualifier(), GetImgAttrQualifier(), GetOperand(), and MaybeXYWH().
|
inlinestatic |
Definition at line 2855 of file fx.c.
References aDepth, aExtent, aH, aKurtosis, aMaxima, aMean, aMedian, aMinima, aN, aPage, aPageHt, aPageWid, aPageX, aPageY, aPrintsize, aPrintsizeX, aPrintsizeY, aQuality, aRes, aResX, aResY, aSkewness, aStdDev, aT, aW, aZ, CollectOneImgStats(), _Image::columns, _FxInfo::exception, GetBlobSize(), GetImageDepth(), GetMagickModule, _FxInfo::GotStats, _RectangleInfo::height, _FxInfo::image, _FxInfo::Images, _FxInfo::ImgListLen, MagickFalse, MagickTrue, MaxPixelChannels, _FxInfo::NeedStats, OptionError, _Image::page, PerceptibleReciprocal(), _Image::quality, RelinquishMagickMemory(), _Image::resolution, _Image::rows, _FxInfo::statistics, ThrowMagickException(), _RectangleInfo::width, _PointInfo::x, _RectangleInfo::x, _PointInfo::y, and _RectangleInfo::y.
Referenced by ExecuteRPN().
|
static |
Definition at line 706 of file fx.c.
References AcquireQuantumMemory(), AcquireRandomInfoTLS(), AcquireVirtualCacheView(), _FxInfo::ContainsDebug, _FxInfo::DebugOpt, DestroyCacheView(), _FxInfo::exception, GetFirstImageInList(), GetImageArtifact(), GetImageIndexInList(), GetImageListLength(), GetMagickModule, GetMagickPrecision(), _FxInfo::GotStats, _FxInfo::image, ImageListToArray(), _FxInfo::Images, _FxInfo::ImgListLen, _FxInfo::ImgNum, _FxInfo::Imgs, IsStringTrue(), MagickFalse, MagickTrue, _FxInfo::NeedHsl, _FxInfo::NeedStats, _Image::next, _FxInfo::precision, _FxInfo::random_infos, RelinquishMagickMemory(), ResourceLimitFatalError, rtCornerOnly, rtEntireImage, _FxInfo::runType, _FxInfo::statistics, ThrowMagickException(), and ImgT::View.
Referenced by AcquireFxInfoPrivate().
|
static |
Definition at line 1472 of file fx.c.
References MagickFalse, MagickTrue, PeekChar(), and _FxInfo::pex.
Referenced by GetFunction(), and GetOperand().
|
inlinestatic |
Definition at line 2337 of file fx.c.
References MagickFalse, MagickTrue, and oCloseBrace.
Referenced by GetOperator().
|
static |
Definition at line 2035 of file fx.c.
References FirstCont, fSP, fU0, fUP, fVP, MagickFalse, MagickTrue, and rNull.
Referenced by GetOperand().
Definition at line 1278 of file fx.c.
References aPage, aPrintsize, aRes, _FxInfo::exception, ExpectChar(), GetMagickModule, GetToken(), _FxInfo::lenToken, LocaleCompare(), OptionError, PeekChar(), _FxInfo::pex, SetShortExp(), ThrowMagickException(), and _FxInfo::token.
Referenced by GetImgAttrToken().
|
static |
Definition at line 893 of file fx.c.
References CopyMagickString(), UserSymbolT::len, UserSymbolT::pex, and _FxInfo::UserSymbols.
Referenced by DumpRPN(), DumpUserSymbols(), and FxImage().
|
inlinestatic |
Definition at line 1006 of file fx.c.
References MagickFalse, MagickTrue, oAddEq, and oSubSub.
Referenced by DumpRPN(), GetOperator(), and TranslateExpression().
|
inlinestatic |
Definition at line 1359 of file fx.c.
References MagickFalse, MagickTrue, oBitNot, oLogNot, oUnaryMinus, and oUnaryPlus.
Referenced by GetOperand(), and TopOprIsUnaryPrefix().
|
static |
Definition at line 1011 of file fx.c.
References aNull, Controls, FirstCont, FirstFunc, FirstImgAttr, FirstSym, fNull, Functions, ImgAttrs, oNull, Operators, rNull, sNull, OperatorT::str, FunctionT::str, ImgAttrT::str, SymbolT::str, ControlT::str, and Symbols.
Referenced by DumpRPN(), and ExecuteRPN().
|
inlinestatic |
Definition at line 1253 of file fx.c.
References _FxInfo::pex, and SkipSpaces().
Referenced by ExpectChar(), GetFunction(), IsQualifier(), and MaybeXYWH().
|
inlinestatic |
Definition at line 1259 of file fx.c.
References LocaleNCompare(), MagickFalse, MagickTrue, _FxInfo::pex, and SkipSpaces().
Referenced by GetProperty().
|
static |
Definition at line 1371 of file fx.c.
References MagickFalse, MagickTrue, _FxInfo::OperatorStack, and _FxInfo::usedOprStack.
Referenced by GetFunction(), and GetOperand().
Definition at line 2842 of file fx.c.
References _FxInfo::exception, GetMagickModule, OptionError, ThrowMagickException(), fxRtT::usedValStack, and fxRtT::ValStack.
Referenced by ExecuteRPN().
|
inlinestatic |
Definition at line 2342 of file fx.c.
References AddAddressingElement(), TernaryT::addrColon, TernaryT::addrQuery, ElementT::DoPush, _FxInfo::Elements, _FxInfo::exception, GetMagickModule, MagickFalse, MagickTrue, NULL_ADDRESS, oColon, _FxInfo::OperatorStack, OptionError, oQuery, rGoto, rIfZeroGoto, SetShortExp(), ThrowMagickException(), _FxInfo::usedElements, and _FxInfo::usedOprStack.
Referenced by TranslateExpression().
|
static |
Definition at line 1333 of file fx.c.
References ExtendOperatorStack(), MagickFalse, MagickTrue, _FxInfo::maxUsedOprStack, _FxInfo::numOprStack, _FxInfo::OperatorStack, and _FxInfo::usedOprStack.
Referenced by GetFunction(), GetOperand(), and GetOperator().
|
inlinestatic |
Definition at line 2828 of file fx.c.
References _FxInfo::exception, GetMagickModule, MagickFalse, MagickTrue, fxRtT::numValStack, OptionError, ThrowMagickException(), fxRtT::usedValStack, and fxRtT::ValStack.
Referenced by ExecuteRPN().
|
static |
Definition at line 2480 of file fx.c.
References TernaryT::addrColon, TernaryT::addrQuery, _FxInfo::Elements, ElementT::EleNdx, _FxInfo::exception, GetMagickModule, MagickFalse, MagickTrue, NULL_ADDRESS, OptionError, SetShortExp(), ThrowMagickException(), _FxInfo::token, and _FxInfo::usedElements.
Referenced by TranslateExpression().
|
static |
Definition at line 801 of file fx.c.
References CopyMagickString(), MaxLen, and _FxInfo::ShortExp.
Referenced by ExecuteRPN(), and SetShortExp().
|
static |
Definition at line 823 of file fx.c.
References MaxTokenLen, _FxInfo::pex, and SetPtrShortExp().
Referenced by ExpectChar(), GetChannelQualifier(), GetConstantColour(), GetFunction(), GetHexColour(), GetImgAttrToken(), GetOperand(), GetOperator(), GetProperty(), GetToken(), MaybeXYWH(), ProcessTernaryOpr(), ResolveTernaryAddresses(), and TranslateExpression().
|
inlinestatic |
Definition at line 1248 of file fx.c.
References _FxInfo::pex.
Referenced by GetOperand(), GetOperator(), PeekChar(), PeekStr(), TranslateExpression(), TranslateStatement(), and TranslateStatementList().
|
static |
Definition at line 1173 of file fx.c.
References MagickFalse, MagickTrue, and _FxInfo::token.
Referenced by GetOperand().
|
static |
Definition at line 1364 of file fx.c.
References MagickFalse, _FxInfo::OperatorStack, OprIsUnaryPrefix(), and _FxInfo::usedOprStack.
Referenced by TranslateExpression().
|
static |
Definition at line 2506 of file fx.c.
References AddAddressingElement(), AddElement(), TernaryT::addrColon, TernaryT::addrQuery, ElementT::DoPush, _FxInfo::Elements, ElementT::EleNdx, _FxInfo::exception, GetMagickModule, GetOperand(), GetOperator(), MagickFalse, MagickTrue, NULL_ADDRESS, oAssign, oOpenBrace, oOpenBracket, oOpenParen, _FxInfo::OperatorStack, OprInPlace(), OptionError, _FxInfo::pex, ProcessTernaryOpr(), rCopyFrom, rCopyTo, ResolveTernaryAddresses(), rZerStk, SetShortExp(), _ExceptionInfo::severity, SkipSpaces(), _FxInfo::teDepth, ThrowMagickException(), _FxInfo::token, TopOprIsUnaryPrefix(), TranslateExpression(), UndefinedException, _FxInfo::usedElements, and _FxInfo::usedOprStack.
Referenced by GetOperand(), TranslateExpression(), and TranslateStatement().
|
static |
Definition at line 2723 of file fx.c.
References ElementT::DoPush, _FxInfo::Elements, MagickFalse, MagickTrue, _FxInfo::pex, SkipSpaces(), TranslateExpression(), and _FxInfo::usedElements.
Referenced by TranslateStatementList().
|
static |
Definition at line 2746 of file fx.c.
References ConcatenateMagickString(), CopyMagickString(), _FxInfo::exception, MagickFalse, MagickTrue, MAX_SLIMIT, _FxInfo::pex, _ExceptionInfo::severity, SkipSpaces(), TranslateStatement(), and UndefinedException.
Referenced by AcquireFxInfoPrivate(), and GetFunction().
|
static |
Definition at line 789 of file fx.c.
References aNull, etConstant, etControl, etFunction, etImgAttr, etOperator, etSymbol, fNull, oNull, rNull, and sNull.
Referenced by AddElement().
|
static |
Definition at line 574 of file fx.c.
Referenced by GetChannelQualifier().
|
static |
Definition at line 219 of file fx.c.
Referenced by GetOperand().
|
static |
Definition at line 545 of file fx.c.
Referenced by AddElement(), DumpTables(), and OprStr().
|
static |
Definition at line 320 of file fx.c.
Referenced by AddElement(), DumpTables(), GetFunction(), GetOperand(), and OprStr().
|
static |
Definition at line 438 of file fx.c.
Referenced by DumpTables(), GetImgAttrToken(), GetOperand(), and OprStr().
|
static |
Definition at line 159 of file fx.c.
Referenced by AddElement(), DumpTables(), GetFunction(), GetOperator(), and OprStr().
|
static |
|
static |
Definition at line 499 of file fx.c.
Referenced by DumpTables(), GetOperand(), and OprStr().