MagickCore  7.0.7
Convert, Edit, Or Compose Bitmap Images
coder.c File Reference
Include dependency graph for coder.c:

Go to the source code of this file.

Data Structures

struct  _CoderMapInfo
 

Macros

#define MagickCoderFilename   "coder.xml"
 

Typedefs

typedef struct _CoderMapInfo CoderMapInfo
 

Functions

static MagickBooleanType IsCoderTreeInstantiated (ExceptionInfo *)
 
static MagickBooleanType LoadCoderCache (SplayTreeInfo *, const char *, const char *, const size_t, ExceptionInfo *)
 
static void * DestroyCoderNode (void *coder_info)
 
static SplayTreeInfoAcquireCoderCache (const char *filename, ExceptionInfo *exception)
 
MagickPrivate MagickBooleanType CoderComponentGenesis (void)
 
MagickPrivate void CoderComponentTerminus (void)
 
MagickExport const CoderInfoGetCoderInfo (const char *name, ExceptionInfo *exception)
 
static int CoderInfoCompare (const void *x, const void *y)
 
MagickExport const CoderInfo ** GetCoderInfoList (const char *pattern, size_t *number_coders, ExceptionInfo *exception)
 
static int CoderCompare (const void *x, const void *y)
 
MagickExport char ** GetCoderList (const char *pattern, size_t *number_coders, ExceptionInfo *exception)
 
MagickExport MagickBooleanType ListCoderInfo (FILE *file, ExceptionInfo *exception)
 

Variables

static const CoderMapInfo CoderMap []
 
static SemaphoreInfocoder_semaphore = (SemaphoreInfo *) NULL
 
static SplayTreeInfocoder_cache = (SplayTreeInfo *) NULL
 

Macro Definition Documentation

◆ MagickCoderFilename

#define MagickCoderFilename   "coder.xml"

Definition at line 68 of file coder.c.

Referenced by IsCoderTreeInstantiated().

Typedef Documentation

◆ CoderMapInfo

typedef struct _CoderMapInfo CoderMapInfo

Function Documentation

◆ AcquireCoderCache()

◆ CoderCompare()

static int CoderCompare ( const void *  x,
const void *  y 
)
static

Definition at line 596 of file coder.c.

References LocaleCompare().

Referenced by GetCoderList().

◆ CoderComponentGenesis()

MagickPrivate MagickBooleanType CoderComponentGenesis ( void  )

Definition at line 410 of file coder.c.

References AcquireSemaphoreInfo(), coder_semaphore, and MagickTrue.

Referenced by MagickCoreGenesis().

◆ CoderComponentTerminus()

◆ CoderInfoCompare()

static int CoderInfoCompare ( const void *  x,
const void *  y 
)
static

Definition at line 509 of file coder.c.

References LocaleCompare().

Referenced by GetCoderInfoList().

◆ DestroyCoderNode()

static void* DestroyCoderNode ( void *  coder_info)
static

◆ GetCoderInfo()

MagickExport const CoderInfo* GetCoderInfo ( const char *  name,
ExceptionInfo exception 
)

◆ GetCoderInfoList()

◆ GetCoderList()

◆ IsCoderTreeInstantiated()

static MagickBooleanType IsCoderTreeInstantiated ( ExceptionInfo exception)
static

◆ ListCoderInfo()

◆ LoadCoderCache()

Variable Documentation

◆ coder_cache

SplayTreeInfo* coder_cache = (SplayTreeInfo *) NULL
static

◆ coder_semaphore

SemaphoreInfo* coder_semaphore = (SemaphoreInfo *) NULL
static

◆ CoderMap

const CoderMapInfo CoderMap[]
static

Definition at line 84 of file coder.c.

Referenced by AcquireCoderCache().