Lines Matching defs:depth

264 %  GetImageDepth() returns the depth of a particular image channel.
290 depth,
297 Compute image depth.
351 depth=current_depth[0];
353 if (depth < current_depth[i])
354 depth=current_depth[i];
356 return(depth);
366 Scale pixels to desired (optimized with depth map).
374 depth;
376 for (depth=1; depth < MAGICKCORE_QUANTUM_DEPTH; depth++)
384 range=GetQuantumRange(depth);
389 depth_map[i]=depth;
436 depth=current_depth[0];
438 if (depth < current_depth[i])
439 depth=current_depth[i];
442 return(depth);
446 Compute pixel depth.
505 depth=current_depth[0];
507 if (depth < current_depth[i])
508 depth=current_depth[i];
510 return(depth);
525 % GetImageQuantumDepth() returns the depth of the image rounded to a legal
526 % quantum depth: 8, 16, or 32.
537 % o constrain: A value other than MagickFalse, constrains the depth to
545 depth;
547 depth=image->depth;
548 if (depth <= 8)
549 depth=8;
551 if (depth <= 16)
552 depth=16;
554 if (depth <= 32)
555 depth=32;
557 if (depth <= 64)
558 depth=64;
560 depth=(size_t) MagickMin((double) depth,(double) MAGICKCORE_QUANTUM_DEPTH);
561 return(depth);
996 % SetImageDepth() sets the depth of the image.
1000 % MagickBooleanType SetImageDepth(Image *image,const size_t depth,
1009 % o depth: the image depth.
1015 const size_t depth,ExceptionInfo *exception)
1033 if (depth >= MAGICKCORE_QUANTUM_DEPTH)
1035 image->depth=depth;
1038 range=GetQuantumRange(depth);
1076 Scale pixels to desired (optimized with depth map).
1142 image->depth=depth;
1147 Scale pixels to desired depth.
1204 image->depth=depth;