Searched refs:stretch_map (Results 1 – 3 of 3) sorted by relevance
1001 *stretch_map; in ComputeContrastStretchImage() local1019 stretch_map=NULL; in ComputeContrastStretchImage()1239 stretch_map=(PixelPacket *) AcquireQuantumMemory(MaxMap+1UL, in ComputeContrastStretchImage()1240 sizeof(*stretch_map)); in ComputeContrastStretchImage()1242 if (stretch_map == (PixelPacket *) NULL) in ComputeContrastStretchImage()1249 (void) memset(stretch_map,0,(MaxMap+1)*sizeof(*stretch_map)); in ComputeContrastStretchImage()1255 stretch_map[i].red=(Quantum) 0; in ComputeContrastStretchImage()1258 stretch_map[i].red=QuantumRange; in ComputeContrastStretchImage()1261 stretch_map[i].red=ScaleMapToQuantum((MagickRealType) (MaxMap* in ComputeContrastStretchImage()1267 stretch_map[i].green=0; in ComputeContrastStretchImage()[all …]
1563 *stretch_map, in ContrastStretchImage() local1591 stretch_map=(double *) AcquireQuantumMemory(MaxMap+1UL,MaxPixelChannels* in ContrastStretchImage()1592 sizeof(*stretch_map)); in ContrastStretchImage()1594 (histogram == (double *) NULL) || (stretch_map == (double *) NULL)) in ContrastStretchImage()1596 if (stretch_map != (double *) NULL) in ContrastStretchImage()1597 stretch_map=(double *) RelinquishMagickMemory(stretch_map); in ContrastStretchImage()1681 (void) memset(stretch_map,0,(MaxMap+1)*GetPixelChannels(image)* in ContrastStretchImage()1682 sizeof(*stretch_map)); in ContrastStretchImage()1695 stretch_map[GetPixelChannels(image)*j+i]=0.0; in ContrastStretchImage()1698 stretch_map[GetPixelChannels(image)*j+i]=(double) QuantumRange; in ContrastStretchImage()[all …]
1173 __global CLPixelType * restrict stretch_map,1193 eValue = stretch_map[ePos];1203 eValue = stretch_map[ePos];1213 eValue = stretch_map[ePos];1223 eValue = stretch_map[ePos];