Searched refs:ScaleCharToQuantum (Results 1 - 25 of 58) sorted by relevance

123

/external/ImageMagick/coders/
H A Dscr.c226 SetPixelRed(image,ScaleCharToQuantum(
228 SetPixelGreen(image,ScaleCharToQuantum(
230 SetPixelBlue(image,ScaleCharToQuantum(
233 SetPixelRed(image,ScaleCharToQuantum(
235 SetPixelGreen(image,ScaleCharToQuantum(
237 SetPixelBlue(image,ScaleCharToQuantum(
H A Dtim.c213 image->colormap[i].blue=ScaleCharToQuantum(
215 image->colormap[i].green=ScaleCharToQuantum(
217 image->colormap[i].red=ScaleCharToQuantum(
337 SetPixelBlue(image,ScaleCharToQuantum(ScaleColor5to8(
339 SetPixelGreen(image,ScaleCharToQuantum(ScaleColor5to8(
341 SetPixelRed(image,ScaleCharToQuantum(ScaleColor5to8(
370 SetPixelRed(image,ScaleCharToQuantum(*p++),q);
371 SetPixelGreen(image,ScaleCharToQuantum(*p++),q);
372 SetPixelBlue(image,ScaleCharToQuantum(*p++),q);
H A Dpix.c183 index=ScaleCharToQuantum((unsigned char) ReadBlobByte(image));
186 blue=ScaleCharToQuantum((unsigned char) ReadBlobByte(image));
187 green=ScaleCharToQuantum((unsigned char) ReadBlobByte(image));
188 red=ScaleCharToQuantum((unsigned char) ReadBlobByte(image));
H A Drla.c319 SetPixelRed(image,ScaleCharToQuantum(byte),q);
324 SetPixelGreen(image,ScaleCharToQuantum(byte),q);
329 SetPixelBlue(image,ScaleCharToQuantum(byte),q);
335 SetPixelAlpha(image,ScaleCharToQuantum(byte),q);
359 SetPixelRed(image,ScaleCharToQuantum(byte),q);
364 SetPixelGreen(image,ScaleCharToQuantum(byte),q);
369 SetPixelBlue(image,ScaleCharToQuantum(byte),q);
375 SetPixelAlpha(image,ScaleCharToQuantum(byte),q);
H A Duyvy.c168 SetPixelRed(image,ScaleCharToQuantum(y1),q);
169 SetPixelGreen(image,ScaleCharToQuantum(u),q);
170 SetPixelBlue(image,ScaleCharToQuantum(v),q);
172 SetPixelRed(image,ScaleCharToQuantum(y2),q);
173 SetPixelGreen(image,ScaleCharToQuantum(u),q);
174 SetPixelBlue(image,ScaleCharToQuantum(v),q);
H A Dxcf.c387 SetPixelGray(tile_image,ScaleCharToQuantum(*graydata),q);
388 SetPixelAlpha(tile_image,ScaleCharToQuantum((unsigned char)
399 SetPixelRed(tile_image,ScaleCharToQuantum(xcfdata->red),q);
400 SetPixelGreen(tile_image,ScaleCharToQuantum(xcfdata->green),q);
401 SetPixelBlue(tile_image,ScaleCharToQuantum(xcfdata->blue),q);
403 ScaleCharToQuantum((unsigned char) inLayerInfo->alpha),q);
452 alpha=ScaleCharToQuantum((unsigned char) inLayerInfo->alpha);
489 SetPixelGray(tile_image,ScaleCharToQuantum(data),q);
492 SetPixelRed(tile_image,ScaleCharToQuantum(data),q);
493 SetPixelGreen(tile_image,ScaleCharToQuantum(dat
[all...]
H A Dscreenshot.c217 SetPixelRed(image,ScaleCharToQuantum(p->rgbtRed),q);
218 SetPixelGreen(image,ScaleCharToQuantum(p->rgbtGreen),q);
219 SetPixelBlue(image,ScaleCharToQuantum(p->rgbtBlue),q);
H A Dtga.c353 pixel.red=(MagickRealType) ScaleCharToQuantum((unsigned char)
383 pixel.blue=(MagickRealType) ScaleCharToQuantum((unsigned char)
385 pixel.green=(MagickRealType) ScaleCharToQuantum((unsigned char)
387 pixel.red=(MagickRealType) ScaleCharToQuantum((unsigned char)
396 pixel.blue=(MagickRealType) ScaleCharToQuantum((unsigned char)
398 pixel.green=(MagickRealType) ScaleCharToQuantum((unsigned char)
400 pixel.red=(MagickRealType) ScaleCharToQuantum((unsigned char)
402 pixel.alpha=(MagickRealType) ScaleCharToQuantum((unsigned char)
465 pixel.red=(MagickRealType) ScaleCharToQuantum((unsigned char)
467 pixel.green=(MagickRealType) ScaleCharToQuantum((unsigne
[all...]
H A Drle.c502 SetPixelRed(image,ScaleCharToQuantum(*p++),q);
503 SetPixelGreen(image,ScaleCharToQuantum(*p++),q);
504 SetPixelBlue(image,ScaleCharToQuantum(*p++),q);
506 SetPixelAlpha(image,ScaleCharToQuantum(*p++),q);
537 ScaleCharToQuantum((unsigned char) i);
539 ScaleCharToQuantum((unsigned char) i);
541 ScaleCharToQuantum((unsigned char) i);
548 ScaleCharToQuantum(*p);
550 ScaleCharToQuantum(*(p+map_length));
552 ScaleCharToQuantum(*(
[all...]
H A Daai.c184 SetPixelBlue(image,ScaleCharToQuantum(*p++),q);
185 SetPixelGreen(image,ScaleCharToQuantum(*p++),q);
186 SetPixelRed(image,ScaleCharToQuantum(*p++),q);
189 SetPixelAlpha(image,ScaleCharToQuantum(*p++),q);
H A Davs.c186 SetPixelAlpha(image,ScaleCharToQuantum(*p++),q);
187 SetPixelRed(image,ScaleCharToQuantum(*p++),q);
188 SetPixelGreen(image,ScaleCharToQuantum(*p++),q);
189 SetPixelBlue(image,ScaleCharToQuantum(*p++),q);
H A Ddib.c633 image->colormap[i].blue=ScaleCharToQuantum(*p++);
634 image->colormap[i].green=ScaleCharToQuantum(*p++);
635 image->colormap[i].red=ScaleCharToQuantum(*p++);
823 SetPixelRed(image,ScaleCharToQuantum(ScaleColor5to8(
825 SetPixelGreen(image,ScaleCharToQuantum(ScaleColor5to8(
827 SetPixelBlue(image,ScaleCharToQuantum(ScaleColor5to8(
832 SetPixelRed(image,ScaleCharToQuantum(ScaleColor5to8(
834 SetPixelGreen(image,ScaleCharToQuantum(ScaleColor6to8(
836 SetPixelBlue(image,ScaleCharToQuantum(ScaleColor5to8(
867 SetPixelBlue(image,ScaleCharToQuantum(*
[all...]
H A Dcut.c245 scale_intensity=ScaleCharToQuantum(16);
260 if (intensity < ScaleCharToQuantum(2))
262 if (intensity < ScaleCharToQuantum(16))
501 image->colormap[i].red=ScaleCharToQuantum((unsigned char) i);
502 image->colormap[i].green=ScaleCharToQuantum((unsigned char) i);
503 image->colormap[i].blue=ScaleCharToQuantum((unsigned char) i);
572 sample=ScaleCharToQuantum((unsigned char) i);
585 if (GetPixelRed(image,q) == ScaleCharToQuantum(1))
H A Ddds.c1921 SetPixelRed(image,ScaleCharToQuantum(colors.r[code]),q);
1922 SetPixelGreen(image,ScaleCharToQuantum(colors.g[code]),q);
1923 SetPixelBlue(image,ScaleCharToQuantum(colors.b[code]),q);
1924 SetPixelAlpha(image,ScaleCharToQuantum(colors.a[code]),q);
2000 SetPixelRed(image,ScaleCharToQuantum(colors.r[code]),q);
2001 SetPixelGreen(image,ScaleCharToQuantum(colors.g[code]),q);
2002 SetPixelBlue(image,ScaleCharToQuantum(colors.b[code]),q);
2010 SetPixelAlpha(image,ScaleCharToQuantum((unsigned char) alpha),q);
2092 SetPixelRed(image,ScaleCharToQuantum(colors.r[code]),q);
2093 SetPixelGreen(image,ScaleCharToQuantum(color
[all...]
H A Dclipboard.c227 SetPixelRed(image,ScaleCharToQuantum(pBits->rgbRed),q);
228 SetPixelGreen(image,ScaleCharToQuantum(pBits->rgbGreen),q);
229 SetPixelBlue(image,ScaleCharToQuantum(pBits->rgbBlue),q);
H A Dhrz.c167 SetPixelRed(image,ScaleCharToQuantum(4**p++),q);
168 SetPixelGreen(image,ScaleCharToQuantum(4**p++),q);
169 SetPixelBlue(image,ScaleCharToQuantum(4**p++),q);
H A Dmtv.c185 SetPixelRed(image,ScaleCharToQuantum(*p++),q);
186 SetPixelGreen(image,ScaleCharToQuantum(*p++),q);
187 SetPixelBlue(image,ScaleCharToQuantum(*p++),q);
H A Dyuv.c254 SetPixelGreen(image,ScaleCharToQuantum(*p++),chroma_pixels);
262 SetPixelRed(image,ScaleCharToQuantum(*p++),q);
274 SetPixelBlue(image,ScaleCharToQuantum(*p++),chroma_pixels);
282 SetPixelRed(image,ScaleCharToQuantum(*p++),q);
303 SetPixelRed(image,ScaleCharToQuantum(*p++),q);
352 SetPixelGreen(chroma_image,ScaleCharToQuantum(*p++),q);
387 SetPixelBlue(chroma_image,ScaleCharToQuantum(*p++),q);
H A Dpcx.c376 image->colormap[i].red=ScaleCharToQuantum(*p++);
377 image->colormap[i].green=ScaleCharToQuantum(*p++);
378 image->colormap[i].blue=ScaleCharToQuantum(*p++);
489 image->colormap[i].red=ScaleCharToQuantum(*p++);
490 image->colormap[i].green=ScaleCharToQuantum(*p++);
491 image->colormap[i].blue=ScaleCharToQuantum(*p++);
628 SetPixelRed(image,ScaleCharToQuantum(*r++),q);
629 SetPixelGreen(image,ScaleCharToQuantum(*r++),q);
630 SetPixelBlue(image,ScaleCharToQuantum(*r++),q);
632 SetPixelAlpha(image,ScaleCharToQuantum(*
[all...]
H A Dsun.c372 image->colormap[i].red=(MagickRealType) ScaleCharToQuantum(
378 image->colormap[i].green=(MagickRealType) ScaleCharToQuantum(
384 image->colormap[i].blue=(MagickRealType) ScaleCharToQuantum(
574 SetPixelAlpha(image,ScaleCharToQuantum(*p++),q);
577 SetPixelBlue(image,ScaleCharToQuantum(*p++),q);
578 SetPixelGreen(image,ScaleCharToQuantum(*p++),q);
579 SetPixelRed(image,ScaleCharToQuantum(*p++),q);
583 SetPixelRed(image,ScaleCharToQuantum(*p++),q);
584 SetPixelGreen(image,ScaleCharToQuantum(*p++),q);
585 SetPixelBlue(image,ScaleCharToQuantum(*
[all...]
H A Dmap.c186 image->colormap[i].red=ScaleCharToQuantum(*p++);
187 image->colormap[i].green=ScaleCharToQuantum(*p++);
188 image->colormap[i].blue=ScaleCharToQuantum(*p++);
H A Dwpg.c425 SetPixelRed(image,ScaleCharToQuantum(*p++),q);
426 SetPixelGreen(image,ScaleCharToQuantum(*p++),q);
427 SetPixelBlue(image,ScaleCharToQuantum(*p++),q);
1073 image->colormap[i].red=ScaleCharToQuantum((unsigned char)
1075 image->colormap[i].green=ScaleCharToQuantum((unsigned char)
1077 image->colormap[i].blue=ScaleCharToQuantum((unsigned char)
1135 image->colormap[i].red=ScaleCharToQuantum(WPG1_Palette[i].Red);
1136 image->colormap[i].green=ScaleCharToQuantum(WPG1_Palette[i].Green);
1137 image->colormap[i].blue=ScaleCharToQuantum(WPG1_Palette[i].Blue);
1275 image->colormap[i].red=ScaleCharToQuantum((cha
[all...]
H A Dpango.c433 fill_color.blue=(double) ScaleCharToQuantum(*p++);
434 fill_color.green=(double) ScaleCharToQuantum(*p++);
435 fill_color.red=(double) ScaleCharToQuantum(*p++);
436 fill_color.alpha=(double) ScaleCharToQuantum(*p++);
/external/ImageMagick/www/source/
H A Dmgk.c226 SetPixelRed(q,ScaleCharToQuantum(*p++));
227 SetPixelGreen(q,ScaleCharToQuantum(*p++));
228 SetPixelBlue(q,ScaleCharToQuantum(*p++));
/external/ImageMagick/MagickCore/
H A Dquantum-private.h290 static inline Quantum ScaleCharToQuantum(const unsigned char value) function
388 static inline Quantum ScaleCharToQuantum(const unsigned char value) function
487 static inline Quantum ScaleCharToQuantum(const unsigned char value) function
578 static inline Quantum ScaleCharToQuantum(const unsigned char value) function

Completed in 723 milliseconds

123