Home
last modified time | relevance | path

Searched refs:ScaleCharToQuantum (Results 1 – 25 of 60) sorted by relevance

123

/external/ImageMagick/coders/
Dscr.c227 SetPixelRed(image,ScaleCharToQuantum( in ReadSCRImage()
229 SetPixelGreen(image,ScaleCharToQuantum( in ReadSCRImage()
231 SetPixelBlue(image,ScaleCharToQuantum( in ReadSCRImage()
234 SetPixelRed(image,ScaleCharToQuantum( in ReadSCRImage()
236 SetPixelGreen(image,ScaleCharToQuantum( in ReadSCRImage()
238 SetPixelBlue(image,ScaleCharToQuantum( in ReadSCRImage()
Dtim.c214 image->colormap[i].blue=ScaleCharToQuantum( in ReadTIMImage()
216 image->colormap[i].green=ScaleCharToQuantum( in ReadTIMImage()
218 image->colormap[i].red=ScaleCharToQuantum( in ReadTIMImage()
342 SetPixelBlue(image,ScaleCharToQuantum(ScaleColor5to8( in ReadTIMImage()
344 SetPixelGreen(image,ScaleCharToQuantum(ScaleColor5to8( in ReadTIMImage()
346 SetPixelRed(image,ScaleCharToQuantum(ScaleColor5to8( in ReadTIMImage()
375 SetPixelRed(image,ScaleCharToQuantum(*p++),q); in ReadTIMImage()
376 SetPixelGreen(image,ScaleCharToQuantum(*p++),q); in ReadTIMImage()
377 SetPixelBlue(image,ScaleCharToQuantum(*p++),q); in ReadTIMImage()
Dtga.c359 pixel.red=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage()
389 pixel.blue=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage()
391 pixel.green=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage()
393 pixel.red=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage()
402 pixel.blue=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage()
404 pixel.green=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage()
406 pixel.red=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage()
408 pixel.alpha=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage()
469 pixel.red=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage()
471 pixel.green=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage()
[all …]
Drla.c331 SetPixelRed(image,ScaleCharToQuantum(byte),q); in ReadRLAImage()
336 SetPixelGreen(image,ScaleCharToQuantum(byte),q); in ReadRLAImage()
341 SetPixelBlue(image,ScaleCharToQuantum(byte),q); in ReadRLAImage()
347 SetPixelAlpha(image,ScaleCharToQuantum(byte),q); in ReadRLAImage()
371 SetPixelRed(image,ScaleCharToQuantum(byte),q); in ReadRLAImage()
376 SetPixelGreen(image,ScaleCharToQuantum(byte),q); in ReadRLAImage()
381 SetPixelBlue(image,ScaleCharToQuantum(byte),q); in ReadRLAImage()
387 SetPixelAlpha(image,ScaleCharToQuantum(byte),q); in ReadRLAImage()
Duyvy.c166 SetPixelRed(image,ScaleCharToQuantum(y1),q); in ReadUYVYImage()
167 SetPixelGreen(image,ScaleCharToQuantum(u),q); in ReadUYVYImage()
168 SetPixelBlue(image,ScaleCharToQuantum(v),q); in ReadUYVYImage()
170 SetPixelRed(image,ScaleCharToQuantum(y2),q); in ReadUYVYImage()
171 SetPixelGreen(image,ScaleCharToQuantum(u),q); in ReadUYVYImage()
172 SetPixelBlue(image,ScaleCharToQuantum(v),q); in ReadUYVYImage()
Drle.c556 SetPixelRed(image,ScaleCharToQuantum(*p++),q); in ReadRLEImage()
557 SetPixelGreen(image,ScaleCharToQuantum(*p++),q); in ReadRLEImage()
558 SetPixelBlue(image,ScaleCharToQuantum(*p++),q); in ReadRLEImage()
560 SetPixelAlpha(image,ScaleCharToQuantum(*p++),q); in ReadRLEImage()
591 ScaleCharToQuantum((unsigned char) i); in ReadRLEImage()
593 ScaleCharToQuantum((unsigned char) i); in ReadRLEImage()
595 ScaleCharToQuantum((unsigned char) i); in ReadRLEImage()
602 ScaleCharToQuantum(*p); in ReadRLEImage()
604 ScaleCharToQuantum(*(p+map_length)); in ReadRLEImage()
606 ScaleCharToQuantum(*(p+map_length*2)); in ReadRLEImage()
[all …]
Dcut.c247 SetPixelRed(image,ScaleCharToQuantum(*p++),q); in InsertRow()
248 SetPixelGreen(image,ScaleCharToQuantum(*p++),q); in InsertRow()
249 SetPixelBlue(image,ScaleCharToQuantum(*p++),q); in InsertRow()
276 scale_intensity=ScaleCharToQuantum(16); in GetCutColors()
291 if (intensity < ScaleCharToQuantum(2)) in GetCutColors()
293 if (intensity < ScaleCharToQuantum(16)) in GetCutColors()
544 image->colormap[i].red=ScaleCharToQuantum((unsigned char) i); in ReadCUTImage()
545 image->colormap[i].green=ScaleCharToQuantum((unsigned char) i); in ReadCUTImage()
546 image->colormap[i].blue=ScaleCharToQuantum((unsigned char) i); in ReadCUTImage()
623 sample=ScaleCharToQuantum((unsigned char) i); in ReadCUTImage()
[all …]
Ddds.c1183 SetPixelRed(image,ScaleCharToQuantum(colors.r[code]),q); in SetDXT1Pixels()
1184 SetPixelGreen(image,ScaleCharToQuantum(colors.g[code]),q); in SetDXT1Pixels()
1185 SetPixelBlue(image,ScaleCharToQuantum(colors.b[code]),q); in SetDXT1Pixels()
1186 SetPixelOpacity(image,ScaleCharToQuantum(colors.a[code]),q); in SetDXT1Pixels()
1475 SetPixelRed(image,ScaleCharToQuantum(colors.r[code]),q); in ReadDXT3Pixels()
1476 SetPixelGreen(image,ScaleCharToQuantum(colors.g[code]),q); in ReadDXT3Pixels()
1477 SetPixelBlue(image,ScaleCharToQuantum(colors.b[code]),q); in ReadDXT3Pixels()
1485 SetPixelAlpha(image,ScaleCharToQuantum((unsigned char) alpha),q); in ReadDXT3Pixels()
1583 SetPixelRed(image,ScaleCharToQuantum(colors.r[code]),q); in ReadDXT5Pixels()
1584 SetPixelGreen(image,ScaleCharToQuantum(colors.g[code]),q); in ReadDXT5Pixels()
[all …]
Dpix.c190 index=ScaleCharToQuantum((unsigned char) ReadBlobByte(image)); in ReadPIXImage()
193 blue=ScaleCharToQuantum((unsigned char) ReadBlobByte(image)); in ReadPIXImage()
194 green=ScaleCharToQuantum((unsigned char) ReadBlobByte(image)); in ReadPIXImage()
195 red=ScaleCharToQuantum((unsigned char) ReadBlobByte(image)); in ReadPIXImage()
Dsun.c374 image->colormap[i].red=(MagickRealType) ScaleCharToQuantum( in ReadSUNImage()
383 image->colormap[i].green=(MagickRealType) ScaleCharToQuantum( in ReadSUNImage()
392 image->colormap[i].blue=(MagickRealType) ScaleCharToQuantum( in ReadSUNImage()
594 SetPixelAlpha(image,ScaleCharToQuantum(*p++),q); in ReadSUNImage()
597 SetPixelBlue(image,ScaleCharToQuantum(*p++),q); in ReadSUNImage()
598 SetPixelGreen(image,ScaleCharToQuantum(*p++),q); in ReadSUNImage()
599 SetPixelRed(image,ScaleCharToQuantum(*p++),q); in ReadSUNImage()
603 SetPixelRed(image,ScaleCharToQuantum(*p++),q); in ReadSUNImage()
604 SetPixelGreen(image,ScaleCharToQuantum(*p++),q); in ReadSUNImage()
605 SetPixelBlue(image,ScaleCharToQuantum(*p++),q); in ReadSUNImage()
Daai.c184 SetPixelBlue(image,ScaleCharToQuantum(*p++),q); in ReadAAIImage()
185 SetPixelGreen(image,ScaleCharToQuantum(*p++),q); in ReadAAIImage()
186 SetPixelRed(image,ScaleCharToQuantum(*p++),q); in ReadAAIImage()
189 SetPixelAlpha(image,ScaleCharToQuantum(*p++),q); in ReadAAIImage()
Davs.c187 SetPixelAlpha(image,ScaleCharToQuantum(*p++),q); in ReadAVSImage()
188 SetPixelRed(image,ScaleCharToQuantum(*p++),q); in ReadAVSImage()
189 SetPixelGreen(image,ScaleCharToQuantum(*p++),q); in ReadAVSImage()
190 SetPixelBlue(image,ScaleCharToQuantum(*p++),q); in ReadAVSImage()
Ddib.c655 image->colormap[i].blue=(MagickRealType) ScaleCharToQuantum(*p++); in ReadDIBImage()
656 image->colormap[i].green=(MagickRealType) ScaleCharToQuantum(*p++); in ReadDIBImage()
657 image->colormap[i].red=(MagickRealType) ScaleCharToQuantum(*p++); in ReadDIBImage()
857 SetPixelRed(image,ScaleCharToQuantum(ScaleColor5to8( in ReadDIBImage()
859 SetPixelGreen(image,ScaleCharToQuantum(ScaleColor5to8( in ReadDIBImage()
861 SetPixelBlue(image,ScaleCharToQuantum(ScaleColor5to8( in ReadDIBImage()
866 SetPixelRed(image,ScaleCharToQuantum(ScaleColor5to8( in ReadDIBImage()
868 SetPixelGreen(image,ScaleCharToQuantum(ScaleColor6to8( in ReadDIBImage()
870 SetPixelBlue(image,ScaleCharToQuantum(ScaleColor5to8( in ReadDIBImage()
901 SetPixelBlue(image,ScaleCharToQuantum(*p++),q); in ReadDIBImage()
[all …]
Dhrz.c167 SetPixelRed(image,ScaleCharToQuantum(4**p++),q); in ReadHRZImage()
168 SetPixelGreen(image,ScaleCharToQuantum(4**p++),q); in ReadHRZImage()
169 SetPixelBlue(image,ScaleCharToQuantum(4**p++),q); in ReadHRZImage()
Dpcx.c388 image->colormap[i].red=ScaleCharToQuantum(*p++); in ReadPCXImage()
389 image->colormap[i].green=ScaleCharToQuantum(*p++); in ReadPCXImage()
390 image->colormap[i].blue=ScaleCharToQuantum(*p++); in ReadPCXImage()
497 image->colormap[i].red=ScaleCharToQuantum(*p++); in ReadPCXImage()
498 image->colormap[i].green=ScaleCharToQuantum(*p++); in ReadPCXImage()
499 image->colormap[i].blue=ScaleCharToQuantum(*p++); in ReadPCXImage()
636 SetPixelRed(image,ScaleCharToQuantum(*r++),q); in ReadPCXImage()
637 SetPixelGreen(image,ScaleCharToQuantum(*r++),q); in ReadPCXImage()
638 SetPixelBlue(image,ScaleCharToQuantum(*r++),q); in ReadPCXImage()
640 SetPixelAlpha(image,ScaleCharToQuantum(*r++),q); in ReadPCXImage()
Dwpg.c415 SetPixelRed(image,ScaleCharToQuantum(*p++),q); in InsertRow()
416 SetPixelGreen(image,ScaleCharToQuantum(*p++),q); in InsertRow()
417 SetPixelBlue(image,ScaleCharToQuantum(*p++),q); in InsertRow()
1174 image->colormap[i].red=ScaleCharToQuantum((unsigned char) in ReadWPGImage()
1176 image->colormap[i].green=ScaleCharToQuantum((unsigned char) in ReadWPGImage()
1178 image->colormap[i].blue=ScaleCharToQuantum((unsigned char) in ReadWPGImage()
1245 image->colormap[i].red=ScaleCharToQuantum(WPG1_Palette[i].Red); in ReadWPGImage()
1246 image->colormap[i].green=ScaleCharToQuantum(WPG1_Palette[i].Green); in ReadWPGImage()
1247 image->colormap[i].blue=ScaleCharToQuantum(WPG1_Palette[i].Blue); in ReadWPGImage()
1416 image->colormap[i].red=ScaleCharToQuantum((char) in ReadWPGImage()
[all …]
Dxcf.c477 SetPixelGray(tile_image,ScaleCharToQuantum(*graydata),q); in load_tile()
478 SetPixelAlpha(tile_image,ScaleCharToQuantum((unsigned char) in load_tile()
489 SetPixelRed(tile_image,ScaleCharToQuantum(xcfdata->red),q); in load_tile()
490 SetPixelGreen(tile_image,ScaleCharToQuantum(xcfdata->green),q); in load_tile()
491 SetPixelBlue(tile_image,ScaleCharToQuantum(xcfdata->blue),q); in load_tile()
493 ScaleCharToQuantum((unsigned char) inLayerInfo->alpha),q); in load_tile()
542 alpha=ScaleCharToQuantum((unsigned char) inLayerInfo->alpha); in load_tile_rle()
573 data=ScaleCharToQuantum(*xcfdata++); in load_tile_rle()
629 data=ScaleCharToQuantum(pixel); in load_tile_rle()
1040 ScaleCharToQuantum((unsigned char) outLayer->alpha); in ReadOneLayer()
Dyuv.c266 SetPixelGreen(chroma_image,ScaleCharToQuantum(*p++), in ReadYUVImage()
275 SetPixelRed(image,ScaleCharToQuantum(*p++),q); in ReadYUVImage()
287 SetPixelBlue(chroma_image,ScaleCharToQuantum(*p++),chroma_pixels); in ReadYUVImage()
295 SetPixelRed(image,ScaleCharToQuantum(*p++),q); in ReadYUVImage()
326 SetPixelRed(image,ScaleCharToQuantum(*p++),q); in ReadYUVImage()
384 SetPixelGreen(chroma_image,ScaleCharToQuantum(*p++),q); in ReadYUVImage()
428 SetPixelBlue(chroma_image,ScaleCharToQuantum(*p++),q); in ReadYUVImage()
Demf.c629 SetPixelRed(image,ScaleCharToQuantum(pBits->rgbRed),q); in ReadEMFImage()
630 SetPixelGreen(image,ScaleCharToQuantum(pBits->rgbGreen),q); in ReadEMFImage()
631 SetPixelBlue(image,ScaleCharToQuantum(pBits->rgbBlue),q); in ReadEMFImage()
805 SetPixelBlue(image,ScaleCharToQuantum(*p++),q); in ReadEMFImage()
806 SetPixelGreen(image,ScaleCharToQuantum(*p++),q); in ReadEMFImage()
807 SetPixelRed(image,ScaleCharToQuantum(*p++),q); in ReadEMFImage()
808 SetPixelAlpha(image,ScaleCharToQuantum(*p++),q); in ReadEMFImage()
Dscreenshot.c252 SetPixelRed(screen,ScaleCharToQuantum(p->rgbRed),q); in ReadSCREENSHOTImage()
253 SetPixelGreen(screen,ScaleCharToQuantum(p->rgbGreen),q); in ReadSCREENSHOTImage()
254 SetPixelBlue(screen,ScaleCharToQuantum(p->rgbBlue),q); in ReadSCREENSHOTImage()
Dmtv.c186 SetPixelRed(image,ScaleCharToQuantum(*p++),q); in ReadMTVImage()
187 SetPixelGreen(image,ScaleCharToQuantum(*p++),q); in ReadMTVImage()
188 SetPixelBlue(image,ScaleCharToQuantum(*p++),q); in ReadMTVImage()
Dpango.c451 fill_color.blue=(double) ScaleCharToQuantum(*p++); in ReadPANGOImage()
452 fill_color.green=(double) ScaleCharToQuantum(*p++); in ReadPANGOImage()
453 fill_color.red=(double) ScaleCharToQuantum(*p++); in ReadPANGOImage()
454 fill_color.alpha=(double) ScaleCharToQuantum(*p++); in ReadPANGOImage()
/external/ImageMagick/MagickCore/
Ddecorate.c65 #define AccentuateModulate ScaleCharToQuantum(80)
66 #define HighlightModulate ScaleCharToQuantum(125)
67 #define ShadowModulate ScaleCharToQuantum(135)
68 #define DepthModulate ScaleCharToQuantum(185)
69 #define TroughModulate ScaleCharToQuantum(110)
614 #define AccentuateFactor ScaleCharToQuantum(135) in RaiseImage()
615 #define HighlightFactor ScaleCharToQuantum(190) in RaiseImage()
616 #define ShadowFactor ScaleCharToQuantum(190) in RaiseImage()
618 #define TroughFactor ScaleCharToQuantum(135) in RaiseImage()
Dquantum-import.c323 SetPixelAlpha(image,ScaleCharToQuantum(pixel),q); in ImportAlphaQuantum()
463 SetPixelBlue(image,ScaleCharToQuantum(pixel),q); in ImportBGRQuantum()
465 SetPixelGreen(image,ScaleCharToQuantum(pixel),q); in ImportBGRQuantum()
467 SetPixelRed(image,ScaleCharToQuantum(pixel),q); in ImportBGRQuantum()
804 SetPixelBlue(image,ScaleCharToQuantum(pixel),q); in ImportBGRAQuantum()
806 SetPixelGreen(image,ScaleCharToQuantum(pixel),q); in ImportBGRAQuantum()
808 SetPixelRed(image,ScaleCharToQuantum(pixel),q); in ImportBGRAQuantum()
810 SetPixelAlpha(image,ScaleCharToQuantum(pixel),q); in ImportBGRAQuantum()
1067 SetPixelBlue(image,ScaleCharToQuantum(pixel),q); in ImportBGROQuantum()
1069 SetPixelGreen(image,ScaleCharToQuantum(pixel),q); in ImportBGROQuantum()
[all …]
/external/ImageMagick/www/source/
Dmgk.c215 SetPixelRed(image,ScaleCharToQuantum(*p++),q); in ReadMGKImage()
216 SetPixelGreen(image,ScaleCharToQuantum(*p++),q); in ReadMGKImage()
217 SetPixelBlue(image,ScaleCharToQuantum(*p++),q); in ReadMGKImage()

123