Lines Matching full:magick_info
176 *magick_info;
182 magick_info=(MagickInfo *) AcquireMagickMemory(sizeof(*magick_info));
183 if (magick_info == (MagickInfo *) NULL)
185 (void) ResetMagickMemory(magick_info,0,sizeof(*magick_info));
186 magick_info->module=ConstantString(module);
187 magick_info->name=ConstantString(name);
188 magick_info->description=ConstantString(description);
189 magick_info->flags=CoderAdjoinFlag | CoderBlobSupportFlag |
192 magick_info->signature=MagickCoreSignature;
193 return(magick_info);
212 % DecodeImageHandler *GetImageDecoder(const MagickInfo *magick_info)
216 % o magick_info: The magick info.
219 MagickExport DecodeImageHandler *GetImageDecoder(const MagickInfo *magick_info)
221 assert(magick_info != (MagickInfo *) NULL);
222 assert(magick_info->signature == MagickCoreSignature);
223 return(magick_info->decoder);
242 % EncodeImageHandler *GetImageEncoder(const MagickInfo *magick_info)
246 % o magick_info: The magick info.
249 MagickExport EncodeImageHandler *GetImageEncoder(const MagickInfo *magick_info)
251 assert(magick_info != (MagickInfo *) NULL);
252 assert(magick_info->signature == MagickCoreSignature);
253 return(magick_info->encoder);
340 % MagickBooleanType GetMagickAdjoin(const MagickInfo *magick_info)
344 % o magick_info: The magick info.
347 MagickExport MagickBooleanType GetMagickAdjoin(const MagickInfo *magick_info)
349 assert(magick_info != (MagickInfo *) NULL);
350 assert(magick_info->signature == MagickCoreSignature);
351 return(((magick_info->flags & CoderAdjoinFlag) == 0) ? MagickFalse :
371 % MagickBooleanType GetMagickBlobSupport(const MagickInfo *magick_info)
375 % o magick_info: The magick info.
379 const MagickInfo *magick_info)
381 assert(magick_info != (MagickInfo *) NULL);
382 assert(magick_info->signature == MagickCoreSignature);
383 return(((magick_info->flags & CoderBlobSupportFlag) == 0) ? MagickFalse :
405 % const MagickInfo *magick_info)
409 % o magick_info: The magick info.
413 const MagickInfo *magick_info)
415 assert(magick_info != (MagickInfo *) NULL);
416 assert(magick_info->signature == MagickCoreSignature);
417 return(((magick_info
437 % const char *GetMagickDescription(const MagickInfo *magick_info)
441 % o magick_info: The magick info.
444 MagickExport const char *GetMagickDescription(const MagickInfo *magick_info)
446 assert(magick_info != (MagickInfo *) NULL);
447 assert(magick_info->signature == MagickCoreSignature);
448 return(magick_info->description);
469 % const MagickInfo *magick_info)
473 % o magick_info: The magick info.
477 const MagickInfo *magick_info)
479 assert(magick_info != (MagickInfo *) NULL);
480 assert(magick_info->signature == MagickCoreSignature);
481 return(((magick_info->flags & CoderDecoderThreadSupportFlag) == 0) ?
502 % MagickBooleanType GetMagickEndianSupport(const MagickInfo *magick_info)
506 % o magick_info: The magick info.
510 const MagickInfo *magick_info)
512 assert(magick_info != (MagickInfo *) NULL);
513 assert(magick_info->signature == MagickCoreSignature);
514 return(((magick_info->flags & CoderEndianSupportFlag) == 0) ? MagickFalse :
798 % const char *GetMagickMimeType(const MagickInfo *magick_info)
802 % o magick_info: The magick info.
805 MagickExport const char *GetMagickMimeType(const MagickInfo *magick_info)
807 assert(magick_info != (MagickInfo *) NULL);
808 assert(magick_info->signature == MagickCoreSignature);
809 return(magick_info->mime_type);
854 % MagickBooleanType GetMagickRawSupport(const MagickInfo *magick_info)
858 % o magick_info: The magick info.
862 const MagickInfo *magick_info)
864 assert(magick_info != (MagickInfo *) NULL);
865 assert(magick_info->signature == MagickCoreSignature);
866 return(((magick_info->flags & CoderRawSupportFlag) == 0) ? MagickFalse :
887 % MagickBooleanType GetMagickSeekableStream(const MagickInfo *magick_info)
891 % o magick_info: The magick info.
895 const MagickInfo *magick_info)
897 assert(magick_info != (MagickInfo *) NULL);
898 assert(magick_info->signature == MagickCoreSignature);
899 return(((magick_info->flags & CoderSeekableStreamFlag) == 0) ? MagickFalse :
918 % MagickBooleanType GetMagickStealth(const MagickInfo *magick_info)
922 % o magick_info: The magick info.
925 MagickExport MagickBooleanType GetMagickStealth(const MagickInfo *magick_info)
927 assert(magick_info != (MagickInfo *) NULL);
928 assert(magick_info->signature == MagickCoreSignature);
929 return(((magick_info->flags & CoderStealthFlag) == 0) ? MagickFalse :
950 % MagickBooleanType GetMagickUseExtension(const MagickInfo *magick_info)
954 % o magick_info: The magick info.
958 const MagickInfo *magick_info)
960 assert(magick_info != (MagickInfo *) NULL);
961 assert(magick_info->signature == MagickCoreSignature);
962 return(((magick_info->flags & CoderUseExtensionFlag) == 0) ? MagickFalse :
991 static void *DestroyMagickNode(void *magick_info)
996 p=(MagickInfo *) magick_info;
1108 **magick_info;
1121 magick_info=GetMagickInfoList("*",&number_formats,exception);
1122 if (magick_info == (const MagickInfo **) NULL)
1135 if (GetMagickStealth(magick_info[i]) != MagickFalse)
1138 magick_info[i]->name != (char *) NULL ? magick_info[i]->name : "",
1139 GetMagickBlobSupport(magick_info[i]) != MagickFalse ? '*' : ' ');
1146 if (magick_info[i]->module != (char *) NULL)
1147 (void) CopyMagickString(module,magick_info[i]->module,MagickPathExtent);
1153 (void) FormatLocaleFile(file,"%c%c%c ",magick_info[i]->decoder ? 'r' : '-',
1154 magick_info[i]->encoder ? 'w' : '-',magick_info[i]->encoder != NULL &&
1155 GetMagickAdjoin(magick_info[i]) != MagickFalse ? '+' : '-');
1156 if (magick_info[i]->description != (char *) NULL)
1157 (void) FormatLocaleFile(file," %s",magick_info[i]->description);
1158 if (magick_info[i]->version != (char *) NULL)
1159 (void) FormatLocaleFile(file," (%s)",magick_info[i]->version);
1161 if (magick_info[i]->note != (char *) NULL)
1166 text=StringToList(magick_info[i]->note);
1183 magick_info=(const MagickInfo **) RelinquishMagickMemory((void *)
1184 magick_info);
1599 % MagickInfo *RegisterMagickInfo(MagickInfo *magick_info)
1603 % o magick_info: the magick info.
1606 MagickExport MagickBooleanType RegisterMagickInfo(MagickInfo *magick_info)
1614 assert(magick_info != (MagickInfo *) NULL);
1615 assert(magick_info->signature == MagickCoreSignature);
1616 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",magick_info->name);
1619 if ((GetMagickDecoderThreadSupport(magick_info) == MagickFalse) ||
1620 (GetMagickEncoderThreadSupport(magick_info) == MagickFalse))
1621 magick_info->semaphore=AcquireSemaphoreInfo();
1622 status=AddValueToSplayTree(magick_list,magick_info->name,magick_info);