Searched refs:ScaleAnyToQuantum (Results 1 – 9 of 9) sorted by relevance
/external/ImageMagick/MagickCore/ |
D | quantum-import.c | 362 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 …]
|
D | attribute.c | 383 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()
|
D | color.c | 2334 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()
|
D | quantum-private.h | 271 static inline Quantum ScaleAnyToQuantum(const QuantumAny quantum, in ScaleAnyToQuantum() function
|
D | statistic.c | 2111 status=p[i] != ScaleAnyToQuantum(ScaleQuantumToAny(p[i],range), in GetImageStatistics()
|
/external/ImageMagick/coders/ |
D | pnm.c | 496 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 …]
|
D | tga.c | 368 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()
|
D | txt.c | 547 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()
|
D | dcm.c | 3682 scale[i]=ScaleAnyToQuantum((size_t) i,range); in ReadDCMImage()
|