Lines Matching refs:fx_info
188 *fx_info; in AcquireFxInfo() local
196 fx_info=(FxInfo *) AcquireCriticalMemory(sizeof(*fx_info)); in AcquireFxInfo()
197 (void) memset(fx_info,0,sizeof(*fx_info)); in AcquireFxInfo()
198 fx_info->exception=AcquireExceptionInfo(); in AcquireFxInfo()
199 fx_info->images=images; in AcquireFxInfo()
200 fx_info->colors=NewSplayTree(CompareSplayTreeString,RelinquishMagickMemory, in AcquireFxInfo()
202 fx_info->symbols=NewSplayTree(CompareSplayTreeString,RelinquishMagickMemory, in AcquireFxInfo()
204 fx_info->view=(CacheView **) AcquireQuantumMemory(GetImageListLength( in AcquireFxInfo()
205 fx_info->images),sizeof(*fx_info->view)); in AcquireFxInfo()
206 if (fx_info->view == (CacheView **) NULL) in AcquireFxInfo()
209 next=GetFirstImageInList(fx_info->images); in AcquireFxInfo()
212 fx_info->view[i]=AcquireVirtualCacheView(next,exception); in AcquireFxInfo()
215 fx_info->random_info=AcquireRandomInfo(); in AcquireFxInfo()
216 fx_info->expression=ConstantString(expression); in AcquireFxInfo()
217 fx_info->file=stderr; in AcquireFxInfo()
223 (void) SubstituteString(&fx_info->expression,"&=",(char *) fx_op); in AcquireFxInfo()
225 (void) SubstituteString(&fx_info->expression,"|=",(char *) fx_op); in AcquireFxInfo()
227 (void) SubstituteString(&fx_info->expression,"<<=",(char *) fx_op); in AcquireFxInfo()
229 (void) SubstituteString(&fx_info->expression,">>=",(char *) fx_op); in AcquireFxInfo()
231 (void) SubstituteString(&fx_info->expression,"^=",(char *) fx_op); in AcquireFxInfo()
233 (void) SubstituteString(&fx_info->expression,"%=",(char *) fx_op); in AcquireFxInfo()
235 (void) SubstituteString(&fx_info->expression,"+=",(char *) fx_op); in AcquireFxInfo()
237 (void) SubstituteString(&fx_info->expression,"-=",(char *) fx_op); in AcquireFxInfo()
239 (void) SubstituteString(&fx_info->expression,"*=",(char *) fx_op); in AcquireFxInfo()
241 (void) SubstituteString(&fx_info->expression,"/=",(char *) fx_op); in AcquireFxInfo()
243 (void) SubstituteString(&fx_info->expression,"++",(char *) fx_op); in AcquireFxInfo()
245 (void) SubstituteString(&fx_info->expression,"--",(char *) fx_op); in AcquireFxInfo()
247 (void) SubstituteString(&fx_info->expression,"<<",(char *) fx_op); in AcquireFxInfo()
249 (void) SubstituteString(&fx_info->expression,">>",(char *) fx_op); in AcquireFxInfo()
251 (void) SubstituteString(&fx_info->expression,"<=",(char *) fx_op); in AcquireFxInfo()
253 (void) SubstituteString(&fx_info->expression,">=",(char *) fx_op); in AcquireFxInfo()
255 (void) SubstituteString(&fx_info->expression,"==",(char *) fx_op); in AcquireFxInfo()
257 (void) SubstituteString(&fx_info->expression,"!=",(char *) fx_op); in AcquireFxInfo()
259 (void) SubstituteString(&fx_info->expression,"&&",(char *) fx_op); in AcquireFxInfo()
261 (void) SubstituteString(&fx_info->expression,"||",(char *) fx_op); in AcquireFxInfo()
263 (void) SubstituteString(&fx_info->expression,"**",(char *) fx_op); in AcquireFxInfo()
267 (void) SubstituteString(&fx_info->expression,"-","-1.0*"); in AcquireFxInfo()
268 (void) SubstituteString(&fx_info->expression,"^-1.0*","^-"); in AcquireFxInfo()
269 (void) SubstituteString(&fx_info->expression,"E-1.0*","E-"); in AcquireFxInfo()
270 (void) SubstituteString(&fx_info->expression,"e-1.0*","e-"); in AcquireFxInfo()
271 (void) SubstituteString(&fx_info->expression," ",""); /* compact string */ in AcquireFxInfo()
272 return(fx_info); in AcquireFxInfo()
297 MagickPrivate FxInfo *DestroyFxInfo(FxInfo *fx_info) in DestroyFxInfo() argument
302 fx_info->exception=DestroyExceptionInfo(fx_info->exception); in DestroyFxInfo()
303 fx_info->expression=DestroyString(fx_info->expression); in DestroyFxInfo()
304 fx_info->symbols=DestroySplayTree(fx_info->symbols); in DestroyFxInfo()
305 fx_info->colors=DestroySplayTree(fx_info->colors); in DestroyFxInfo()
306 for (i=(ssize_t) GetImageListLength(fx_info->images)-1; i >= 0; i--) in DestroyFxInfo()
307 fx_info->view[i]=DestroyCacheView(fx_info->view[i]); in DestroyFxInfo()
308 fx_info->view=(CacheView **) RelinquishMagickMemory(fx_info->view); in DestroyFxInfo()
309 fx_info->random_info=DestroyRandomInfo(fx_info->random_info); in DestroyFxInfo()
310 fx_info=(FxInfo *) RelinquishMagickMemory(fx_info); in DestroyFxInfo()
311 return(fx_info); in DestroyFxInfo()
350 static inline const double *GetFxSymbolValue(FxInfo *magick_restrict fx_info, in GetFxSymbolValue() argument
353 return((const double *) GetValueFromSplayTree(fx_info->symbols,symbol)); in GetFxSymbolValue()
357 FxInfo *magick_restrict fx_info,const char *magick_restrict symbol, in SetFxSymbolValue() argument
363 object=(double *) GetValueFromSplayTree(fx_info->symbols,symbol); in SetFxSymbolValue()
372 (void) ThrowMagickException(fx_info->exception,GetMagickModule(), in SetFxSymbolValue()
374 fx_info->images->filename); in SetFxSymbolValue()
378 return(AddValueToSplayTree(fx_info->symbols,ConstantString(symbol),object)); in SetFxSymbolValue()
381 static double FxChannelStatistics(FxInfo *fx_info,Image *image, in FxChannelStatistics() argument
416 value=GetFxSymbolValue(fx_info,key); in FxChannelStatistics()
496 if (SetFxSymbolValue(fx_info,key,statistic) == MagickFalse) in FxChannelStatistics()
560 static double FxGetSymbol(FxInfo *fx_info,const PixelChannel channel, in FxGetSymbol() argument
598 i=GetImageIndexInList(fx_info->images); in FxGetSymbol()
615 i=GetImageIndexInList(fx_info->images); in FxGetSymbol()
640 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,subexpression, in FxGetSymbol()
670 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,subexpression, in FxGetSymbol()
696 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,subexpression, in FxGetSymbol()
708 image=GetImageFromList(fx_info->images,i); in FxGetSymbol()
717 status=InterpolatePixelInfo(image,fx_info->view[i],image->interpolate, in FxGetSymbol()
746 (GetFxSymbolValue(fx_info,name) == (const double *) NULL)) in FxGetSymbol()
751 color=(PixelInfo *) GetValueFromSplayTree(fx_info->colors,name); in FxGetSymbol()
763 fx_info->exception); in FxGetSymbol()
766 (void) AddValueToSplayTree(fx_info->colors, in FxGetSymbol()
925 return(FxChannelStatistics(fx_info,image,channel,symbol,exception)); in FxGetSymbol()
950 return(FxChannelStatistics(fx_info,image,channel,symbol,exception)); in FxGetSymbol()
992 return(FxChannelStatistics(fx_info,image,channel,symbol+6,exception)); in FxGetSymbol()
1052 return(FxChannelStatistics(fx_info,image,channel,symbol,exception)); in FxGetSymbol()
1054 return(FxChannelStatistics(fx_info,image,channel,symbol,exception)); in FxGetSymbol()
1056 return(FxChannelStatistics(fx_info,image,channel,symbol,exception)); in FxGetSymbol()
1058 return(FxChannelStatistics(fx_info,image,channel,symbol,exception)); in FxGetSymbol()
1067 return((double) GetImageListLength(fx_info->images)); in FxGetSymbol()
1127 return(FxChannelStatistics(fx_info,image,channel,symbol,exception)); in FxGetSymbol()
1129 return(FxChannelStatistics(fx_info,image,channel,symbol,exception)); in FxGetSymbol()
1136 return((double) GetImageIndexInList(fx_info->images)); in FxGetSymbol()
1157 return((double) GetImageDepth(image,fx_info->exception)); in FxGetSymbol()
1163 value=GetFxSymbolValue(fx_info,symbol); in FxGetSymbol()
1171 (void) SetFxSymbolValue(fx_info,symbol,0.0); in FxGetSymbol()
1448 static double FxEvaluateSubexpression(FxInfo *fx_info, in FxEvaluateSubexpression() argument
1515 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,subexpression,depth+1, in FxEvaluateSubexpression()
1521 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1528 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1534 *beta=pow(alpha,FxEvaluateSubexpression(fx_info,channel,x,y,++p, in FxEvaluateSubexpression()
1541 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1547 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1553 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1559 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1565 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1581 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1584 if (SetFxSymbolValue(fx_info,subexpression,value) == MagickFalse) in FxEvaluateSubexpression()
1600 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1603 if (SetFxSymbolValue(fx_info,subexpression,value) == MagickFalse) in FxEvaluateSubexpression()
1619 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1628 if (SetFxSymbolValue(fx_info,subexpression,value) == MagickFalse) in FxEvaluateSubexpression()
1644 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1653 if (SetFxSymbolValue(fx_info,subexpression,value) == MagickFalse) in FxEvaluateSubexpression()
1669 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1672 if (SetFxSymbolValue(fx_info,subexpression,value) == MagickFalse) in FxEvaluateSubexpression()
1688 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1691 if (SetFxSymbolValue(fx_info,subexpression,value) == MagickFalse) in FxEvaluateSubexpression()
1707 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1710 if (SetFxSymbolValue(fx_info,subexpression,value) == MagickFalse) in FxEvaluateSubexpression()
1726 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1729 if (SetFxSymbolValue(fx_info,subexpression,value) == MagickFalse) in FxEvaluateSubexpression()
1745 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1748 if (SetFxSymbolValue(fx_info,subexpression,value) == MagickFalse) in FxEvaluateSubexpression()
1764 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1767 if (SetFxSymbolValue(fx_info,subexpression,value) == MagickFalse) in FxEvaluateSubexpression()
1774 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1779 if (SetFxSymbolValue(fx_info,p,value) == MagickFalse) in FxEvaluateSubexpression()
1783 if (SetFxSymbolValue(fx_info,subexpression,value) == MagickFalse) in FxEvaluateSubexpression()
1790 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1795 if (SetFxSymbolValue(fx_info,p,value) == MagickFalse) in FxEvaluateSubexpression()
1799 if (SetFxSymbolValue(fx_info,subexpression,value) == MagickFalse) in FxEvaluateSubexpression()
1805 gamma=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1818 gamma=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1831 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1837 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1843 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1849 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1855 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1861 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1867 gamma=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1874 gamma=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1887 gamma=FxEvaluateSubexpression(fx_info,channel,x,y,p,depth+1,beta, in FxEvaluateSubexpression()
1900 gamma=FxEvaluateSubexpression(fx_info,channel,x,y,p,depth+1,beta, in FxEvaluateSubexpression()
1910 gamma=FxEvaluateSubexpression(fx_info,channel,x,y,p,depth+1,beta, in FxEvaluateSubexpression()
1913 gamma=FxEvaluateSubexpression(fx_info,channel,x,y,q+1,depth+1,beta, in FxEvaluateSubexpression()
1929 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1932 if (SetFxSymbolValue(fx_info,subexpression,value) == MagickFalse) in FxEvaluateSubexpression()
1938 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1944 *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1,beta, in FxEvaluateSubexpression()
1950 gamma=alpha*FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth+1, in FxEvaluateSubexpression()
1967 gamma=FxEvaluateSubexpression(fx_info,channel,x,y,subexpression,depth+1, in FxEvaluateSubexpression()
1975 gamma=FxEvaluateSubexpression(fx_info,channel,x,y,expression+1,depth+1, in FxEvaluateSubexpression()
1981 gamma=FxEvaluateSubexpression(fx_info,channel,x,y,expression+1,depth+1, in FxEvaluateSubexpression()
1987 gamma=FxEvaluateSubexpression(fx_info,channel,x,y,expression+1,depth+1, in FxEvaluateSubexpression()
1996 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+3, in FxEvaluateSubexpression()
2003 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+5, in FxEvaluateSubexpression()
2010 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+4, in FxEvaluateSubexpression()
2017 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+4, in FxEvaluateSubexpression()
2028 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+5, in FxEvaluateSubexpression()
2035 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+4, in FxEvaluateSubexpression()
2041 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+3, in FxEvaluateSubexpression()
2047 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+5, in FxEvaluateSubexpression()
2054 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+5, in FxEvaluateSubexpression()
2061 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+4, in FxEvaluateSubexpression()
2066 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2073 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2081 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+4, in FxEvaluateSubexpression()
2087 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+5, in FxEvaluateSubexpression()
2097 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+4, in FxEvaluateSubexpression()
2103 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+3, in FxEvaluateSubexpression()
2108 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2122 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+5, in FxEvaluateSubexpression()
2124 switch (fx_info->images->colorspace) in FxEvaluateSubexpression()
2169 if (fx_info->file != (FILE *) NULL) in FxEvaluateSubexpression()
2170 (void) FormatLocaleFile(fx_info->file,"%s[%.20g,%.20g].%s: " in FxEvaluateSubexpression()
2171 "%s=%.*g\n",fx_info->images->filename,(double) x,(double) y,type, in FxEvaluateSubexpression()
2190 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,q+1,depth+1,beta, in FxEvaluateSubexpression()
2192 gamma=FxEvaluateSubexpression(fx_info,channel,x,y,p,depth+1,&sans, in FxEvaluateSubexpression()
2201 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+3, in FxEvaluateSubexpression()
2215 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+3, in FxEvaluateSubexpression()
2222 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+3, in FxEvaluateSubexpression()
2235 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+5, in FxEvaluateSubexpression()
2255 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,p,depth+1,&sans, in FxEvaluateSubexpression()
2261 gamma=FxEvaluateSubexpression(fx_info,channel,x,y,p,depth+1,&sans, in FxEvaluateSubexpression()
2265 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,q+1,depth+1,beta, in FxEvaluateSubexpression()
2277 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+5, in FxEvaluateSubexpression()
2286 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+3, in FxEvaluateSubexpression()
2294 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2301 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2303 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2306 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+5, in FxEvaluateSubexpression()
2316 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2338 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,p,depth+1,&sans, in FxEvaluateSubexpression()
2343 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,p,depth+1,beta, in FxEvaluateSubexpression()
2346 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,q+1,depth+1,beta, in FxEvaluateSubexpression()
2351 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2354 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+3, in FxEvaluateSubexpression()
2360 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+5, in FxEvaluateSubexpression()
2365 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2372 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2376 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+2, in FxEvaluateSubexpression()
2384 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+2, in FxEvaluateSubexpression()
2392 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+4, in FxEvaluateSubexpression()
2406 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+2, in FxEvaluateSubexpression()
2412 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+6, in FxEvaluateSubexpression()
2418 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+3, in FxEvaluateSubexpression()
2423 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2435 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+3, in FxEvaluateSubexpression()
2443 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+3, in FxEvaluateSubexpression()
2449 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+3, in FxEvaluateSubexpression()
2454 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2462 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+3, in FxEvaluateSubexpression()
2467 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2476 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2488 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+3, in FxEvaluateSubexpression()
2493 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2513 alpha=GetPseudoRandomValue(fx_info->random_info); in FxEvaluateSubexpression()
2521 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+5, in FxEvaluateSubexpression()
2528 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2535 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2538 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+4, in FxEvaluateSubexpression()
2544 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+4, in FxEvaluateSubexpression()
2552 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+4, in FxEvaluateSubexpression()
2558 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+3, in FxEvaluateSubexpression()
2564 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+4, in FxEvaluateSubexpression()
2570 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+6, in FxEvaluateSubexpression()
2575 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2583 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+4, in FxEvaluateSubexpression()
2589 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+3, in FxEvaluateSubexpression()
2597 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+5, in FxEvaluateSubexpression()
2604 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2611 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2618 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2639 gamma=FxEvaluateSubexpression(fx_info,channel,x,y,p,depth+1,&sans, in FxEvaluateSubexpression()
2643 alpha=FxEvaluateSubexpression(fx_info,channel,x,y,q+1,depth+1, in FxEvaluateSubexpression()
2649 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2656 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2663 FxReturn(FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception)); in FxEvaluateSubexpression()
2673 alpha=FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception); in FxEvaluateSubexpression()
2677 MagickPrivate MagickBooleanType FxEvaluateExpression(FxInfo *fx_info, in FxEvaluateExpression() argument
2683 status=FxEvaluateChannelExpression(fx_info,GrayPixelChannel,0,0,alpha, in FxEvaluateExpression()
2688 MagickExport MagickBooleanType FxPreprocessExpression(FxInfo *fx_info, in FxPreprocessExpression() argument
2697 file=fx_info->file; in FxPreprocessExpression()
2698 fx_info->file=(FILE *) NULL; in FxPreprocessExpression()
2699 status=FxEvaluateChannelExpression(fx_info,GrayPixelChannel,0,0,alpha, in FxPreprocessExpression()
2701 fx_info->file=file; in FxPreprocessExpression()
2705 MagickPrivate MagickBooleanType FxEvaluateChannelExpression(FxInfo *fx_info, in FxEvaluateChannelExpression() argument
2713 *alpha=FxEvaluateSubexpression(fx_info,channel,x,y,fx_info->expression,0, in FxEvaluateChannelExpression()
2746 static FxInfo **DestroyFxThreadSet(FxInfo **fx_info) in DestroyFxThreadSet() argument
2751 assert(fx_info != (FxInfo **) NULL); in DestroyFxThreadSet()
2753 if (fx_info[i] != (FxInfo *) NULL) in DestroyFxThreadSet()
2754 fx_info[i]=DestroyFxInfo(fx_info[i]); in DestroyFxThreadSet()
2755 fx_info=(FxInfo **) RelinquishMagickMemory(fx_info); in DestroyFxThreadSet()
2756 return(fx_info); in DestroyFxThreadSet()
2769 **fx_info; in AcquireFxThreadSet() local
2778 fx_info=(FxInfo **) AcquireQuantumMemory(number_threads,sizeof(*fx_info)); in AcquireFxThreadSet()
2779 if (fx_info == (FxInfo **) NULL) in AcquireFxThreadSet()
2785 (void) memset(fx_info,0,number_threads*sizeof(*fx_info)); in AcquireFxThreadSet()
2795 fx_info[i]=AcquireFxInfo(image,fx_expression,exception); in AcquireFxThreadSet()
2796 if (fx_info[i] == (FxInfo *) NULL) in AcquireFxThreadSet()
2798 status=FxPreprocessExpression(fx_info[i],&alpha,exception); in AcquireFxThreadSet()
2804 fx_info=DestroyFxThreadSet(fx_info); in AcquireFxThreadSet()
2805 return(fx_info); in AcquireFxThreadSet()
2818 **magick_restrict fx_info; in FxImage() local
2838 fx_info=AcquireFxThreadSet(image,expression,exception); in FxImage()
2839 if (fx_info == (FxInfo **) NULL) in FxImage()
2844 fx_info=DestroyFxThreadSet(fx_info); in FxImage()
2849 fx_info=DestroyFxThreadSet(fx_info); in FxImage()
2863 GlobExpression(fx_info[0]->expression,"debug(",MagickTrue) == 0 ? 1 : 0) in FxImage()
2910 (void) FxEvaluateChannelExpression(fx_info[id],channel,x,y,&alpha, in FxImage()
2935 fx_info=DestroyFxThreadSet(fx_info); in FxImage()