#include "MagickCore/studio.h"
#include "MagickCore/artifact.h"
#include "MagickCore/attribute.h"
#include "MagickCore/cache.h"
#include "MagickCore/color.h"
#include "MagickCore/colorspace-private.h"
#include "MagickCore/configure.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/image.h"
#include "MagickCore/linked-list.h"
#include "MagickCore/memory_.h"
#include "MagickCore/monitor.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/option.h"
#include "MagickCore/option-private.h"
#include "MagickCore/pixel-accessor.h"
#include "MagickCore/profile.h"
#include "MagickCore/profile-private.h"
#include "MagickCore/property.h"
#include "MagickCore/quantum.h"
#include "MagickCore/quantum-private.h"
#include "MagickCore/resource_.h"
#include "MagickCore/splay-tree.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
#include "MagickCore/thread-private.h"
#include "MagickCore/token.h"
#include "MagickCore/utility.h"
#include <wchar.h>
#include "lcms2.h"
#include <libxml/parser.h>
#include <libxml/tree.h>
Data Structures | |
struct | _ProfileInfo |
struct | _CMSExceptionInfo |
struct | _LCMSInfo |
Defines | |
#define | GetLCMSPixel(source_info, pixel) (source_info->scale*QuantumScale*(pixel)+source_info->translate) |
#define | SetLCMSPixel(target_info, pixel) ClampToQuantum(target_info->scale*QuantumRange*(pixel)+target_info->translate) |
#define | ProfileImageTag "Profile/Image" |
#define | TYPE_XYZ_8 (COLORSPACE_SH(PT_XYZ)|CHANNELS_SH(3)|BYTES_SH(1)) |
#define | ThrowProfileException(severity, tag, context) |
#define | MaxDirectoryStack 16 |
#define | EXIF_DELIMITER "\n" |
#define | EXIF_NUM_FORMATS 12 |
#define | TAG_EXIF_OFFSET 0x8769 |
#define | TAG_INTEROP_OFFSET 0xa005 |
Typedefs | |
typedef struct _CMSExceptionInfo | CMSExceptionInfo |
typedef struct _LCMSInfo | LCMSInfo |
Functions | |
static MagickBooleanType | SetImageProfileInternal (Image *, const char *, const StringInfo *, const MagickBooleanType, ExceptionInfo *) |
static void | WriteTo8BimProfile (Image *, const char *, const StringInfo *) |
MagickExport MagickBooleanType | CloneImageProfiles (Image *image, const Image *clone_image) |
MagickExport MagickBooleanType | DeleteImageProfile (Image *image, const char *name) |
MagickExport void | DestroyImageProfiles (Image *image) |
MagickExport const StringInfo * | GetImageProfile (const Image *image, const char *name) |
MagickExport char * | GetNextImageProfile (const Image *image) |
static void * | cmsGetContextUserData (cmsContext ContextID) |
static cmsContext | cmsCreateContext (void *magick_unused(Plugin), void *UserData) |
static void | cmsSetLogErrorHandlerTHR (cmsContext magick_unused(ContextID), cmsLogErrorHandlerFunction Fn) |
static void | cmsDeleteContext (cmsContext magick_unused(ContextID)) |
static void ** | DestroyPixelThreadSet (void **pixels) |
static void ** | AcquirePixelThreadSet (const size_t columns, const size_t channels, MagickBooleanType highres) |
static cmsHTRANSFORM * | DestroyTransformThreadSet (cmsHTRANSFORM *transform) |
static cmsHTRANSFORM * | AcquireTransformThreadSet (const LCMSInfo *source_info, const LCMSInfo *target_info, const cmsUInt32Number flags, cmsContext cms_context) |
static void | CMSExceptionHandler (cmsContext context, cmsUInt32Number severity, const char *message) |
static void | TransformDoublePixels (const int id, const Image *image, const LCMSInfo *source_info, const LCMSInfo *target_info, const cmsHTRANSFORM *transform, Quantum *q) |
static void | TransformQuantumPixels (const int id, const Image *image, const LCMSInfo *source_info, const LCMSInfo *target_info, const cmsHTRANSFORM *transform, Quantum *q) |
static MagickBooleanType | SetsRGBImageProfile (Image *image, ExceptionInfo *exception) |
MagickExport MagickBooleanType | ProfileImage (Image *image, const char *name, const void *datum, const size_t length, ExceptionInfo *exception) |
MagickExport StringInfo * | RemoveImageProfile (Image *image, const char *name) |
MagickExport void | ResetImageProfileIterator (const Image *image) |
static void * | DestroyProfile (void *profile) |
static const unsigned char * | ReadResourceByte (const unsigned char *p, unsigned char *quantum) |
static const unsigned char * | ReadResourceLong (const unsigned char *p, unsigned int *quantum) |
static const unsigned char * | ReadResourceShort (const unsigned char *p, unsigned short *quantum) |
static void | WriteResourceLong (unsigned char *p, const unsigned int quantum) |
static void | GetProfilesFromResourceBlock (Image *image, const StringInfo *resource_block, ExceptionInfo *exception) |
static MagickBooleanType | ValidateXMPProfile (const StringInfo *profile) |
MagickExport MagickBooleanType | SetImageProfile (Image *image, const char *name, const StringInfo *profile, ExceptionInfo *exception) |
static int | ReadProfileByte (unsigned char **p, size_t *length) |
static signed short | ReadProfileShort (const EndianType endian, unsigned char *buffer) |
static signed int | ReadProfileLong (const EndianType endian, unsigned char *buffer) |
static signed int | ReadProfileMSBLong (unsigned char **p, size_t *length) |
static signed short | ReadProfileMSBShort (unsigned char **p, size_t *length) |
static void | WriteProfileLong (const EndianType endian, const size_t value, unsigned char *p) |
static void | WriteProfileShort (const EndianType endian, const unsigned short value, unsigned char *p) |
static MagickBooleanType | Sync8BimProfile (Image *image, StringInfo *profile) |
MagickBooleanType | SyncExifProfile (Image *image, StringInfo *profile) |
MagickPrivate MagickBooleanType | SyncImageProfiles (Image *image) |
static void | UpdateClipPath (unsigned char *blob, size_t length, const size_t old_columns, const size_t old_rows, const RectangleInfo *new_geometry) |
MagickPrivate void | Update8BIMClipPath (const StringInfo *profile, const size_t old_columns, const size_t old_rows, const RectangleInfo *new_geometry) |
#define EXIF_DELIMITER "\n" |
#define EXIF_NUM_FORMATS 12 |
Referenced by SyncExifProfile().
#define GetLCMSPixel | ( | source_info, | |||
pixel | ) | (source_info->scale*QuantumScale*(pixel)+source_info->translate) |
Referenced by TransformDoublePixels().
#define MaxDirectoryStack 16 |
Referenced by GetEXIFProperty(), and SyncExifProfile().
#define ProfileImageTag "Profile/Image" |
Referenced by ProfileImage().
#define SetLCMSPixel | ( | target_info, | |||
pixel | ) | ClampToQuantum(target_info->scale*QuantumRange*(pixel)+target_info->translate) |
Referenced by TransformDoublePixels().
#define TAG_EXIF_OFFSET 0x8769 |
Referenced by GetEXIFProperty(), and SyncExifProfile().
#define TAG_INTEROP_OFFSET 0xa005 |
Referenced by GetEXIFProperty(), and SyncExifProfile().
#define ThrowProfileException | ( | severity, | |||
tag, | |||||
context | ) |
{ \ if (profile != (StringInfo *) NULL) \ profile=DestroyStringInfo(profile); \ if (cms_context != (cmsContext) NULL) \ cmsDeleteContext(cms_context); \ if (source_info.profile != (cmsHPROFILE) NULL) \ (void) cmsCloseProfile(source_info.profile); \ if (target_info.profile != (cmsHPROFILE) NULL) \ (void) cmsCloseProfile(target_info.profile); \ ThrowBinaryException(severity,tag,context); \ }
Referenced by ProfileImage().
#define TYPE_XYZ_8 (COLORSPACE_SH(PT_XYZ)|CHANNELS_SH(3)|BYTES_SH(1)) |
Referenced by ProfileImage().
typedef struct _CMSExceptionInfo CMSExceptionInfo |
static void** AcquirePixelThreadSet | ( | const size_t | columns, | |
const size_t | channels, | |||
MagickBooleanType | highres | |||
) | [static] |
References AcquireQuantumMemory(), DestroyPixelThreadSet(), GetMagickResourceLimit(), MagickFalse, and ThreadResource.
Referenced by ProfileImage().
static cmsHTRANSFORM* AcquireTransformThreadSet | ( | const LCMSInfo * | source_info, | |
const LCMSInfo * | target_info, | |||
const cmsUInt32Number | flags, | |||
cmsContext | cms_context | |||
) | [static] |
References AcquireQuantumMemory(), DestroyTransformThreadSet(), GetMagickResourceLimit(), _LCMSInfo::intent, _LCMSInfo::profile, ThreadResource, and _LCMSInfo::type.
Referenced by ProfileImage().
MagickExport MagickBooleanType CloneImageProfiles | ( | Image * | image, | |
const Image * | clone_image | |||
) |
References CloneSplayTree(), CloneStringInfo(), ConstantString(), _Image::debug, DestroyImageProfiles(), _Image::filename, GetMagickModule, LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _Image::profiles, _Image::signature, and TraceEvent.
Referenced by CloneImage(), CoalesceImages(), and DisposeImages().
static cmsContext cmsCreateContext | ( | void * | magick_unusedPlugin, | |
void * | UserData | |||
) | [static] |
References magick_unreferenced.
Referenced by ProfileImage().
static void cmsDeleteContext | ( | cmsContext | magick_unusedContextID | ) | [static] |
References magick_unreferenced.
Referenced by ProfileImage().
static void CMSExceptionHandler | ( | cmsContext | context, | |
cmsUInt32Number | severity, | |||
const char * | message | |||
) | [static] |
References cmsGetContextUserData(), _Image::debug, _CMSExceptionInfo::exception, _Image::filename, GetMagickModule, _CMSExceptionInfo::image, ImageWarning, LogMagickEvent(), MagickFalse, ThrowMagickException(), and TransformEvent.
Referenced by ProfileImage().
static void* cmsGetContextUserData | ( | cmsContext | ContextID | ) | [static] |
Referenced by CMSExceptionHandler().
static void cmsSetLogErrorHandlerTHR | ( | cmsContext | magick_unusedContextID, | |
cmsLogErrorHandlerFunction | Fn | |||
) | [static] |
References magick_unreferenced.
Referenced by ProfileImage().
MagickExport MagickBooleanType DeleteImageProfile | ( | Image * | image, | |
const char * | name | |||
) |
References _Image::debug, DeleteNodeFromSplayTree(), _Image::filename, GetMagickModule, LogMagickEvent(), MagickCoreSignature, MagickFalse, _Image::profiles, _Image::signature, TraceEvent, and WriteTo8BimProfile().
Referenced by ProfileImage(), ThumbnailImage(), and TransformImageColorspace().
MagickExport void DestroyImageProfiles | ( | Image * | image | ) |
References DestroySplayTree(), and _Image::profiles.
Referenced by CloneImageProfiles(), DestroyImage(), and StripImage().
static void** DestroyPixelThreadSet | ( | void ** | pixels | ) | [static] |
References GetMagickResourceLimit(), RelinquishMagickMemory(), and ThreadResource.
Referenced by AcquirePixelThreadSet(), and ProfileImage().
static void* DestroyProfile | ( | void * | profile | ) | [static] |
References DestroyStringInfo().
Referenced by SetImageProfileInternal().
static cmsHTRANSFORM* DestroyTransformThreadSet | ( | cmsHTRANSFORM * | transform | ) | [static] |
References GetMagickResourceLimit(), RelinquishMagickMemory(), and ThreadResource.
Referenced by AcquireTransformThreadSet(), and ProfileImage().
MagickExport const StringInfo* GetImageProfile | ( | const Image * | image, | |
const char * | name | |||
) |
References _Image::debug, _Image::filename, GetMagickModule, GetValueFromSplayTree(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _Image::profiles, _Image::signature, and TraceEvent.
Referenced by ExtentImage(), Get8BIMProperty(), GetEXIFProperty(), GetICCProperty(), GetIPTCProperty(), GetMagickProperty(), GetXMPProperty(), IdentifyImage(), ProfileImage(), ReadImage(), SetsRGBImageProfile(), and SyncImageProfiles().
MagickExport char* GetNextImageProfile | ( | const Image * | image | ) |
References _Image::debug, _Image::filename, GetMagickModule, GetNextKeyInSplayTree(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _Image::profiles, _Image::signature, and TraceEvent.
Referenced by GetMagickProperty(), IdentifyImage(), ProfileImage(), and ThumbnailImage().
static void GetProfilesFromResourceBlock | ( | Image * | image, | |
const StringInfo * | resource_block, | |||
ExceptionInfo * | exception | |||
) | [static] |
References AcquireStringInfo(), DestroyStringInfo(), GetStringInfoDatum(), GetStringInfoLength(), LocaleNCompare(), MagickTrue, PixelsPerCentimeterResolution, PixelsPerInchResolution, ReadResourceByte(), ReadResourceLong(), ReadResourceShort(), _Image::resolution, SetImageProfileInternal(), SetStringInfoDatum(), _Image::units, _PointInfo::x, and _PointInfo::y.
Referenced by SetImageProfileInternal().
MagickExport MagickBooleanType ProfileImage | ( | Image * | image, | |
const char * | name, | |||
const void * | datum, | |||
const size_t | length, | |||
ExceptionInfo * | exception | |||
) |
References AbsoluteIntent, AcquireAuthenticCacheView(), AcquirePixelThreadSet(), AcquireStringInfo(), AcquireTransformThreadSet(), _Image::alpha_trait, _Image::black_point_compensation, _LCMSInfo::channels, cmsCreateContext(), cmsDeleteContext(), CMSExceptionHandler(), cmsSetLogErrorHandlerTHR(), cmsUInt32Number, CMYKColorspace, ColorSeparationAlphaType, ColorSeparationType, _LCMSInfo::colorspace, _Image::columns, CompareStringInfo(), _Image::debug, DeleteImageProfile(), DestroyCacheView(), DestroyPixelThreadSet(), DestroyStringInfo(), DestroyTransformThreadSet(), DirectClass, _CMSExceptionInfo::exception, _Image::filename, GetCacheViewAuthenticPixels(), GetImageArtifact(), GetImageProfile(), GetImageProperty(), GetMagickModule, GetNextImageProfile(), GetOpenMPThreadId(), GetStringInfoDatum(), GetStringInfoLength(), GRAYColorspace, GrayscaleAlphaType, GrayscaleType, _CMSExceptionInfo::image, ImageError, _LCMSInfo::intent, IsOptionMember(), IsStringFalse(), LabColorspace, LocaleCompare(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, MissingDelegateWarning, PerceptualIntent, _LCMSInfo::pixels, _LCMSInfo::profile, ProfileImageTag, _Image::progress_monitor, RelativeIntent, _Image::rendering_intent, ResetImageProfileIterator(), ResourceLimitError, _Image::rows, SaturationIntent, _LCMSInfo::scale, SetImageColorspace(), SetImageProfile(), SetImageProgress(), SetImageStorageClass(), SetsRGBImageProfile(), SetStringInfoDatum(), _Image::signature, sRGBColorspace, SyncCacheViewAuthenticPixels(), ThrowBinaryException, ThrowMagickException(), ThrowProfileException, TraceEvent, TransformDoublePixels(), TransformQuantumPixels(), _LCMSInfo::translate, TrueColorAlphaType, TrueColorType, _Image::type, _LCMSInfo::type, TYPE_XYZ_8, UndefinedPixelTrait, and XYZColorspace.
static int ReadProfileByte | ( | unsigned char ** | p, | |
size_t * | length | |||
) | [inline, static] |
Referenced by Sync8BimProfile(), SyncExifProfile(), and Update8BIMClipPath().
static signed int ReadProfileLong | ( | const EndianType | endian, | |
unsigned char * | buffer | |||
) | [inline, static] |
References LSBEndian.
Referenced by ReadProfileMSBLong(), and SyncExifProfile().
static signed int ReadProfileMSBLong | ( | unsigned char ** | p, | |
size_t * | length | |||
) | [inline, static] |
References MSBEndian, and ReadProfileLong().
Referenced by Sync8BimProfile(), Update8BIMClipPath(), and UpdateClipPath().
static signed short ReadProfileMSBShort | ( | unsigned char ** | p, | |
size_t * | length | |||
) | [inline, static] |
References MSBEndian, and ReadProfileShort().
Referenced by Sync8BimProfile(), Update8BIMClipPath(), and UpdateClipPath().
static signed short ReadProfileShort | ( | const EndianType | endian, | |
unsigned char * | buffer | |||
) | [inline, static] |
References LSBEndian.
Referenced by ReadProfileMSBShort(), and SyncExifProfile().
static const unsigned char* ReadResourceByte | ( | const unsigned char * | p, | |
unsigned char * | quantum | |||
) | [inline, static] |
Referenced by GetProfilesFromResourceBlock(), and WriteTo8BimProfile().
static const unsigned char* ReadResourceLong | ( | const unsigned char * | p, | |
unsigned int * | quantum | |||
) | [inline, static] |
Referenced by GetProfilesFromResourceBlock(), and WriteTo8BimProfile().
static const unsigned char* ReadResourceShort | ( | const unsigned char * | p, | |
unsigned short * | quantum | |||
) | [inline, static] |
Referenced by GetProfilesFromResourceBlock(), and WriteTo8BimProfile().
MagickExport StringInfo* RemoveImageProfile | ( | Image * | image, | |
const char * | name | |||
) |
MagickExport void ResetImageProfileIterator | ( | const Image * | image | ) |
References _Image::debug, _Image::filename, GetMagickModule, LogMagickEvent(), MagickCoreSignature, MagickFalse, _Image::profiles, ResetSplayTreeIterator(), _Image::signature, and TraceEvent.
Referenced by GetMagickProperty(), IdentifyImage(), ProfileImage(), and ThumbnailImage().
MagickExport MagickBooleanType SetImageProfile | ( | Image * | image, | |
const char * | name, | |||
const StringInfo * | profile, | |||
ExceptionInfo * | exception | |||
) |
References MagickFalse, and SetImageProfileInternal().
Referenced by ProfileImage(), SetImageProperty(), and SetsRGBImageProfile().
static MagickBooleanType SetImageProfileInternal | ( | Image * | image, | |
const char * | name, | |||
const StringInfo * | profile, | |||
const MagickBooleanType | recursive, | |||
ExceptionInfo * | exception | |||
) | [static] |
References AddValueToSplayTree(), CloneStringInfo(), CompareSplayTreeString(), ConstantString(), CopyMagickString(), _Image::debug, DestroyProfile(), _Image::filename, GetMagickModule, GetProfilesFromResourceBlock(), ImageWarning, LocaleCompare(), LocaleLower(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickPathExtent, MagickTrue, NewSplayTree(), _Image::profiles, RelinquishMagickMemory(), _Image::signature, ThrowMagickException(), TraceEvent, ValidateXMPProfile(), and WriteTo8BimProfile().
Referenced by GetProfilesFromResourceBlock(), and SetImageProfile().
static MagickBooleanType SetsRGBImageProfile | ( | Image * | image, | |
ExceptionInfo * | exception | |||
) | [static] |
References AcquireStringInfo(), DestroyStringInfo(), GetImageProfile(), MagickCoreSignature, MagickFalse, SetImageProfile(), SetStringInfoDatum(), and _Image::signature.
Referenced by ProfileImage().
static MagickBooleanType Sync8BimProfile | ( | Image * | image, | |
StringInfo * | profile | |||
) | [static] |
References GetStringInfoDatum(), GetStringInfoLength(), MagickFalse, MagickTrue, MSBEndian, PixelsPerCentimeterResolution, ReadProfileByte(), ReadProfileMSBLong(), ReadProfileMSBShort(), _Image::resolution, _Image::units, WriteProfileLong(), WriteProfileShort(), _PointInfo::x, and _PointInfo::y.
Referenced by SyncImageProfiles().
MagickBooleanType SyncExifProfile | ( | Image * | image, | |
StringInfo * | profile | |||
) |
References AddValueToSplayTree(), DestroySplayTree(), EXIF_NUM_FORMATS, GetStringInfoDatum(), GetStringInfoLength(), GetValueFromSplayTree(), LSBEndian, MagickFalse, MagickTrue, MaxDirectoryStack, MSBEndian, NewSplayTree(), _Image::orientation, ReadProfileByte(), ReadProfileLong(), ReadProfileShort(), _Image::resolution, TAG_EXIF_OFFSET, TAG_INTEROP_OFFSET, _Image::units, WriteProfileLong(), WriteProfileShort(), _PointInfo::x, and _PointInfo::y.
Referenced by SyncImageProfiles().
MagickPrivate MagickBooleanType SyncImageProfiles | ( | Image * | image | ) |
References GetImageProfile(), MagickFalse, MagickTrue, Sync8BimProfile(), and SyncExifProfile().
Referenced by WriteImage().
static void TransformDoublePixels | ( | const int | id, | |
const Image * | image, | |||
const LCMSInfo * | source_info, | |||
const LCMSInfo * | target_info, | |||
const cmsHTRANSFORM * | transform, | |||
Quantum * | q | |||
) | [static] |
References _LCMSInfo::channels, _Image::columns, GetLCMSPixel, GetPixelBlack(), GetPixelBlue(), GetPixelChannels(), GetPixelGreen(), GetPixelRed(), _LCMSInfo::pixels, SetLCMSPixel, SetPixelBlack(), SetPixelBlue(), SetPixelGray(), SetPixelGreen(), and SetPixelRed().
Referenced by ProfileImage().
static void TransformQuantumPixels | ( | const int | id, | |
const Image * | image, | |||
const LCMSInfo * | source_info, | |||
const LCMSInfo * | target_info, | |||
const cmsHTRANSFORM * | transform, | |||
Quantum * | q | |||
) | [static] |
References _LCMSInfo::channels, _Image::columns, GetPixelBlack(), GetPixelBlue(), GetPixelChannels(), GetPixelGreen(), GetPixelRed(), _LCMSInfo::pixels, SetPixelBlack(), SetPixelBlue(), SetPixelGray(), SetPixelGreen(), and SetPixelRed().
Referenced by ProfileImage().
MagickPrivate void Update8BIMClipPath | ( | const StringInfo * | profile, | |
const size_t | old_columns, | |||
const size_t | old_rows, | |||
const RectangleInfo * | new_geometry | |||
) |
References GetStringInfoDatum(), GetStringInfoLength(), MagickMin, ReadProfileByte(), ReadProfileMSBLong(), ReadProfileMSBShort(), and UpdateClipPath().
Referenced by ExtentImage().
static void UpdateClipPath | ( | unsigned char * | blob, | |
size_t | length, | |||
const size_t | old_columns, | |||
const size_t | old_rows, | |||
const RectangleInfo * | new_geometry | |||
) | [static] |
References _RectangleInfo::height, MagickMin, MSBEndian, ReadProfileMSBLong(), ReadProfileMSBShort(), _RectangleInfo::width, WriteProfileLong(), _RectangleInfo::x, and _RectangleInfo::y.
Referenced by Update8BIMClipPath().
static MagickBooleanType ValidateXMPProfile | ( | const StringInfo * | profile | ) | [static] |
References GetStringInfoDatum(), GetStringInfoLength(), MagickFalse, and MagickTrue.
Referenced by SetImageProfileInternal().
static void WriteProfileLong | ( | const EndianType | endian, | |
const size_t | value, | |||
unsigned char * | p | |||
) | [inline, static] |
References LSBEndian.
Referenced by Sync8BimProfile(), SyncExifProfile(), and UpdateClipPath().
static void WriteProfileShort | ( | const EndianType | endian, | |
const unsigned short | value, | |||
unsigned char * | p | |||
) | [static] |
References LSBEndian.
Referenced by Sync8BimProfile(), and SyncExifProfile().
static void WriteResourceLong | ( | unsigned char * | p, | |
const unsigned int | quantum | |||
) | [inline, static] |
Referenced by WriteTo8BimProfile().
static void WriteTo8BimProfile | ( | Image * | image, | |
const char * | name, | |||
const StringInfo * | profile | |||
) | [static] |
References AcquireStringInfo(), AddValueToSplayTree(), CloneStringInfo(), ConstantString(), _StringInfo::datum, DestroyStringInfo(), GetStringInfoDatum(), GetStringInfoLength(), GetValueFromSplayTree(), _StringInfo::length, LocaleCompare(), LocaleNCompare(), _Image::profiles, ReadResourceByte(), ReadResourceLong(), ReadResourceShort(), and WriteResourceLong().
Referenced by DeleteImageProfile(), RemoveImageProfile(), and SetImageProfileInternal().