Lines Matching refs:gamma
57 gamma, in CompositePixelOver() local
68 gamma=Sa+Da-Sa*Da; in CompositePixelOver()
69 gamma=PerceptibleReciprocal(gamma); in CompositePixelOver()
86 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->red,alpha, in CompositePixelOver()
92 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->green,alpha, in CompositePixelOver()
98 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->blue,alpha, in CompositePixelOver()
104 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->black,alpha, in CompositePixelOver()
127 gamma, in CompositePixelInfoOver() local
135 gamma=Sa+Da-Sa*Da; in CompositePixelInfoOver()
136 composite->alpha=(double) QuantumRange*RoundToUnity(gamma); in CompositePixelInfoOver()
137 gamma=PerceptibleReciprocal(gamma); in CompositePixelInfoOver()
138 composite->red=gamma*MagickOver_(p->red,alpha,q->red,beta); in CompositePixelInfoOver()
139 composite->green=gamma*MagickOver_(p->green,alpha,q->green,beta); in CompositePixelInfoOver()
140 composite->blue=gamma*MagickOver_(p->blue,alpha,q->blue,beta); in CompositePixelInfoOver()
142 composite->black=gamma*MagickOver_(p->black,alpha,q->black,beta); in CompositePixelInfoOver()
150 gamma, in CompositePixelInfoPlus() local
158 gamma=RoundToUnity(Sa+Da); /* 'Plus' blending -- not 'Over' blending */ in CompositePixelInfoPlus()
159 composite->alpha=(double) QuantumRange*RoundToUnity(gamma); in CompositePixelInfoPlus()
160 gamma=PerceptibleReciprocal(gamma); in CompositePixelInfoPlus()
161 composite->red=gamma*(Sa*p->red+Da*q->red); in CompositePixelInfoPlus()
162 composite->green=gamma*(Sa*p->green+Da*q->green); in CompositePixelInfoPlus()
163 composite->blue=gamma*(Sa*p->blue+Da*q->blue); in CompositePixelInfoPlus()
165 composite->black=gamma*(Sa*p->black+Da*q->black); in CompositePixelInfoPlus()