pixel.c File Reference

#include "magick/studio.h"
#include "magick/property.h"
#include "magick/blob.h"
#include "magick/blob-private.h"
#include "magick/color-private.h"
#include "magick/draw.h"
#include "magick/exception.h"
#include "magick/exception-private.h"
#include "magick/cache.h"
#include "magick/colorspace-private.h"
#include "magick/constitute.h"
#include "magick/delegate.h"
#include "magick/geometry.h"
#include "magick/list.h"
#include "magick/magick.h"
#include "magick/memory_.h"
#include "magick/memory-private.h"
#include "magick/monitor.h"
#include "magick/option.h"
#include "magick/pixel.h"
#include "magick/pixel-private.h"
#include "magick/quantum.h"
#include "magick/resource_.h"
#include "magick/semaphore.h"
#include "magick/statistic.h"
#include "magick/stream.h"
#include "magick/string_.h"
#include "magick/transform.h"
#include "magick/utility.h"
Include dependency graph for pixel.c:

Functions

MagickExport MagickPixelPacket * CloneMagickPixelPacket (const MagickPixelPacket *pixel)
MagickExport void ConformMagickPixelPacket (Image *image, const MagickPixelPacket *source, MagickPixelPacket *destination, ExceptionInfo *exception)
static double DecodeGamma (const double x)
MagickExport MagickRealType DecodePixelGamma (const MagickRealType pixel)
static double EncodeGamma (const double x)
MagickExport MagickRealType EncodePixelGamma (const MagickRealType pixel)
static MagickBooleanType ExportCharPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
static MagickBooleanType ExportDoublePixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
static MagickBooleanType ExportFloatPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
static MagickBooleanType ExportIntegerPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
static MagickBooleanType ExportLongPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
static MagickBooleanType ExportQuantumPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
static MagickBooleanType ExportShortPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception)
MagickExport MagickBooleanType ExportImagePixels (const Image *image, const ssize_t x, const ssize_t y, const size_t width, const size_t height, const char *map, const StorageType type, void *pixels, ExceptionInfo *exception)
MagickExport MagickRealType GetMagickPixelIntensity (const Image *image, const MagickPixelPacket *magick_restrict pixel)
MagickExport void GetMagickPixelPacket (const Image *image, MagickPixelPacket *pixel)
MagickExport MagickRealType GetPixelIntensity (const Image *image, const PixelPacket *magick_restrict pixel)
static MagickBooleanType ImportCharPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
static MagickBooleanType ImportDoublePixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
static MagickBooleanType ImportFloatPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
static MagickBooleanType ImportIntegerPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
static MagickBooleanType ImportLongPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
static MagickBooleanType ImportQuantumPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
static MagickBooleanType ImportShortPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception)
MagickExport MagickBooleanType ImportImagePixels (Image *image, const ssize_t x, const ssize_t y, const size_t width, const size_t height, const char *map, const StorageType type, const void *pixels)
static void AlphaBlendMagickPixelPacket (const Image *image, const PixelPacket *color, const IndexPacket *indexes, MagickPixelPacket *pixel, MagickRealType *alpha)
static void CatromWeights (const MagickRealType x, MagickRealType(*weights)[4])
static double ConstrainPixelOffset (double x)
static void SplineWeights (const MagickRealType x, MagickRealType(*weights)[4])
static double MeshInterpolate (const PointInfo *delta, const double p, const double x, const double y)
MagickExport MagickBooleanType InterpolateMagickPixelPacket (const Image *magick_restrict image, const CacheView *image_view, const InterpolatePixelMethod method, const double x, const double y, MagickPixelPacket *pixel, ExceptionInfo *exception)

Function Documentation

static void AlphaBlendMagickPixelPacket ( const Image *  image,
const PixelPacket *  color,
const IndexPacket *  indexes,
MagickPixelPacket *  pixel,
MagickRealType *  alpha 
) [inline, static]
static void CatromWeights ( const MagickRealType  x,
MagickRealType(*)  weights[4] 
) [inline, static]
MagickExport MagickPixelPacket* CloneMagickPixelPacket ( const MagickPixelPacket *  pixel  ) 
MagickExport void ConformMagickPixelPacket ( Image *  image,
const MagickPixelPacket *  source,
MagickPixelPacket *  destination,
ExceptionInfo *  exception 
)
static double ConstrainPixelOffset ( double  x  )  [inline, static]
static double DecodeGamma ( const double  x  )  [inline, static]

