Searched refs:ScaleShortToQuantum (Results 1 - 23 of 23) sorted by relevance

/external/ImageMagick/coders/
H A Ddps.c380 SetPixelRed(image,ScaleShortToQuantum(colors[index].red),q);
382 SetPixelGreen(image,ScaleShortToQuantum(colors[index].green),q);
384 SetPixelBlue(image,ScaleShortToQuantum(colors[index].blue),q);
403 SetPixelRed(image,ScaleShortToQuantum((unsigned short) color),q);
406 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) color),q);
409 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) color),q);
435 image->colormap[colors[i].pixel].red=ScaleShortToQuantum(colors[i].red);
437 ScaleShortToQuantum(colors[i].green);
439 ScaleShortToQuantum(colors[i].blue);
H A Dplasma.c106 SetPixelRed(image,ScaleShortToQuantum((unsigned short) (65535.0*
108 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) (65535.0*
110 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) (65535.0*
H A Dflif.c225 SetPixelRed(image,ScaleShortToQuantum(*p++),q);
226 SetPixelGreen(image,ScaleShortToQuantum(*p++),q);
227 SetPixelBlue(image,ScaleShortToQuantum(*p++),q);
228 SetPixelAlpha(image,ScaleShortToQuantum(*p++),q);
H A Dyuv.c257 SetPixelGreen(image,ScaleShortToQuantum(((*p) << 8) | *(p+1)),
265 SetPixelRed(image,ScaleShortToQuantum(((*p) << 8) | *(p+1)),q);
277 SetPixelBlue(image,ScaleShortToQuantum(((*p) << 8) | *(p+1)),
285 SetPixelRed(image,ScaleShortToQuantum(((*p) << 8) | *(p+1)),q);
306 SetPixelRed(image,ScaleShortToQuantum(((*p) << 8) | *(p+1)),q);
355 SetPixelGreen(chroma_image,ScaleShortToQuantum(((*p) << 8) |
390 SetPixelBlue(chroma_image,ScaleShortToQuantum(((*p) << 8) |
H A Dxwd.c469 SetPixelRed(image,ScaleShortToQuantum(
473 SetPixelGreen(image,ScaleShortToQuantum(
477 SetPixelBlue(image,ScaleShortToQuantum(
500 SetPixelRed(image,ScaleShortToQuantum((unsigned short) color),q);
504 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) color),
509 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) color),q);
534 image->colormap[i].red=(MagickRealType) ScaleShortToQuantum(
536 image->colormap[i].green=(MagickRealType) ScaleShortToQuantum(
538 image->colormap[i].blue=(MagickRealType) ScaleShortToQuantum(
H A Dbmp.c1222 SetPixelRed(image,ScaleShortToQuantum((unsigned short) red),q);
1223 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) green),q);
1224 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) blue),q);
1231 SetPixelAlpha(image,ScaleShortToQuantum(
1320 SetPixelRed(image,ScaleShortToQuantum((unsigned short) red),q);
1321 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) green),q);
1322 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) blue),q);
1329 SetPixelAlpha(image,ScaleShortToQuantum(
H A Dvips.c280 return(ScaleShortToQuantum(s));
291 return(ScaleShortToQuantum(ReadBlobShort(image)));
H A Dsgi.c571 SetPixelRed(image,ScaleShortToQuantum((unsigned short)
573 SetPixelGreen(image,ScaleShortToQuantum((unsigned short)
575 SetPixelBlue(image,ScaleShortToQuantum((unsigned short)
579 SetPixelAlpha(image,ScaleShortToQuantum((unsigned short)
H A Dpict.c1058 ScaleShortToQuantum(ReadBlobMSBShort(image));
1060 ScaleShortToQuantum(ReadBlobMSBShort(image));
1062 ScaleShortToQuantum(ReadBlobMSBShort(image));
1171 ScaleShortToQuantum(ReadBlobMSBShort(image));
1173 ScaleShortToQuantum(ReadBlobMSBShort(image));
1175 ScaleShortToQuantum(ReadBlobMSBShort(image));
H A Dmpc.c893 image->colormap[i].red=ScaleShortToQuantum(pixel);
895 image->colormap[i].green=ScaleShortToQuantum(pixel);
897 image->colormap[i].blue=ScaleShortToQuantum(pixel);
H A Djpeg.c1403 SetPixelRed(image,ScaleShortToQuantum(
1405 SetPixelGreen(image,ScaleShortToQuantum(
1407 SetPixelBlue(image,ScaleShortToQuantum(
1415 SetPixelCyan(image,QuantumRange-ScaleShortToQuantum(
1417 SetPixelMagenta(image,QuantumRange-ScaleShortToQuantum(
1419 SetPixelYellow(image,QuantumRange-ScaleShortToQuantum(
1421 SetPixelBlack(image,QuantumRange-ScaleShortToQuantum(
H A Dpng.c2835 ScaleShortToQuantum(ping_background->red);
2838 ScaleShortToQuantum(ping_background->green);
2841 ScaleShortToQuantum(ping_background->blue);
3054 scale = ScaleShortToQuantum(scale);
3394 *r=ScaleShortToQuantum(quantum);
3406 alpha=ScaleShortToQuantum(quantum);
5373 ScaleShortToQuantum((unsigned short) ((p[0] << 8) | p[1]));
5376 ScaleShortToQuantum((unsigned short) ((p[2] << 8) | p[3]));
5379 ScaleShortToQuantum((unsigned short) ((p[4] << 8) | p[5]));
5399 ScaleShortToQuantum((unsigne
[all...]
H A Drle.c277 *p++=(unsigned char) ScaleShortToQuantum(ReadBlobLSBShort(image));
H A Dmiff.c1215 image->colormap[i].red=ScaleShortToQuantum(pixel);
1217 image->colormap[i].green=ScaleShortToQuantum(pixel);
1219 image->colormap[i].blue=ScaleShortToQuantum(pixel);
H A Dpnm.c839 SetPixelRed(image,ScaleShortToQuantum(pixel),q);
841 SetPixelGreen(image,ScaleShortToQuantum(pixel),q);
843 SetPixelBlue(image,ScaleShortToQuantum(pixel),q);
H A Dpsd.c872 pixel=ScaleShortToQuantum(nibble);
/external/ImageMagick/MagickCore/
H A Dquantum-import.c307 SetPixelAlpha(image,ScaleShortToQuantum(pixel),q);
599 SetPixelBlue(image,ScaleShortToQuantum(pixel),q);
601 SetPixelGreen(image,ScaleShortToQuantum(pixel),q);
603 SetPixelRed(image,ScaleShortToQuantum(pixel),q);
746 quantum=(size_t) (ScaleShortToQuantum((unsigned short)
752 quantum=(size_t) (ScaleShortToQuantum((unsigned short)
758 quantum=(size_t) (ScaleShortToQuantum((unsigned short)
780 SetPixelRed(image,ScaleShortToQuantum((unsigned short) (pixel << 6)),q);
782 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) (pixel << 6)),
785 SetPixelBlue(image,ScaleShortToQuantum((unsigne
[all...]
H A Dquantum-private.h379 static inline Quantum ScaleShortToQuantum(const unsigned short value) function
482 static inline Quantum ScaleShortToQuantum(const unsigned short value) function
569 static inline Quantum ScaleShortToQuantum(const unsigned short value) function
630 static inline Quantum ScaleShortToQuantum(const unsigned short value) function
H A Dpixel.c3946 SetPixelBlue(image,ScaleShortToQuantum(*p++),q);
3947 SetPixelGreen(image,ScaleShortToQuantum(*p++),q);
3948 SetPixelRed(image,ScaleShortToQuantum(*p++),q);
3965 SetPixelBlue(image,ScaleShortToQuantum(*p++),q);
3966 SetPixelGreen(image,ScaleShortToQuantum(*p++),q);
3967 SetPixelRed(image,ScaleShortToQuantum(*p++),q);
3968 SetPixelAlpha(image,ScaleShortToQuantum(*p++),q);
3985 SetPixelBlue(image,ScaleShortToQuantum(*p++),q);
3986 SetPixelGreen(image,ScaleShortToQuantum(*p++),q);
3987 SetPixelRed(image,ScaleShortToQuantum(*
[all...]
H A Dxwindow.c591 SetPixelRed(annotate_image,ScaleShortToQuantum(
593 SetPixelGreen(annotate_image,ScaleShortToQuantum(
595 SetPixelBlue(annotate_image,ScaleShortToQuantum(
606 SetPixelRed(annotate_image,ScaleShortToQuantum(
608 SetPixelGreen(annotate_image,ScaleShortToQuantum(
610 SetPixelBlue(annotate_image,ScaleShortToQuantum(
2521 SetPixelRed(draw_image,ScaleShortToQuantum(
2523 SetPixelGreen(draw_image,ScaleShortToQuantum(
2525 SetPixelBlue(draw_image,ScaleShortToQuantum(
3956 pixel.red=(double) ScaleShortToQuantum(colo
[all...]
H A Dstatistic.c2698 *pixel=ScaleShortToQuantum((unsigned short) maximum);
2729 *pixel=ScaleShortToQuantum((unsigned short) sum);
2754 *pixel=ScaleShortToQuantum((unsigned short) color);
2783 *pixel=ScaleShortToQuantum((unsigned short) minimum);
2817 *pixel=ScaleShortToQuantum((unsigned short) mode);
2852 *pixel=ScaleShortToQuantum((unsigned short) color);
2884 *pixel=ScaleShortToQuantum((unsigned short) sqrt(sum));
2924 *pixel=ScaleShortToQuantum((unsigned short) sqrt(sum_squared-(sum*sum)));
H A Ddisplay.c3755 SetPixelRed(*image,ScaleShortToQuantum(color.red),q);
3756 SetPixelGreen(*image,ScaleShortToQuantum(color.green),q);
3757 SetPixelBlue(*image,ScaleShortToQuantum(color.blue),q);
3785 SetPixelRed(*image,ScaleShortToQuantum(
3787 SetPixelGreen(*image,ScaleShortToQuantum(
3789 SetPixelBlue(*image,ScaleShortToQuantum(
3803 (*image)->colormap[i].red=(double) ScaleShortToQuantum(
3805 (*image)->colormap[i].green=(double) ScaleShortToQuantum(
3807 (*image)->colormap[i].blue=(double) ScaleShortToQuantum(
3832 ScaleShortToQuantum(border_colo
[all...]
H A Dprofile.c1167 SetPixelGray(image,ScaleShortToQuantum(*p),q);
1169 SetPixelRed(image,ScaleShortToQuantum(*p),q);
1173 SetPixelGreen(image,ScaleShortToQuantum(*p),q);
1175 SetPixelBlue(image,ScaleShortToQuantum(*p),q);
1180 SetPixelBlack(image,ScaleShortToQuantum(*p),q);

Completed in 1155 milliseconds