Home
last modified time | relevance | path

Searched refs:ScaleAnyToQuantum (Results 1 – 9 of 9) sorted by relevance

/external/ImageMagick/MagickCore/
Dquantum-import.c362 SetPixelAlpha(image,ScaleAnyToQuantum(pixel,range),q); in ImportAlphaQuantum()
418 SetPixelRed(image,ScaleAnyToQuantum((pixel >> 22) & 0x3ff,range),q); in ImportBGRQuantum()
419 SetPixelGreen(image,ScaleAnyToQuantum((pixel >> 12) & 0x3ff,range), in ImportBGRQuantum()
421 SetPixelBlue(image,ScaleAnyToQuantum((pixel >> 2) & 0x3ff,range),q); in ImportBGRQuantum()
432 SetPixelBlue(image,ScaleAnyToQuantum(pixel,range),q); in ImportBGRQuantum()
434 SetPixelGreen(image,ScaleAnyToQuantum(pixel,range),q); in ImportBGRQuantum()
436 SetPixelRed(image,ScaleAnyToQuantum(pixel,range),q); in ImportBGRQuantum()
444 SetPixelBlue(image,ScaleAnyToQuantum(pixel,range),q); in ImportBGRQuantum()
446 SetPixelGreen(image,ScaleAnyToQuantum(pixel,range),q); in ImportBGRQuantum()
448 SetPixelRed(image,ScaleAnyToQuantum(pixel,range),q); in ImportBGRQuantum()
[all …]
Dattribute.c383 if (pixel == ScaleAnyToQuantum(ScaleQuantumToAny(pixel,range),range)) in GetImageDepth()
491 if (p[i] == ScaleAnyToQuantum(ScaleQuantumToAny(p[i],range),range)) in GetImageDepth()
1039 image->colormap[i].red=(double) ScaleAnyToQuantum(ScaleQuantumToAny( in SetImageDepth()
1042 image->colormap[i].green=(double) ScaleAnyToQuantum(ScaleQuantumToAny( in SetImageDepth()
1045 image->colormap[i].blue=(double) ScaleAnyToQuantum(ScaleQuantumToAny( in SetImageDepth()
1048 image->colormap[i].alpha=(double) ScaleAnyToQuantum(ScaleQuantumToAny( in SetImageDepth()
1070 depth_map[i]=ScaleAnyToQuantum(ScaleQuantumToAny((Quantum) i,range), in SetImageDepth()
1180 q[i]=ScaleAnyToQuantum(ScaleQuantumToAny(ClampPixel(q[i]),range),range); in SetImageDepth()
Dcolor.c2334 color->red=(double) ScaleAnyToQuantum(pixel.red,range); in QueryColorCompliance()
2335 color->green=(double) ScaleAnyToQuantum(pixel.green,range); in QueryColorCompliance()
2336 color->blue=(double) ScaleAnyToQuantum(pixel.blue,range); in QueryColorCompliance()
2341 color->alpha=(double) ScaleAnyToQuantum(pixel.alpha,range); in QueryColorCompliance()
Dquantum-private.h271 static inline Quantum ScaleAnyToQuantum(const QuantumAny quantum, in ScaleAnyToQuantum() function
Dstatistic.c2111 status=p[i] != ScaleAnyToQuantum(ScaleQuantumToAny(p[i],range), in GetImageStatistics()
/external/ImageMagick/coders/
Dpnm.c496 intensity=ScaleAnyToQuantum(PNMInteger(image,10,exception), in ReadPNMImage()
539 pixel=ScaleAnyToQuantum(PNMInteger(image,10,exception),max_value); in ReadPNMImage()
543 pixel=ScaleAnyToQuantum(PNMInteger(image,10,exception),max_value); in ReadPNMImage()
545 pixel=ScaleAnyToQuantum(PNMInteger(image,10,exception),max_value); in ReadPNMImage()
719 SetPixelGray(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
732 SetPixelGray(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
740 SetPixelGray(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
876 SetPixelRed(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
878 SetPixelGreen(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
880 SetPixelBlue(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
[all …]
Dtga.c368 pixel.red=(MagickRealType) ScaleAnyToQuantum(1UL*(k & 0x7c) >> 2, in ReadTGAImage()
370 pixel.green=(MagickRealType) ScaleAnyToQuantum((1UL*(k & 0x03) in ReadTGAImage()
372 pixel.blue=(MagickRealType) ScaleAnyToQuantum(1UL*(j & 0x1f),range); in ReadTGAImage()
485 pixel.red=(MagickRealType) ScaleAnyToQuantum(1UL*(k & 0x7c) >> 2, in ReadTGAImage()
487 pixel.green=(MagickRealType) ScaleAnyToQuantum((1UL* in ReadTGAImage()
489 pixel.blue=(MagickRealType) ScaleAnyToQuantum(1UL*(j & 0x1f),range); in ReadTGAImage()
Dtxt.c547 pixel.red=(MagickRealType) ScaleAnyToQuantum((QuantumAny) (red+0.5), in ReadTXTImage()
549 pixel.green=(MagickRealType) ScaleAnyToQuantum((QuantumAny) (green+0.5), in ReadTXTImage()
551 pixel.blue=(MagickRealType) ScaleAnyToQuantum((QuantumAny) (blue+0.5), in ReadTXTImage()
553 pixel.black=(MagickRealType) ScaleAnyToQuantum((QuantumAny) (black+0.5), in ReadTXTImage()
555 pixel.alpha=(MagickRealType) ScaleAnyToQuantum((QuantumAny) (alpha+0.5), in ReadTXTImage()
Ddcm.c3682 scale[i]=ScaleAnyToQuantum((size_t) i,range); in ReadDCMImage()