/external/ImageMagick/MagickWand/ |
D | mogrify-private.h | 27 (void) SyncImagesSettings(image_info,images,exception); \ 36 image_stack[k].image_info=DestroyImageInfo(image_stack[k].image_info); \ 37 image_info=image_stack[MaxImageStackDepth].image_info; \ 39 #define FinalizeImageSettings(image_info,image,advance) \ argument 43 (void) SyncImagesSettings(image_info,image,exception); \ 50 status&=MogrifyImageInfo(image_stack[k].image_info,(int) (i-j+1), \ 55 status&=MogrifyImages(image_stack[k].image_info,postfix,(int) \ 68 image_stack[MaxImageStackDepth].image_info=image_info; \ 69 image_stack[0].image_info=CloneImageInfo(image_info); \ 71 image_info=image_stack[0].image_info; \ [all …]
|
D | magick-property.c | 172 return(DeleteImageOption(wand->image_info,option)); in MagickDeleteOption() 205 return(wand->image_info->antialias); in MagickGetAntialias() 241 PixelSetPixelColor(background_color,&wand->image_info->background_color); in MagickGetBackgroundColor() 274 return(wand->image_info->colorspace); in MagickGetColorspace() 306 return(wand->image_info->compression); in MagickGetCompression() 338 return(wand->image_info->quality); in MagickGetCompressionQuality() 394 return(AcquireString(wand->image_info->filename)); in MagickGetFilename() 426 if (wand->image_info->font == (char *) NULL) in MagickGetFont() 428 return(AcquireString(wand->image_info->font)); in MagickGetFont() 460 return(AcquireString(wand->image_info->magick)); in MagickGetFormat() [all …]
|
/external/ImageMagick/MagickCore/ |
D | image.c | 152 MagickExport Image *AcquireImage(const ImageInfo *image_info, in AcquireImage() argument 214 if (image_info == (ImageInfo *) NULL) in AcquireImage() 219 SetBlobExempt(image,image_info->file != (FILE *) NULL ? MagickTrue : in AcquireImage() 221 (void) CopyMagickString(image->filename,image_info->filename, in AcquireImage() 223 (void) CopyMagickString(image->magick_filename,image_info->filename, in AcquireImage() 225 (void) CopyMagickString(image->magick,image_info->magick,MagickPathExtent); in AcquireImage() 226 if (image_info->size != (char *) NULL) in AcquireImage() 228 (void) ParseAbsoluteGeometry(image_info->size,&image->extract_info); in AcquireImage() 235 if (image_info->extract != (char *) NULL) in AcquireImage() 240 flags=ParseAbsoluteGeometry(image_info->extract,&geometry); in AcquireImage() [all …]
|
D | constitute.c | 209 MagickExport Image *PingImage(const ImageInfo *image_info, in PingImage() argument 218 assert(image_info != (ImageInfo *) NULL); in PingImage() 219 assert(image_info->signature == MagickCoreSignature); in PingImage() 220 if (image_info->debug != MagickFalse) in PingImage() 222 image_info->filename); in PingImage() 224 ping_info=CloneImageInfo(image_info); in PingImage() 264 MagickExport Image *PingImages(ImageInfo *image_info,const char *filename, in PingImages() argument 280 assert(image_info != (ImageInfo *) NULL); in PingImages() 281 assert(image_info->signature == MagickCoreSignature); in PingImages() 282 if (image_info->debug != MagickFalse) in PingImages() [all …]
|
/external/ImageMagick/coders/ |
D | vid.c | 98 static Image *ReadVIDImage(const ImageInfo *image_info,ExceptionInfo *exception) in ReadVIDImage() argument 134 assert(image_info != (const ImageInfo *) NULL); in ReadVIDImage() 135 assert(image_info->signature == MagickCoreSignature); in ReadVIDImage() 136 if (image_info->debug != MagickFalse) in ReadVIDImage() 138 image_info->filename); in ReadVIDImage() 141 image=AcquireImage(image_info,exception); in ReadVIDImage() 145 filelist[0]=ConstantString(image_info->filename); in ReadVIDImage() 155 read_info=CloneImageInfo(image_info); in ReadVIDImage() 163 if (image_info->debug != MagickFalse) in ReadVIDImage() 173 label=InterpretImageProperties((ImageInfo *) image_info,next_image, in ReadVIDImage() [all …]
|
D | gray.c | 100 static Image *ReadGRAYImage(const ImageInfo *image_info, in ReadGRAYImage() argument 132 assert(image_info != (const ImageInfo *) NULL); in ReadGRAYImage() 133 assert(image_info->signature == MagickCoreSignature); in ReadGRAYImage() 134 if (image_info->debug != MagickFalse) in ReadGRAYImage() 136 image_info->filename); in ReadGRAYImage() 139 image=AcquireImage(image_info,exception); in ReadGRAYImage() 142 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadGRAYImage() 160 quantum_info=AcquireQuantumInfo(image_info,canvas_image); in ReadGRAYImage() 164 if (image_info->number_scenes != 0) in ReadGRAYImage() 165 while (image->scene < image_info->scene) in ReadGRAYImage() [all …]
|
D | fax.c | 149 static Image* FaxReadG4(Image *image,const ImageInfo *image_info, in FaxReadG4() argument 163 read_info=CloneImageInfo(image_info); in FaxReadG4() 171 (void) CopyMagickString(image->filename,image_info->filename, in FaxReadG4() 173 (void) CopyMagickString(image->magick_filename,image_info->filename, in FaxReadG4() 182 static Image *ReadFAXImage(const ImageInfo *image_info,ExceptionInfo *exception) in ReadFAXImage() argument 193 assert(image_info != (const ImageInfo *) NULL); in ReadFAXImage() 194 assert(image_info->signature == MagickCoreSignature); in ReadFAXImage() 195 if (image_info->debug != MagickFalse) in ReadFAXImage() 197 image_info->filename); in ReadFAXImage() 200 image=AcquireImage(image_info,exception); in ReadFAXImage() [all …]
|
D | mtv.c | 95 static Image *ReadMTVImage(const ImageInfo *image_info,ExceptionInfo *exception) in ReadMTVImage() argument 129 assert(image_info != (const ImageInfo *) NULL); in ReadMTVImage() 130 assert(image_info->signature == MagickCoreSignature); in ReadMTVImage() 131 if (image_info->debug != MagickFalse) in ReadMTVImage() 133 image_info->filename); in ReadMTVImage() 136 image=AcquireImage(image_info,exception); in ReadMTVImage() 137 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadMTVImage() 158 if ((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) in ReadMTVImage() 159 if (image->scene >= (image_info->scene+image_info->number_scenes-1)) in ReadMTVImage() 208 if (image_info->number_scenes != 0) in ReadMTVImage() [all …]
|
D | webp.c | 204 static Image *ReadWEBPImage(const ImageInfo *image_info, in ReadWEBPImage() argument 242 assert(image_info != (const ImageInfo *) NULL); in ReadWEBPImage() 243 assert(image_info->signature == MagickCoreSignature); in ReadWEBPImage() 244 if (image_info->debug != MagickFalse) in ReadWEBPImage() 246 image_info->filename); in ReadWEBPImage() 249 image=AcquireImage(image_info,exception); in ReadWEBPImage() 250 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadWEBPImage() 283 if (image_info->ping != MagickFalse) in ReadWEBPImage() 501 static MagickBooleanType WriteWEBPImage(const ImageInfo *image_info, in WriteWEBPImage() argument 534 assert(image_info != (const ImageInfo *) NULL); in WriteWEBPImage() [all …]
|
D | fd.c | 88 static Image *ReadFDImage(const ImageInfo *image_info,ExceptionInfo *exception) in ReadFDImage() argument 99 assert(image_info != (const ImageInfo *) NULL); in ReadFDImage() 100 assert(image_info->signature == MagickCoreSignature); in ReadFDImage() 101 if (image_info->debug != MagickFalse) in ReadFDImage() 103 image_info->filename); in ReadFDImage() 106 read_info=CloneImageInfo(image_info); in ReadFDImage() 107 read_info->file=fdopen(StringToLong(image_info->filename),"rb"); in ReadFDImage() 109 (IsGeometry(image_info->filename) == MagickFalse)) in ReadFDImage() 113 image_info->filename); in ReadFDImage() 123 "NoDataReturned","`%s'",image_info->filename); in ReadFDImage()
|
D | inline.c | 95 static Image *ReadINLINEImage(const ImageInfo *image_info, in ReadINLINEImage() argument 119 assert(image_info != (const ImageInfo *) NULL); in ReadINLINEImage() 120 assert(image_info->signature == MagickCoreSignature); in ReadINLINEImage() 121 if (image_info->debug != MagickFalse) in ReadINLINEImage() 123 image_info->filename); in ReadINLINEImage() 126 if (LocaleCompare(image_info->magick,"DATA") == 0) in ReadINLINEImage() 135 (void) ConcatenateMagickString(filename,image_info->filename, in ReadINLINEImage() 137 data_image=ReadInlineImage(image_info,filename,exception); in ReadINLINEImage() 141 image=AcquireImage(image_info,exception); in ReadINLINEImage() 142 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadINLINEImage() [all …]
|
D | mpr.c | 88 static Image *ReadMPRImage(const ImageInfo *image_info,ExceptionInfo *exception) in ReadMPRImage() argument 93 assert(image_info != (const ImageInfo *) NULL); in ReadMPRImage() 94 assert(image_info->signature == MagickCoreSignature); in ReadMPRImage() 95 if (image_info->debug != MagickFalse) in ReadMPRImage() 97 image_info->filename); in ReadMPRImage() 100 image=(Image *) GetImageRegistry(ImageRegistryType,image_info->filename, in ReadMPRImage() 103 (void) SyncImageSettings(image_info,image,exception); in ReadMPRImage() 206 static MagickBooleanType WriteMPRImage(const ImageInfo *image_info,Image *image, in WriteMPRImage() argument 212 assert(image_info != (const ImageInfo *) NULL); in WriteMPRImage() 213 assert(image_info->signature == MagickCoreSignature); in WriteMPRImage() [all …]
|
D | aai.c | 96 static Image *ReadAAIImage(const ImageInfo *image_info,ExceptionInfo *exception) in ReadAAIImage() argument 128 assert(image_info != (const ImageInfo *) NULL); in ReadAAIImage() 129 assert(image_info->signature == MagickCoreSignature); in ReadAAIImage() 130 if (image_info->debug != MagickFalse) in ReadAAIImage() 132 image_info->filename); in ReadAAIImage() 135 image=AcquireImage(image_info,exception); in ReadAAIImage() 136 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadAAIImage() 159 if ((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) in ReadAAIImage() 160 if (image->scene >= (image_info->scene+image_info->number_scenes-1)) in ReadAAIImage() 211 if (image_info->number_scenes != 0) in ReadAAIImage() [all …]
|
D | avs.c | 95 static Image *ReadAVSImage(const ImageInfo *image_info,ExceptionInfo *exception) in ReadAVSImage() argument 130 assert(image_info != (const ImageInfo *) NULL); in ReadAVSImage() 131 assert(image_info->signature == MagickCoreSignature); in ReadAVSImage() 132 if (image_info->debug != MagickFalse) in ReadAVSImage() 134 image_info->filename); in ReadAVSImage() 137 image=AcquireImage(image_info,exception); in ReadAVSImage() 138 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadAVSImage() 161 if ((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) in ReadAVSImage() 162 if (image->scene >= (image_info->scene+image_info->number_scenes-1)) in ReadAVSImage() 211 if (image_info->number_scenes != 0) in ReadAVSImage() [all …]
|
D | pango.c | 101 static Image *ReadPANGOImage(const ImageInfo *image_info, in ReadPANGOImage() argument 174 assert(image_info != (const ImageInfo *) NULL); in ReadPANGOImage() 175 assert(image_info->signature == MagickCoreSignature); in ReadPANGOImage() 176 if (image_info->debug != MagickFalse) in ReadPANGOImage() 178 image_info->filename); in ReadPANGOImage() 181 image=AcquireImage(image_info,exception); in ReadPANGOImage() 186 option=GetImageOption(image_info,"filename"); in ReadPANGOImage() 188 property=InterpretImageProperties((ImageInfo *) image_info,image, in ReadPANGOImage() 189 image_info->filename,exception); in ReadPANGOImage() 192 property=InterpretImageProperties((ImageInfo *) image_info,image,option+6, in ReadPANGOImage() [all …]
|
D | pix.c | 89 static Image *ReadPIXImage(const ImageInfo *image_info,ExceptionInfo *exception) in ReadPIXImage() argument 121 assert(image_info != (const ImageInfo *) NULL); in ReadPIXImage() 122 assert(image_info->signature == MagickCoreSignature); in ReadPIXImage() 123 if (image_info->debug != MagickFalse) in ReadPIXImage() 125 image_info->filename); in ReadPIXImage() 128 image=AcquireImage(image_info,exception); in ReadPIXImage() 129 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadPIXImage() 156 if ((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) in ReadPIXImage() 157 if (image->scene >= (image_info->scene+image_info->number_scenes-1)) in ReadPIXImage() 218 if (image_info->number_scenes != 0) in ReadPIXImage() [all …]
|
D | gradient.c | 95 static Image *ReadGRADIENTImage(const ImageInfo *image_info, in ReadGRADIENTImage() argument 117 assert(image_info != (const ImageInfo *) NULL); in ReadGRADIENTImage() 118 assert(image_info->signature == MagickCoreSignature); in ReadGRADIENTImage() 119 if (image_info->debug != MagickFalse) in ReadGRADIENTImage() 121 image_info->filename); in ReadGRADIENTImage() 124 read_info=CloneImageInfo(image_info); in ReadGRADIENTImage() 126 (void) CopyMagickString(colorname,image_info->filename,MagickPathExtent); in ReadGRADIENTImage() 127 (void) sscanf(image_info->filename,"%[^-]",colorname); in ReadGRADIENTImage() 135 (void) CopyMagickString(image->filename,image_info->filename,MagickPathExtent); in ReadGRADIENTImage() 140 (void) sscanf(image_info->filename,"%*[^-]-%[^-]",colorname+4); in ReadGRADIENTImage() [all …]
|
D | raw.c | 97 static Image *ReadRAWImage(const ImageInfo *image_info,ExceptionInfo *exception) in ReadRAWImage() argument 128 assert(image_info != (const ImageInfo *) NULL); in ReadRAWImage() 129 assert(image_info->signature == MagickCoreSignature); in ReadRAWImage() 130 if (image_info->debug != MagickFalse) in ReadRAWImage() 132 image_info->filename); in ReadRAWImage() 135 image=AcquireImage(image_info,exception); in ReadRAWImage() 138 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadRAWImage() 155 quantum_info=AcquireQuantumInfo(image_info,canvas_image); in ReadRAWImage() 159 if (image_info->number_scenes != 0) in ReadRAWImage() 160 while (image->scene < image_info->scene) in ReadRAWImage() [all …]
|
D | dot.c | 98 static Image *ReadDOTImage(const ImageInfo *image_info,ExceptionInfo *exception) in ReadDOTImage() argument 121 assert(image_info != (const ImageInfo *) NULL); in ReadDOTImage() 122 assert(image_info->signature == MagickCoreSignature); in ReadDOTImage() 123 if (image_info->debug != MagickFalse) in ReadDOTImage() 125 image_info->filename); in ReadDOTImage() 129 image=AcquireImage(image_info,exception); in ReadDOTImage() 130 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadDOTImage() 133 read_info=CloneImageInfo(image_info); in ReadDOTImage() 138 read_info->filename,image_info->filename); in ReadDOTImage() 149 option=GetImageOption(image_info,"dot:layout-engine"); in ReadDOTImage()
|
D | yuv.c | 99 static Image *ReadYUVImage(const ImageInfo *image_info,ExceptionInfo *exception) in ReadYUVImage() argument 137 assert(image_info != (const ImageInfo *) NULL); in ReadYUVImage() 138 assert(image_info->signature == MagickCoreSignature); in ReadYUVImage() 139 if (image_info->debug != MagickFalse) in ReadYUVImage() 141 image_info->filename); in ReadYUVImage() 144 image=AcquireImage(image_info,exception); in ReadYUVImage() 151 interlace=image_info->interlace; in ReadYUVImage() 154 if (image_info->sampling_factor != (char *) NULL) in ReadYUVImage() 162 flags=ParseGeometry(image_info->sampling_factor,&geometry_info); in ReadYUVImage() 183 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadYUVImage() [all …]
|
D | tile.c | 87 static Image *ReadTILEImage(const ImageInfo *image_info, in ReadTILEImage() argument 103 assert(image_info != (const ImageInfo *) NULL); in ReadTILEImage() 104 assert(image_info->signature == MagickCoreSignature); in ReadTILEImage() 105 if (image_info->debug != MagickFalse) in ReadTILEImage() 107 image_info->filename); in ReadTILEImage() 110 read_info=CloneImageInfo(image_info); in ReadTILEImage() 117 image=AcquireImage(image_info,exception); in ReadTILEImage() 120 if (*image_info->filename == '\0') in ReadTILEImage() 129 (void) CopyMagickString(image->filename,image_info->filename,MagickPathExtent); in ReadTILEImage()
|
D | art.c | 98 static Image *ReadARTImage(const ImageInfo *image_info,ExceptionInfo *exception) in ReadARTImage() argument 122 assert(image_info != (const ImageInfo *) NULL); in ReadARTImage() 123 assert(image_info->signature == MagickCoreSignature); in ReadARTImage() 124 if (image_info->debug != MagickFalse) in ReadARTImage() 126 image_info->filename); in ReadARTImage() 129 image=AcquireImage(image_info,exception); in ReadARTImage() 130 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadARTImage() 144 if (image_info->ping != MagickFalse) in ReadARTImage() 156 quantum_info=AcquireQuantumInfo(image_info,image); in ReadARTImage() 278 static MagickBooleanType WriteARTImage(const ImageInfo *image_info,Image *image, in WriteARTImage() argument [all …]
|
D | txt.c | 159 static Image *ReadTEXTImage(const ImageInfo *image_info, in ReadTEXTImage() argument 193 assert(image_info != (const ImageInfo *) NULL); in ReadTEXTImage() 194 assert(image_info->signature == MagickCoreSignature); in ReadTEXTImage() 195 if (image_info->debug != MagickFalse) in ReadTEXTImage() 197 image_info->filename); in ReadTEXTImage() 200 image=AcquireImage(image_info,exception); in ReadTEXTImage() 201 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadTEXTImage() 232 if (image_info->page != (char *) NULL) in ReadTEXTImage() 233 (void) ParseAbsoluteGeometry(image_info->page,&page); in ReadTEXTImage() 247 if (image_info->texture != (char *) NULL) in ReadTEXTImage() [all …]
|
/external/ImageMagick/www/source/ |
D | mgk.c | 129 static Image *ReadMGKImage(const ImageInfo *image_info, in ReadMGKImage() argument 164 assert(image_info != (const ImageInfo *) NULL); in ReadMGKImage() 165 assert(image_info->signature == MagickSignature); in ReadMGKImage() 166 if (image_info->debug != MagickFalse) in ReadMGKImage() 168 image_info->filename); in ReadMGKImage() 171 image=AcquireImage(image_info); in ReadMGKImage() 172 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadMGKImage() 196 if ((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) in ReadMGKImage() 197 if (image->scene >= (image_info->scene+image_info->number_scenes-1)) in ReadMGKImage() 243 if (image_info->number_scenes != 0) in ReadMGKImage() [all …]
|
/external/vboot_reference/firmware/lib/ |
D | region-kernel.c | 99 ImageInfo *image_info, char **image_datap, in VbGbbReadImage() argument 129 ret = VbRegionReadGbb(cparams, image_offset, sizeof(*image_info), in VbGbbReadImage() 130 image_info); in VbGbbReadImage() 134 data_offset = image_offset + sizeof(*image_info); in VbGbbReadImage() 135 data_size = image_info->compressed_size; in VbGbbReadImage() 139 data = VbExMalloc(image_info->compressed_size); in VbGbbReadImage() 141 image_info->compressed_size, data); in VbGbbReadImage() 146 if (image_info->compression != COMPRESS_NONE) { in VbGbbReadImage() 147 uint32_t inoutsize = image_info->original_size; in VbGbbReadImage() 149 orig_data = VbExMalloc(image_info->original_size); in VbGbbReadImage() [all …]
|