Home
last modified time | relevance | path

Searched refs:GetPixelAlpha (Results 1 – 25 of 69) sorted by relevance

123

/external/ImageMagick/MagickCore/
Dquantum-export.c263 pixel=ScaleQuantumToChar(GetPixelAlpha(image,p)); in ExportAlphaQuantum()
279 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelAlpha(image,p)); in ExportAlphaQuantum()
288 pixel=ScaleQuantumToShort(GetPixelAlpha(image,p)); in ExportAlphaQuantum()
304 q=PopFloatPixel(quantum_info,(float) GetPixelAlpha(image,p),q); in ExportAlphaQuantum()
312 pixel=ScaleQuantumToLong(GetPixelAlpha(image,p)); in ExportAlphaQuantum()
325 q=PopDoublePixel(quantum_info,(double) GetPixelAlpha(image,p),q); in ExportAlphaQuantum()
337 q=PopQuantumPixel(quantum_info,ScaleQuantumToAny(GetPixelAlpha(image,p), in ExportAlphaQuantum()
673 pixel=ScaleQuantumToChar(GetPixelAlpha(image,p)); in ExportBGRAQuantum()
709 case 3: quantum=GetPixelAlpha(image,p); break; in ExportBGRAQuantum()
752 pixel=(unsigned int) ScaleQuantumToAny(GetPixelAlpha(image,p), in ExportBGRAQuantum()
[all …]
Dstream.c1527 *q++=ScaleQuantumToChar(GetPixelAlpha(image,p)); in StreamImagePixels()
1583 *q++=ScaleQuantumToChar((Quantum) (GetPixelAlpha(image,p))); in StreamImagePixels()
1633 *q=ScaleQuantumToChar((Quantum) (GetPixelAlpha(image,p))); in StreamImagePixels()
1638 *q=ScaleQuantumToChar(GetPixelAlpha(image,p)); in StreamImagePixels()
1697 *q++=(double) ((QuantumScale*GetPixelAlpha(image,p))* in StreamImagePixels()
1764 *q++=(double) ((QuantumScale*GetPixelAlpha(image,p))* in StreamImagePixels()
1821 *q=(double) ((QuantumScale*GetPixelAlpha(image,p))* in StreamImagePixels()
1827 *q=(double) ((QuantumScale*GetPixelAlpha(image,p))* in StreamImagePixels()
1889 *q++=(float) ((QuantumScale*(Quantum) (GetPixelAlpha(image,p)))* in StreamImagePixels()
1956 *q++=(float) ((QuantumScale*GetPixelAlpha(image,p))* in StreamImagePixels()
[all …]
Dpixel.c558 *q++=ScaleQuantumToChar(GetPixelAlpha(image,p)); in ExportCharPixel()
626 *q++=ScaleQuantumToChar(GetPixelAlpha(image,p)); in ExportCharPixel()
686 *q=ScaleQuantumToChar(GetPixelAlpha(image,p)); in ExportCharPixel()
691 *q=ScaleQuantumToChar(GetPixelAlpha(image,p)); in ExportCharPixel()
765 *q++=(double) (QuantumScale*GetPixelAlpha(image,p)); in ExportDoublePixel()
833 *q++=(double) (QuantumScale*GetPixelAlpha(image,p)); in ExportDoublePixel()
893 *q=(double) (QuantumScale*GetPixelAlpha(image,p)); in ExportDoublePixel()
898 *q=(double) (QuantumScale*GetPixelAlpha(image,p)); in ExportDoublePixel()
973 *q++=(float) (QuantumScale*GetPixelAlpha(image,p)); in ExportFloatPixel()
1041 *q++=(float) (QuantumScale*GetPixelAlpha(image,p)); in ExportFloatPixel()
[all …]
Dcompare.c280 Sa=QuantumScale*GetPixelAlpha(image,p); in CompareImages()
281 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in CompareImages()
442 Sa=QuantumScale*GetPixelAlpha(image,p); in GetAbsoluteDistortion()
443 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetAbsoluteDistortion()
555 Sa=QuantumScale*GetPixelAlpha(image,p); in GetFuzzDistortion()
556 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetFuzzDistortion()
670 Sa=QuantumScale*GetPixelAlpha(image,p); in GetMeanAbsoluteDistortion()
671 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetMeanAbsoluteDistortion()
775 Sa=QuantumScale*GetPixelAlpha(image,p); in GetMeanErrorPerPixel()
776 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetMeanErrorPerPixel()
[all …]
Dchannel.c1036 gamma=QuantumScale*GetPixelAlpha(image,q); in SetImageAlphaChannel()
1090 if (GetPixelAlpha(image,q) == TransparentAlpha) in SetImageAlphaChannel()
1157 Sa=QuantumScale*GetPixelAlpha(image,q); in SetImageAlphaChannel()
1244 image->background_color.alpha,q,(double) GetPixelAlpha(image,q),q); in SetImageAlphaChannel()
Dshear.c544 background.alpha+=QuantumScale*GetPixelAlpha(image,p); in GetImageBackgroundColor()
1231 &source,(double) GetPixelAlpha(image,p),area,&destination); in XShearImage()
1263 &source,(double) GetPixelAlpha(image,p),area,&destination); in XShearImage()
1448 &source,(double) GetPixelAlpha(image,p),area, in YShearImage()
1481 &source,(double) GetPixelAlpha(image,p),area, in YShearImage()
Dcomposite.c450 Sa=QuantumScale*GetPixelAlpha(source_image,p); in CompositeOverImage()
451 Da=QuantumScale*GetPixelAlpha(image,q); in CompositeOverImage()
1105 (QuantumScale*GetPixelAlpha(source_image,p));
1378 pixel=canvas_dissolve*GetPixelAlpha(source_image,source);
1400 Sa=QuantumScale*GetPixelAlpha(source_image,p);
1401 Da=QuantumScale*GetPixelAlpha(image,q);
Dhistogram.c292 node_info->list[i].alpha=(double) GetPixelAlpha(image,p); in ClassifyImageColors()
752 node_info->list[i].alpha=(double) GetPixelAlpha(image,p); in CheckImageColors()
Dquantize.c445 (GetPixelAlpha(image,pixel) == OpaqueAlpha)) in AssociateAlphaPixel()
450 alpha_pixel->alpha=(double) GetPixelAlpha(image,pixel); in AssociateAlphaPixel()
453 alpha=(double) (QuantumScale*GetPixelAlpha(image,pixel)); in AssociateAlphaPixel()
457 alpha_pixel->alpha=(double) GetPixelAlpha(image,pixel); in AssociateAlphaPixel()
2241 alpha=(double) (QuantumScale*GetPixelAlpha(image,p)); in GetImageQuantizeError()
2443 SetPixelAlpha(image,PosterizePixel(GetPixelAlpha(image,q)),q); in PosterizeImage()
Dresample.c609 pixel->alpha += weight*GetPixelAlpha(resample_filter->image,pixels); in ResamplePixelColor()
613 weight *= QuantumScale*((double) GetPixelAlpha(resample_filter->image,pixels)); in ResamplePixelColor()
/external/ImageMagick/coders/
Dmatte.c197 SetPixelRed(matte_image,GetPixelAlpha(image,p),q); in WriteMATTEImage()
198 SetPixelGreen(matte_image,GetPixelAlpha(image,p),q); in WriteMATTEImage()
199 SetPixelBlue(matte_image,GetPixelAlpha(image,p),q); in WriteMATTEImage()
Daai.c190 if (GetPixelAlpha(image,q) != OpaqueAlpha) in ReadAAIImage()
402 UndefinedPixelTrait ? GetPixelAlpha(image,p) : OpaqueAlpha)); in WriteAAIImage()
Dvips.c731 WriteVIPSPixel(image,GetPixelAlpha(image,p)); in WriteVIPSImage()
741 WriteVIPSPixel(image,GetPixelAlpha(image,p)); in WriteVIPSImage()
746 WriteVIPSPixel(image,GetPixelAlpha(image,p)); in WriteVIPSImage()
Dtga.c700 ((double) GetPixelAlpha(image,p) > midpoint)) ? 0x80 : 0) | in WriteTGAPixel()
715 GetPixelAlpha(image,p))); in WriteTGAPixel()
947 (GetPixelAlpha(image,p+(i*channels)) != in WriteTGAImage()
948 GetPixelAlpha(image,p+(i-1)*channels))) in WriteTGAImage()
Dflif.c491 *qs++=ScaleQuantumToShort(GetPixelAlpha(image,p)); in WriteFLIFImage()
507 *qc++=ScaleQuantumToChar(GetPixelAlpha(image,p)); in WriteFLIFImage()
Dpng.c231 ScaleQuantumToChar(GetPixelAlpha(image,(pixel))) < 0x10 ? \
314 ScaleQuantumToChar(GetPixelAlpha(image,(pixel))) & 0xc0; \
451 ScaleQuantumToChar(GetPixelAlpha(image,(pixel))) & 0xf0; \
3528 (GetPixelAlpha(image,q) != OpaqueAlpha)) in ReadOnePNGImage()
3698 if (GetPixelAlpha(image,q) != OpaqueAlpha) in ReadOnePNGImage()
5135 if (GetPixelAlpha(image,q) != OpaqueAlpha) in ReadOneJNGImage()
6970 GetPixelAlpha(image,q)),q); in ReadOneMNGImage()
7090 SetPixelAlpha(large_image,GetPixelAlpha(image, in ReadOneMNGImage()
7104 SetPixelAlpha(large_image,GetPixelAlpha(image, in ReadOneMNGImage()
7129 (2*i*(GetPixelAlpha(image,n) in ReadOneMNGImage()
[all …]
Dpnm.c2245 GetPixelAlpha(image,p),max_value); in WritePNMImage()
2262 GetPixelAlpha(image,p),max_value); in WritePNMImage()
2277 GetPixelAlpha(image,p),max_value); in WritePNMImage()
2304 pixel=ScaleQuantumToAny(GetPixelAlpha(image,p), in WritePNMImage()
2329 pixel=ScaleQuantumToAny(GetPixelAlpha(image,p), in WritePNMImage()
2349 pixel=ScaleQuantumToAny(GetPixelAlpha(image,p), in WritePNMImage()
2373 pixel=ScaleQuantumToAny(GetPixelAlpha(image,p), in WritePNMImage()
2395 pixel=ScaleQuantumToAny(GetPixelAlpha(image,p), in WritePNMImage()
2413 pixel=ScaleQuantumToAny(GetPixelAlpha(image,p), in WritePNMImage()
Dgray.c268 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadGRAYImage()
354 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadGRAYImage()
483 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadGRAYImage()
652 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadGRAYImage()
Dbgr.c274 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadBGRImage()
373 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadBGRImage()
378 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadBGRImage()
623 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadBGRImage()
941 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadBGRImage()
Dycbcr.c271 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadYCBCRImage()
370 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadYCBCRImage()
609 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadYCBCRImage()
928 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadYCBCRImage()
Drgb.c272 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadRGBImage()
377 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadRGBImage()
612 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadRGBImage()
926 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadRGBImage()
Duil.c249 matte_image[i]=(unsigned char) (GetPixelAlpha(image,p) == in WriteUILImage()
Davs.c401 BlendPixelTrait ? GetPixelAlpha(image,p) : OpaqueAlpha)); in WriteAVSImage()
Dcmyk.c272 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadCMYKImage()
376 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadCMYKImage()
664 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadCMYKImage()
1054 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadCMYKImage()
Dpalm.c911 if (GetPixelAlpha(image,p) == (Quantum) TransparentAlpha) in WritePALMImage()
916 transpix.alpha=(MagickRealType) GetPixelAlpha(image,p); in WritePALMImage()

123