Home
last modified time | relevance | path

Searched refs:gamma_map (Results 1 – 1 of 1) sorted by relevance

/external/ImageMagick/MagickCore/
Denhance.c1797 *gamma_map; in GammaImage() local
1814 gamma_map=(Quantum *) AcquireQuantumMemory(MaxMap+1UL,sizeof(*gamma_map)); in GammaImage()
1815 if (gamma_map == (Quantum *) NULL) in GammaImage()
1818 (void) ResetMagickMemory(gamma_map,0,(MaxMap+1)*sizeof(*gamma_map)); in GammaImage()
1821 gamma_map[i]=ScaleMapToQuantum((double) (MaxMap*pow((double) i/ in GammaImage()
1831 image->colormap[i].red=(double) gamma_map[ScaleQuantumToMap( in GammaImage()
1834 image->colormap[i].green=(double) gamma_map[ScaleQuantumToMap( in GammaImage()
1837 image->colormap[i].blue=(double) gamma_map[ScaleQuantumToMap( in GammaImage()
1840 image->colormap[i].alpha=(double) gamma_map[ScaleQuantumToMap( in GammaImage()
1900 q[j]=gamma_map[ScaleQuantumToMap(q[j])]; in GammaImage()
[all …]