Referenced by DecodePixelGamma().

MagickExport MagickRealType DecodePixelGamma ( const MagickRealType  pixel  ) 
static double EncodeGamma ( const double  x  )  [inline, static]

Referenced by EncodePixelGamma().

MagickExport MagickRealType EncodePixelGamma ( const MagickRealType  pixel  ) 
static MagickBooleanType ExportCharPixel ( Image *  image,
const RectangleInfo *  roi,
const char *magick_restrict  map,
const QuantumType *  quantum_map,
void *  pixels,
ExceptionInfo *  exception 
) [static]
static MagickBooleanType ExportDoublePixel ( Image *  image,
const RectangleInfo *  roi,
const char *magick_restrict  map,
const QuantumType *  quantum_map,
void *  pixels,
ExceptionInfo *  exception 
) [static]
static MagickBooleanType ExportFloatPixel ( Image *  image,
const RectangleInfo *  roi,
const char *magick_restrict  map,
const QuantumType *  quantum_map,
void *  pixels,
ExceptionInfo *  exception 
) [static]
MagickExport MagickBooleanType ExportImagePixels ( const Image *  image,
const ssize_t  x,
const ssize_t  y,
const size_t  width,
const size_t  height,
const char *  map,
const StorageType  type,
void *  pixels,
ExceptionInfo *  exception 
)
static MagickBooleanType ExportIntegerPixel ( Image *  image,
const RectangleInfo *  roi,
const char *magick_restrict  map,
const QuantumType *  quantum_map,
void *  pixels,
ExceptionInfo *  exception 
) [static]
static MagickBooleanType ExportLongPixel ( Image *  image,
const RectangleInfo *  roi,
const char *magick_restrict  map,
const QuantumType *  quantum_map,
void *  pixels,
ExceptionInfo *  exception 
) [static]
static MagickBooleanType ExportQuantumPixel ( Image *  image,
const RectangleInfo *  roi,
const char *magick_restrict  map,
const QuantumType *  quantum_map,
void *  pixels,
ExceptionInfo *  exception 
) [static]
static MagickBooleanType ExportShortPixel ( Image *  image,
const RectangleInfo *  roi,
const char *magick_restrict  map,
const QuantumType *  quantum_map,
void *  pixels,
ExceptionInfo *  exception 
) [static]
MagickExport MagickRealType GetMagickPixelIntensity ( const Image *  image,
const MagickPixelPacket *magick_restrict  pixel 
)
MagickExport void GetMagickPixelPacket ( const Image *  image,
MagickPixelPacket *  pixel 
)

References _MagickPixelPacket::blue, _Image::colorspace, _MagickPixelPacket::colorspace, _Image::depth, _MagickPixelPacket::depth, DirectClass, _Image::fuzz, _MagickPixelPacket::fuzz, _MagickPixelPacket::green, _MagickPixelPacket::index, MAGICKCORE_QUANTUM_DEPTH, MagickFalse, _Image::matte, _MagickPixelPacket::matte, _MagickPixelPacket::opacity, OpaqueOpacity, _MagickPixelPacket::red, sRGBColorspace, _Image::storage_class, and _MagickPixelPacket::storage_class.

