Lines Matching refs:depth_map
484 *depth_map; in GetImageDepth() local
489 depth_map=(size_t *) AcquireQuantumMemory(MaxMap+1,sizeof(*depth_map)); in GetImageDepth()
490 if (depth_map == (size_t *) NULL) in GetImageDepth()
510 depth_map[i]=depth; in GetImageDepth()
543 if (depth_map[ScaleQuantumToMap(p[i])] > current_depth[id]) in GetImageDepth()
544 current_depth[id]=depth_map[ScaleQuantumToMap(p[i])]; in GetImageDepth()
556 depth_map=(size_t *) RelinquishMagickMemory(depth_map); in GetImageDepth()
1172 *depth_map; in SetImageDepth() local
1180 depth_map=(Quantum *) AcquireQuantumMemory(MaxMap+1,sizeof(*depth_map)); in SetImageDepth()
1181 if (depth_map == (Quantum *) NULL) in SetImageDepth()
1184 depth_map[i]=ScaleAnyToQuantum(ScaleQuantumToAny((Quantum) i,range), in SetImageDepth()
1224 q[i]=depth_map[ScaleQuantumToMap(q[i])]; in SetImageDepth()
1235 depth_map=(Quantum *) RelinquishMagickMemory(depth_map); in SetImageDepth()