Searched refs:stretch_map (Results 1 – 3 of 3) sorted by relevance
979 *stretch_map; in ComputeContrastStretchImage() local992 stretch_map=NULL; in ComputeContrastStretchImage()1218 stretch_map=(PixelPacket *) AcquireQuantumMemory(MaxMap+1UL, in ComputeContrastStretchImage()1219 sizeof(*stretch_map)); in ComputeContrastStretchImage()1221 if (stretch_map == (PixelPacket *) NULL) in ComputeContrastStretchImage()1228 (void) memset(stretch_map,0,(MaxMap+1)*sizeof(*stretch_map)); in ComputeContrastStretchImage()1234 stretch_map[i].red=(Quantum) 0; in ComputeContrastStretchImage()1237 stretch_map[i].red=QuantumRange; in ComputeContrastStretchImage()1240 stretch_map[i].red=ScaleMapToQuantum((MagickRealType) (MaxMap* in ComputeContrastStretchImage()1246 stretch_map[i].green=0; in ComputeContrastStretchImage()[all …]
1561 *stretch_map, in ContrastStretchImage() local1589 stretch_map=(double *) AcquireQuantumMemory(MaxMap+1UL,MaxPixelChannels* in ContrastStretchImage()1590 sizeof(*stretch_map)); in ContrastStretchImage()1592 (histogram == (double *) NULL) || (stretch_map == (double *) NULL)) in ContrastStretchImage()1594 if (stretch_map != (double *) NULL) in ContrastStretchImage()1595 stretch_map=(double *) RelinquishMagickMemory(stretch_map); in ContrastStretchImage()1679 (void) memset(stretch_map,0,(MaxMap+1)*GetPixelChannels(image)* in ContrastStretchImage()1680 sizeof(*stretch_map)); in ContrastStretchImage()1693 stretch_map[GetPixelChannels(image)*j+i]=0.0; in ContrastStretchImage()1696 stretch_map[GetPixelChannels(image)*j+i]=(double) QuantumRange; in ContrastStretchImage()[all …]
1180 __global CLPixelType * restrict stretch_map,1200 eValue = stretch_map[ePos];1210 eValue = stretch_map[ePos];1220 eValue = stretch_map[ePos];1230 eValue = stretch_map[ePos];