Referenced by AcquireColorCache(), AcquirePixelThreadSet(), AdaptiveBlurImageChannel(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), BlackThresholdImageChannel(), CheckImageColors(), ClassifyImageColors(), ClutImageChannel(), CompareImageBounds(), CompareImageChannels(), CompositeImageChannel(), ConnectedComponentsImage(), DistortImage(), DrawAffineImage(), DrawGradientImage(), EvaluateImages(), FilterImageChannel(), FloodfillPaintImage(), FrameImage(), FxGetSymbol(), GetEdgeBackgroundFactor(), GetImageBackgroundColor(), GetImageBoundingBox(), GetImageChannelMoments(), GetImageChannelRange(), GetImageDynamicThreshold(), GetImageProperty(), GetMedianPixelList(), GetNumberColors(), GetOneVirtualMagickPixel(), GradientImage(), HaldClutImageChannel(), IdentifyImage(), ImplodeImage(), InterpolateMagickPixelPacket(), InterpolatePixelColor(), InterpolativeResizeImage(), IsHighDynamicRangeImage(), IsHistogramImage(), IsImageSimilar(), KuwaharaImageChannel(), MaskPixelCacheNexus(), MeanShiftImage(), MorphologyPrimitiveDirect(), MotionBlurImageChannel(), OpaquePaintImageChannel(), PolynomialImageChannel(), QueryColorname(), QueryMagickColorCompliance(), RandomThresholdImageChannel(), ResamplePixelColor(), RGBTransformImage(), RotationalBlurImageChannel(), ScaleImage(), SelectiveBlurImageChannel(), SetImageAlphaChannel(), SetImageBackgroundColor(), SketchImage(), SparseColorImage(), SpreadImage(), StatisticImageChannel(), SwirlImage(), ThresholdImageChannel(), TransformRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), UnsharpMaskImageChannel(), WaveImage(), WhiteThresholdImageChannel(), XShearImage(), and YShearImage().

MagickExport MagickRealType GetPixelIntensity ( const Image *  image,
const PixelPacket *magick_restrict  pixel 
)
static MagickBooleanType ImportCharPixel ( Image *  image,
const RectangleInfo *  roi,
const char *magick_restrict  map,
const QuantumType *  quantum_map,
const void *  pixels,
ExceptionInfo *  exception 
) [static]
static MagickBooleanType ImportDoublePixel ( Image *  image,
const RectangleInfo *  roi,
const char *magick_restrict  map,
const QuantumType *  quantum_map,
const void *  pixels,
ExceptionInfo *  exception 
) [static]
static MagickBooleanType ImportFloatPixel ( Image *  image,
const RectangleInfo *  roi,
const char *magick_restrict  map,
const QuantumType *  quantum_map,
const void *  pixels,
ExceptionInfo *  exception 
) [static]
MagickExport MagickBooleanType ImportImagePixels ( Image *  image,
const ssize_t  x,
const ssize_t  y,
const size_t  width,
const size_t  height,
const char *  map,
const StorageType  type,
const void *  pixels 
)
static MagickBooleanType ImportIntegerPixel ( Image *  image,
const RectangleInfo *  roi,
const char *magick_restrict  map,
const QuantumType *  quantum_map,
const void *  pixels,
ExceptionInfo *  exception 
) [static]
static MagickBooleanType ImportLongPixel ( Image *  image,
const RectangleInfo *  roi,
const char *magick_restrict  map,
const QuantumType *  quantum_map,
const void *  pixels,
ExceptionInfo *  exception 
) [static]
static MagickBooleanType ImportQuantumPixel ( Image *  image,
const RectangleInfo *  roi,
const char *magick_restrict  map,
const QuantumType *  quantum_map,
const void *  pixels,
ExceptionInfo *  exception 
) [static]
static MagickBooleanType ImportShortPixel ( Image *  image,
const RectangleInfo *  roi,
const char *magick_restrict  map,
const QuantumType *  quantum_map,
const void *  pixels,
ExceptionInfo *  exception 
) [static]
MagickExport MagickBooleanType InterpolateMagickPixelPacket ( const Image *magick_restrict  image,
const CacheView *  image_view,
const InterpolatePixelMethod  method,
const double  x,
const double  y,
MagickPixelPacket *  pixel,
ExceptionInfo *  exception 
)
static double MeshInterpolate ( const PointInfo *  delta,
const double  p,
const double  x,
const double  y 
) [inline, static]
static void SplineWeights ( const MagickRealType  x,
MagickRealType(*)  weights[4] 
) [inline, static]

Generated on 10 Feb 2020 for MagickCore by  doxygen 1.6.1