MagickCore  7.0.10
coder.c File Reference
#include "MagickCore/studio.h"
#include "MagickCore/blob.h"
#include "MagickCore/client.h"
#include "MagickCore/coder.h"
#include "MagickCore/coder-private.h"
#include "MagickCore/configure.h"
#include "MagickCore/draw.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/log.h"
#include "MagickCore/memory_.h"
#include "MagickCore/memory-private.h"
#include "MagickCore/option.h"
#include "MagickCore/semaphore.h"
#include "MagickCore/string_.h"
#include "MagickCore/splay-tree.h"
#include "MagickCore/token.h"
#include "MagickCore/utility.h"
#include "MagickCore/utility-private.h"
#include "coders/coders.h"
#include "coders/coders-list.h"
Include dependency graph for coder.c:

Go to the source code of this file.

Data Structures

struct  _CoderMapInfo
 

Macros

#define AddMagickCoder(coder)   Magick ## coder ## Aliases
 

Typedefs

typedef struct _CoderMapInfo CoderMapInfo
 

Functions

static MagickBooleanType IsCoderTreeInstantiated (ExceptionInfo *)
 
static void * DestroyCoderNode (void *coder_info)
 
static SplayTreeInfoAcquireCoderCache (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

#define AddMagickCoder (   coder)    Magick ## coder ## Aliases

Definition at line 66 of file coder.c.

Typedef Documentation

typedef struct _CoderMapInfo CoderMapInfo

Function Documentation

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

Definition at line 396 of file coder.c.

References LocaleCompare().

Referenced by GetCoderList().

MagickPrivate MagickBooleanType CoderComponentGenesis ( void  )

Definition at line 210 of file coder.c.

References AcquireSemaphoreInfo(), coder_semaphore, and MagickTrue.

Referenced by MagickCoreGenesis().

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

Definition at line 309 of file coder.c.

References LocaleCompare().

Referenced by GetCoderInfoList().

static void* DestroyCoderNode ( void *  coder_info)
static
MagickExport const CoderInfo* GetCoderInfo ( const char *  name,
ExceptionInfo exception 
)
static MagickBooleanType IsCoderTreeInstantiated ( ExceptionInfo exception)
static
MagickExport MagickBooleanType ListCoderInfo ( FILE *  file,
ExceptionInfo exception 
)

Variable Documentation

SplayTreeInfo* coder_cache = (SplayTreeInfo *) NULL
static
SemaphoreInfo* coder_semaphore = (SemaphoreInfo *) NULL
static
const CoderMapInfo CoderMap[]
static
Initial value:
=
{
}

Definition at line 82 of file coder.c.

Referenced by AcquireCoderCache().