• Home
  • Raw
  • Download

Lines Matching refs:magick_info

183     *magick_info;  in AcquireMagickInfo()  local
189 magick_info=(MagickInfo *) AcquireCriticalMemory(sizeof(*magick_info)); in AcquireMagickInfo()
190 (void) memset(magick_info,0,sizeof(*magick_info)); in AcquireMagickInfo()
191 magick_info->magick_module=ConstantString(magick_module); in AcquireMagickInfo()
192 magick_info->name=ConstantString(name); in AcquireMagickInfo()
193 magick_info->description=ConstantString(description); in AcquireMagickInfo()
194 magick_info->flags=CoderAdjoinFlag | CoderBlobSupportFlag | in AcquireMagickInfo()
197 magick_info->signature=MagickCoreSignature; in AcquireMagickInfo()
198 return(magick_info); in AcquireMagickInfo()
223 MagickExport DecodeImageHandler *GetImageDecoder(const MagickInfo *magick_info) in GetImageDecoder() argument
225 if (magick_info == (MagickInfo *) NULL) in GetImageDecoder()
227 assert(magick_info->signature == MagickCoreSignature); in GetImageDecoder()
228 return(magick_info->decoder); in GetImageDecoder()
253 MagickExport EncodeImageHandler *GetImageEncoder(const MagickInfo *magick_info) in GetImageEncoder() argument
255 if (magick_info == (MagickInfo *) NULL) in GetImageEncoder()
257 assert(magick_info->signature == MagickCoreSignature); in GetImageEncoder()
258 return(magick_info->encoder); in GetImageEncoder()
350 MagickExport MagickBooleanType GetMagickAdjoin(const MagickInfo *magick_info) in GetMagickAdjoin() argument
352 assert(magick_info != (MagickInfo *) NULL); in GetMagickAdjoin()
353 assert(magick_info->signature == MagickCoreSignature); in GetMagickAdjoin()
354 return(((magick_info->flags & CoderAdjoinFlag) == 0) ? MagickFalse : in GetMagickAdjoin()
381 const MagickInfo *magick_info) in GetMagickBlobSupport() argument
383 assert(magick_info != (MagickInfo *) NULL); in GetMagickBlobSupport()
384 assert(magick_info->signature == MagickCoreSignature); in GetMagickBlobSupport()
385 return(((magick_info->flags & CoderBlobSupportFlag) == 0) ? MagickFalse : in GetMagickBlobSupport()
414 const MagickInfo *magick_info) in GetMagickDecoderSeekableStream() argument
416 assert(magick_info != (MagickInfo *) NULL); in GetMagickDecoderSeekableStream()
417 assert(magick_info->signature == MagickCoreSignature); in GetMagickDecoderSeekableStream()
418 if ((magick_info->flags & CoderDecoderSeekableStreamFlag) == 0) in GetMagickDecoderSeekableStream()
448 const MagickInfo *magick_info) in GetMagickDecoderThreadSupport() argument
450 assert(magick_info != (MagickInfo *) NULL); in GetMagickDecoderThreadSupport()
451 assert(magick_info->signature == MagickCoreSignature); in GetMagickDecoderThreadSupport()
452 return(((magick_info->flags & CoderDecoderThreadSupportFlag) == 0) ? in GetMagickDecoderThreadSupport()
478 MagickExport const char *GetMagickDescription(const MagickInfo *magick_info) in GetMagickDescription() argument
480 assert(magick_info != (MagickInfo *) NULL); in GetMagickDescription()
481 assert(magick_info->signature == MagickCoreSignature); in GetMagickDescription()
482 return(magick_info->description); in GetMagickDescription()
510 const MagickInfo *magick_info) in GetMagickEncoderSeekableStream() argument
512 assert(magick_info != (MagickInfo *) NULL); in GetMagickEncoderSeekableStream()
513 assert(magick_info->signature == MagickCoreSignature); in GetMagickEncoderSeekableStream()
514 if ((magick_info->flags & CoderEncoderSeekableStreamFlag) == 0) in GetMagickEncoderSeekableStream()
544 const MagickInfo *magick_info) in GetMagickEncoderThreadSupport() argument
546 assert(magick_info != (MagickInfo *) NULL); in GetMagickEncoderThreadSupport()
547 assert(magick_info->signature == MagickCoreSignature); in GetMagickEncoderThreadSupport()
548 return(((magick_info->flags & CoderDecoderThreadSupportFlag) == 0) ? in GetMagickEncoderThreadSupport()
576 const MagickInfo *magick_info) in GetMagickEndianSupport() argument
578 assert(magick_info != (MagickInfo *) NULL); in GetMagickEndianSupport()
579 assert(magick_info->signature == MagickCoreSignature); in GetMagickEndianSupport()
580 return(((magick_info->flags & CoderEndianSupportFlag) == 0) ? MagickFalse : in GetMagickEndianSupport()
614 *magick_info; in GetMagickInfo() local
622 magick_info=(const MagickInfo *) NULL; in GetMagickInfo()
634 magick_info=(const MagickInfo *) GetValueFromSplayTree(magick_list, in GetMagickInfo()
636 if (magick_info == (const MagickInfo *) NULL) in GetMagickInfo()
647 if (magick_info == (const MagickInfo *) NULL) in GetMagickInfo()
648 magick_info=(const MagickInfo *) GetValueFromSplayTree(magick_list,name); in GetMagickInfo()
649 return(magick_info); in GetMagickInfo()
858 MagickExport const char *GetMagickMimeType(const MagickInfo *magick_info) in GetMagickMimeType() argument
860 assert(magick_info != (MagickInfo *) NULL); in GetMagickMimeType()
861 assert(magick_info->signature == MagickCoreSignature); in GetMagickMimeType()
862 return(magick_info->mime_type); in GetMagickMimeType()
887 MagickExport const char *GetMagickModuleName(const MagickInfo *magick_info) in GetMagickModuleName() argument
889 assert(magick_info != (MagickInfo *) NULL); in GetMagickModuleName()
890 assert(magick_info->signature == MagickCoreSignature); in GetMagickModuleName()
891 return(magick_info->magick_module); in GetMagickModuleName()
916 MagickExport const char *GetMagickName(const MagickInfo *magick_info) in GetMagickName() argument
918 assert(magick_info != (MagickInfo *) NULL); in GetMagickName()
919 assert(magick_info->signature == MagickCoreSignature); in GetMagickName()
920 return(magick_info->name); in GetMagickName()
971 const MagickInfo *magick_info) in GetMagickRawSupport() argument
973 assert(magick_info != (MagickInfo *) NULL); in GetMagickRawSupport()
974 assert(magick_info->signature == MagickCoreSignature); in GetMagickRawSupport()
975 return(((magick_info->flags & CoderRawSupportFlag) == 0) ? MagickFalse : in GetMagickRawSupport()
1002 MagickExport MagickBooleanType GetMagickStealth(const MagickInfo *magick_info) in GetMagickStealth() argument
1004 assert(magick_info != (MagickInfo *) NULL); in GetMagickStealth()
1005 assert(magick_info->signature == MagickCoreSignature); in GetMagickStealth()
1006 return(((magick_info->flags & CoderStealthFlag) == 0) ? MagickFalse : in GetMagickStealth()
1036 const MagickInfo *magick_info) in GetMagickUseExtension() argument
1038 assert(magick_info != (MagickInfo *) NULL); in GetMagickUseExtension()
1039 assert(magick_info->signature == MagickCoreSignature); in GetMagickUseExtension()
1040 return(((magick_info->flags & CoderUseExtensionFlag) == 0) ? MagickFalse : in GetMagickUseExtension()
1068 static void *DestroyMagickNode(void *magick_info) in DestroyMagickNode() argument
1073 p=(MagickInfo *) magick_info; in DestroyMagickNode()
1178 **magick_info; in ListMagickInfo() local
1191 magick_info=GetMagickInfoList("*",&number_formats,exception); in ListMagickInfo()
1192 if (magick_info == (const MagickInfo **) NULL) in ListMagickInfo()
1205 if (GetMagickStealth(magick_info[i]) != MagickFalse) in ListMagickInfo()
1208 magick_info[i]->name != (char *) NULL ? magick_info[i]->name : "", in ListMagickInfo()
1209 GetMagickBlobSupport(magick_info[i]) != MagickFalse ? '*' : ' '); in ListMagickInfo()
1216 if (magick_info[i]->magick_module != (char *) NULL) in ListMagickInfo()
1217 (void) CopyMagickString(magick_module,magick_info[i]->magick_module, in ListMagickInfo()
1225 (void) FormatLocaleFile(file,"%c%c%c ",magick_info[i]->decoder ? 'r' : '-', in ListMagickInfo()
1226 magick_info[i]->encoder ? 'w' : '-',magick_info[i]->encoder != NULL && in ListMagickInfo()
1227 GetMagickAdjoin(magick_info[i]) != MagickFalse ? '+' : '-'); in ListMagickInfo()
1228 if (magick_info[i]->description != (char *) NULL) in ListMagickInfo()
1229 (void) FormatLocaleFile(file," %s",magick_info[i]->description); in ListMagickInfo()
1230 if (magick_info[i]->version != (char *) NULL) in ListMagickInfo()
1231 (void) FormatLocaleFile(file," (%s)",magick_info[i]->version); in ListMagickInfo()
1233 if (magick_info[i]->note != (char *) NULL) in ListMagickInfo()
1238 text=StringToList(magick_info[i]->note); in ListMagickInfo()
1255 magick_info=(const MagickInfo **) RelinquishMagickMemory((void *) in ListMagickInfo()
1256 magick_info); in ListMagickInfo()
1680 MagickExport MagickBooleanType RegisterMagickInfo(MagickInfo *magick_info) in RegisterMagickInfo() argument
1688 assert(magick_info != (MagickInfo *) NULL); in RegisterMagickInfo()
1689 assert(magick_info->signature == MagickCoreSignature); in RegisterMagickInfo()
1690 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",magick_info->name); in RegisterMagickInfo()
1693 if ((GetMagickDecoderThreadSupport(magick_info) == MagickFalse) || in RegisterMagickInfo()
1694 (GetMagickEncoderThreadSupport(magick_info) == MagickFalse)) in RegisterMagickInfo()
1695 magick_info->semaphore=AcquireSemaphoreInfo(); in RegisterMagickInfo()
1696 status=AddValueToSplayTree(magick_list,magick_info->name,magick_info); in RegisterMagickInfo()