ScaleShortToQuantum 1097 coders/bmp.c q->opacity=ScaleShortToQuantum(opacity); ScaleShortToQuantum 1099 coders/bmp.c q->red=ScaleShortToQuantum(red); ScaleShortToQuantum 1100 coders/bmp.c q->green=ScaleShortToQuantum(green); ScaleShortToQuantum 1101 coders/bmp.c q->blue=ScaleShortToQuantum(blue); ScaleShortToQuantum 1191 coders/bmp.c q->opacity=ScaleShortToQuantum(opacity); ScaleShortToQuantum 1193 coders/bmp.c q->red=ScaleShortToQuantum(red); ScaleShortToQuantum 1194 coders/bmp.c q->green=ScaleShortToQuantum(green); ScaleShortToQuantum 1195 coders/bmp.c q->blue=ScaleShortToQuantum(blue); ScaleShortToQuantum 683 coders/cineon.c ScaleShortToQuantum(MagickBitStreamMSBRead(&bit_stream,10)*scale_to_short); ScaleShortToQuantum 727 coders/cineon.c q->red = ScaleShortToQuantum(red*scale_to_short); ScaleShortToQuantum 728 coders/cineon.c q->green = ScaleShortToQuantum(green*scale_to_short); ScaleShortToQuantum 729 coders/cineon.c q->blue = ScaleShortToQuantum(blue*scale_to_short); ScaleShortToQuantum 3307 coders/dcm.c image->colormap[i].red=ScaleShortToQuantum(index); ScaleShortToQuantum 3309 coders/dcm.c image->colormap[i].green=ScaleShortToQuantum(index); ScaleShortToQuantum 3311 coders/dcm.c image->colormap[i].blue=ScaleShortToQuantum(index); ScaleShortToQuantum 381 coders/dps.c q->red=ScaleShortToQuantum(colors[index_val].red); ScaleShortToQuantum 383 coders/dps.c q->green=ScaleShortToQuantum(colors[index_val].green); ScaleShortToQuantum 385 coders/dps.c q->blue=ScaleShortToQuantum(colors[index_val].blue); ScaleShortToQuantum 406 coders/dps.c q->red=ScaleShortToQuantum((color*65535L)/red_mask); ScaleShortToQuantum 408 coders/dps.c q->green=ScaleShortToQuantum((color*65535L)/green_mask); ScaleShortToQuantum 410 coders/dps.c q->blue=ScaleShortToQuantum((color*65535L)/blue_mask); ScaleShortToQuantum 442 coders/dps.c ScaleShortToQuantum(colors[i].red); ScaleShortToQuantum 444 coders/dps.c ScaleShortToQuantum(colors[i].green); ScaleShortToQuantum 446 coders/dps.c ScaleShortToQuantum(colors[i].blue); ScaleShortToQuantum 1265 coders/jpeg.c q->red=ScaleShortToQuantum(16*GETJSAMPLE(*p++)); ScaleShortToQuantum 1266 coders/jpeg.c q->green=ScaleShortToQuantum(16*GETJSAMPLE(*p++)); ScaleShortToQuantum 1267 coders/jpeg.c q->blue=ScaleShortToQuantum(16*GETJSAMPLE(*p++)); ScaleShortToQuantum 1269 coders/jpeg.c q->opacity=ScaleShortToQuantum(16*GETJSAMPLE(*p++)); ScaleShortToQuantum 288 coders/miff.c pixel.red=ScaleShortToQuantum(quantum); ScaleShortToQuantum 291 coders/miff.c pixel.green=ScaleShortToQuantum(quantum); ScaleShortToQuantum 294 coders/miff.c pixel.blue=ScaleShortToQuantum(quantum); ScaleShortToQuantum 297 coders/miff.c pixel.opacity=ScaleShortToQuantum(quantum); ScaleShortToQuantum 300 coders/miff.c index=ScaleShortToQuantum(quantum); ScaleShortToQuantum 383 coders/miff.c pixel.red=ScaleShortToQuantum(quantum); ScaleShortToQuantum 386 coders/miff.c pixel.green=ScaleShortToQuantum(quantum); ScaleShortToQuantum 389 coders/miff.c pixel.blue=ScaleShortToQuantum(quantum); ScaleShortToQuantum 392 coders/miff.c pixel.opacity=ScaleShortToQuantum(quantum); ScaleShortToQuantum 468 coders/miff.c pixel.red=ScaleShortToQuantum(quantum); ScaleShortToQuantum 471 coders/miff.c pixel.green=ScaleShortToQuantum(quantum); ScaleShortToQuantum 474 coders/miff.c pixel.blue=ScaleShortToQuantum(quantum); ScaleShortToQuantum 477 coders/miff.c pixel.opacity=ScaleShortToQuantum(quantum); ScaleShortToQuantum 552 coders/miff.c pixel.red=ScaleShortToQuantum(quantum); ScaleShortToQuantum 555 coders/miff.c pixel.green=ScaleShortToQuantum(quantum); ScaleShortToQuantum 558 coders/miff.c pixel.blue=ScaleShortToQuantum(quantum); ScaleShortToQuantum 1260 coders/miff.c image->colormap[i].red=ScaleShortToQuantum(pixel); ScaleShortToQuantum 1263 coders/miff.c image->colormap[i].green=ScaleShortToQuantum(pixel); ScaleShortToQuantum 1266 coders/miff.c image->colormap[i].blue=ScaleShortToQuantum(pixel); ScaleShortToQuantum 947 coders/pict.c ScaleShortToQuantum(ReadBlobMSBShort(image)); ScaleShortToQuantum 949 coders/pict.c ScaleShortToQuantum(ReadBlobMSBShort(image)); ScaleShortToQuantum 951 coders/pict.c ScaleShortToQuantum(ReadBlobMSBShort(image)); ScaleShortToQuantum 1051 coders/pict.c ScaleShortToQuantum(ReadBlobMSBShort(image)); ScaleShortToQuantum 1053 coders/pict.c ScaleShortToQuantum(ReadBlobMSBShort(image)); ScaleShortToQuantum 1055 coders/pict.c ScaleShortToQuantum(ReadBlobMSBShort(image)); ScaleShortToQuantum 2017 coders/png.c ScaleShortToQuantum(ping_info->background.red); ScaleShortToQuantum 2019 coders/png.c ScaleShortToQuantum(ping_info->background.green); ScaleShortToQuantum 2021 coders/png.c ScaleShortToQuantum(ping_info->background.blue); ScaleShortToQuantum 4044 coders/png.c =ScaleShortToQuantum(((p[0] << 8) | p[1])); ScaleShortToQuantum 4046 coders/png.c =ScaleShortToQuantum(((p[2] << 8) | p[3])); ScaleShortToQuantum 4048 coders/png.c =ScaleShortToQuantum(((p[4] << 8) | p[5])); ScaleShortToQuantum 4064 coders/png.c ScaleShortToQuantum(((p[0] << 8) | p[1])); ScaleShortToQuantum 4066 coders/png.c ScaleShortToQuantum(((p[2] << 8) | p[3])); ScaleShortToQuantum 4068 coders/png.c ScaleShortToQuantum(((p[4] << 8) | p[5])); ScaleShortToQuantum 5331 coders/png.c q->red=ScaleShortToQuantum(q->red); ScaleShortToQuantum 5332 coders/png.c q->green=ScaleShortToQuantum(q->green); ScaleShortToQuantum 5333 coders/png.c q->blue=ScaleShortToQuantum(q->blue); ScaleShortToQuantum 5334 coders/png.c q->opacity=ScaleShortToQuantum(q->opacity); ScaleShortToQuantum 1367 coders/psd.c pixel=ScaleShortToQuantum(ReadBlobMSBShort(image)); ScaleShortToQuantum 242 coders/rle.c *p++=ScaleShortToQuantum(ReadBlobLSBShort(image)); ScaleShortToQuantum 662 coders/sgi.c q->red=ScaleShortToQuantum((*(p+0) << 8) | (*(p+1))); ScaleShortToQuantum 663 coders/sgi.c q->green=ScaleShortToQuantum((*(p+2) << 8) | (*(p+3))); ScaleShortToQuantum 664 coders/sgi.c q->blue=ScaleShortToQuantum((*(p+4) << 8) | (*(p+5))); ScaleShortToQuantum 667 coders/sgi.c (MaxRGB-ScaleShortToQuantum((*(p+6) << 8) | (*(p+7)))); ScaleShortToQuantum 379 coders/xwd.c q->red=ScaleShortToQuantum(colors[index_val].red); ScaleShortToQuantum 381 coders/xwd.c q->green=ScaleShortToQuantum(colors[index_val].green); ScaleShortToQuantum 383 coders/xwd.c q->blue=ScaleShortToQuantum(colors[index_val].blue); ScaleShortToQuantum 404 coders/xwd.c q->red=ScaleShortToQuantum((color*65535L)/red_mask); ScaleShortToQuantum 406 coders/xwd.c q->green=ScaleShortToQuantum((color*65535L)/green_mask); ScaleShortToQuantum 408 coders/xwd.c q->blue=ScaleShortToQuantum((color*65535L)/blue_mask); ScaleShortToQuantum 431 coders/xwd.c image->colormap[i].red=ScaleShortToQuantum(colors[i].red); ScaleShortToQuantum 432 coders/xwd.c image->colormap[i].green=ScaleShortToQuantum(colors[i].green); ScaleShortToQuantum 433 coders/xwd.c image->colormap[i].blue=ScaleShortToQuantum(colors[i].blue); ScaleShortToQuantum 464 magick/colorspace.c logmap[i]=ScaleShortToQuantum((unsigned int) (logval + 0.5)); ScaleShortToQuantum 1779 magick/constitute.c quantum=ScaleShortToQuantum(*p++); ScaleShortToQuantum 5376 magick/constitute.c SetOpacitySample(q,MaxRGB-ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 5518 magick/constitute.c SetGraySample(q,MaxRGB-ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 5528 magick/constitute.c SetGraySample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 5831 magick/constitute.c SetGraySample(q,MaxRGB-ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 5833 magick/constitute.c SetOpacitySample(q,MaxRGB-ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 5842 magick/constitute.c SetGraySample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 5844 magick/constitute.c SetOpacitySample(q,MaxRGB-ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 6124 magick/constitute.c SetRedSample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 6259 magick/constitute.c SetGreenSample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 6394 magick/constitute.c SetBlueSample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 6775 magick/constitute.c SetBlackSample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 6916 magick/constitute.c SetRedSample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 6918 magick/constitute.c SetGreenSample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 6920 magick/constitute.c SetBlueSample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 7110 magick/constitute.c SetRedSample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 7112 magick/constitute.c SetGreenSample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 7114 magick/constitute.c SetBlueSample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 7116 magick/constitute.c SetOpacitySample(q,MaxRGB-ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 7319 magick/constitute.c SetCyanSample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 7321 magick/constitute.c SetMagentaSample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 7323 magick/constitute.c SetYellowSample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 7535 magick/constitute.c SetCyanSample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 7537 magick/constitute.c SetMagentaSample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 7539 magick/constitute.c SetYellowSample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 7541 magick/constitute.c SetBlackSample(q,ScaleShortToQuantum(unsigned_value)); ScaleShortToQuantum 7543 magick/constitute.c *indexes++=(IndexPacket) MaxRGB-ScaleShortToQuantum(unsigned_value); ScaleShortToQuantum 2019 magick/display.c q->red=ScaleShortToQuantum(color.red); ScaleShortToQuantum 2020 magick/display.c q->green=ScaleShortToQuantum(color.green); ScaleShortToQuantum 2021 magick/display.c q->blue=ScaleShortToQuantum(color.blue); ScaleShortToQuantum 2045 magick/display.c q->red=ScaleShortToQuantum(color.red); ScaleShortToQuantum 2046 magick/display.c q->green=ScaleShortToQuantum(color.green); ScaleShortToQuantum 2047 magick/display.c q->blue=ScaleShortToQuantum(color.blue); ScaleShortToQuantum 2060 magick/display.c (*image)->colormap[i].red=ScaleShortToQuantum(color.red); ScaleShortToQuantum 2062 magick/display.c ScaleShortToQuantum(color.green); ScaleShortToQuantum 2064 magick/display.c ScaleShortToQuantum(color.blue); ScaleShortToQuantum 2085 magick/display.c target.red=ScaleShortToQuantum(border_color.red); ScaleShortToQuantum 2086 magick/display.c target.green=ScaleShortToQuantum(border_color.green); ScaleShortToQuantum 2087 magick/display.c target.blue=ScaleShortToQuantum(border_color.blue); ScaleShortToQuantum 2111 magick/display.c q->red=ScaleShortToQuantum(color.red); ScaleShortToQuantum 2112 magick/display.c q->green=ScaleShortToQuantum(color.green); ScaleShortToQuantum 2113 magick/display.c q->blue=ScaleShortToQuantum(color.blue); ScaleShortToQuantum 7949 magick/display.c target.red=ScaleShortToQuantum(border_color.red); ScaleShortToQuantum 7950 magick/display.c target.green=ScaleShortToQuantum(border_color.green); ScaleShortToQuantum 7951 magick/display.c target.blue=ScaleShortToQuantum(border_color.blue); ScaleShortToQuantum 10133 magick/display.c ScaleShortToQuantum(windows->pixel_info->pen_colors[pen_id].red); ScaleShortToQuantum 10135 magick/display.c ScaleShortToQuantum(windows->pixel_info->pen_colors[pen_id].green); ScaleShortToQuantum 10137 magick/display.c ScaleShortToQuantum(windows->pixel_info->pen_colors[pen_id].blue); ScaleShortToQuantum 2207 magick/effect.c pixel.red=ScaleShortToQuantum(channels[0]); ScaleShortToQuantum 2208 magick/effect.c pixel.green=ScaleShortToQuantum(channels[1]); ScaleShortToQuantum 2209 magick/effect.c pixel.blue=ScaleShortToQuantum(channels[2]); ScaleShortToQuantum 2210 magick/effect.c pixel.opacity=ScaleShortToQuantum(channels[3]); ScaleShortToQuantum 3278 magick/effect.c pixel.red=ScaleShortToQuantum(channels[0]); ScaleShortToQuantum 3279 magick/effect.c pixel.green=ScaleShortToQuantum(channels[1]); ScaleShortToQuantum 3280 magick/effect.c pixel.blue=ScaleShortToQuantum(channels[2]); ScaleShortToQuantum 3281 magick/effect.c pixel.opacity=ScaleShortToQuantum(channels[3]); ScaleShortToQuantum 534 magick/profile.c pixels[i].red=ScaleShortToQuantum(beta.red); ScaleShortToQuantum 542 magick/profile.c pixels[i].green=ScaleShortToQuantum(beta.green); ScaleShortToQuantum 543 magick/profile.c pixels[i].blue=ScaleShortToQuantum(beta.blue); ScaleShortToQuantum 556 magick/profile.c pixels[i].opacity=ScaleShortToQuantum(beta.black); ScaleShortToQuantum 658 magick/xwindow.c q->red=ScaleShortToQuantum(pixel->box_color.red); ScaleShortToQuantum 659 magick/xwindow.c q->green=ScaleShortToQuantum(pixel->box_color.green); ScaleShortToQuantum 660 magick/xwindow.c q->blue=ScaleShortToQuantum(pixel->box_color.blue); ScaleShortToQuantum 670 magick/xwindow.c q->red=ScaleShortToQuantum(pixel->pen_color.red); ScaleShortToQuantum 671 magick/xwindow.c q->green=ScaleShortToQuantum(pixel->pen_color.green); ScaleShortToQuantum 672 magick/xwindow.c q->blue=ScaleShortToQuantum(pixel->pen_color.blue); ScaleShortToQuantum 2493 magick/xwindow.c q->red=ScaleShortToQuantum(pixel->pen_color.red); ScaleShortToQuantum 2494 magick/xwindow.c q->green=ScaleShortToQuantum(pixel->pen_color.green); ScaleShortToQuantum 2495 magick/xwindow.c q->blue=ScaleShortToQuantum(pixel->pen_color.blue); ScaleShortToQuantum 3971 magick/xwindow.c pixel.red=ScaleShortToQuantum(color.red); ScaleShortToQuantum 3972 magick/xwindow.c pixel.green=ScaleShortToQuantum(color.green); ScaleShortToQuantum 3973 magick/xwindow.c pixel.blue=ScaleShortToQuantum(color.blue); ScaleShortToQuantum 4446 magick/xwindow.c q->red=ScaleShortToQuantum(colors[colormap_index].red); ScaleShortToQuantum 4448 magick/xwindow.c q->green=ScaleShortToQuantum(colors[colormap_index].green); ScaleShortToQuantum 4450 magick/xwindow.c q->blue=ScaleShortToQuantum(colors[colormap_index].blue); ScaleShortToQuantum 4467 magick/xwindow.c q->red=ScaleShortToQuantum((65535L*color)/red_mask); ScaleShortToQuantum 4469 magick/xwindow.c q->green=ScaleShortToQuantum((65535L*color)/green_mask); ScaleShortToQuantum 4471 magick/xwindow.c q->blue=ScaleShortToQuantum((65535L*color)/blue_mask); ScaleShortToQuantum 4494 magick/xwindow.c ScaleShortToQuantum(colors[i].red); ScaleShortToQuantum 4496 magick/xwindow.c ScaleShortToQuantum(colors[i].green); ScaleShortToQuantum 4498 magick/xwindow.c ScaleShortToQuantum(colors[i].blue);