ScaleQuantumToShort 1333 coders/cineon.c red = ScaleQuantumToShort(p->red)/scale_from_short; ScaleQuantumToShort 1334 coders/cineon.c green = ScaleQuantumToShort(p->green)/scale_from_short; ScaleQuantumToShort 1335 coders/cineon.c blue = ScaleQuantumToShort(p->blue)/scale_from_short; ScaleQuantumToShort 2266 coders/jpeg.c *q++=(JSAMPLE) (ScaleQuantumToShort(GetGraySample(p))/16U); ScaleQuantumToShort 2274 coders/jpeg.c *q++=(JSAMPLE) (ScaleQuantumToShort(PixelIntensityToQuantum(p))/16U); ScaleQuantumToShort 2301 coders/jpeg.c *q++=(JSAMPLE) (ScaleQuantumToShort(p->red)/16); ScaleQuantumToShort 2302 coders/jpeg.c *q++=(JSAMPLE) (ScaleQuantumToShort(p->green)/16); ScaleQuantumToShort 2303 coders/jpeg.c *q++=(JSAMPLE) (ScaleQuantumToShort(p->blue)/16); ScaleQuantumToShort 2330 coders/jpeg.c *q++=(JSAMPLE) (4095-ScaleQuantumToShort(p->red)/16); ScaleQuantumToShort 2331 coders/jpeg.c *q++=(JSAMPLE) (4095-ScaleQuantumToShort(p->green)/16); ScaleQuantumToShort 2332 coders/jpeg.c *q++=(JSAMPLE) (4095-ScaleQuantumToShort(p->blue)/16); ScaleQuantumToShort 2333 coders/jpeg.c *q++=(JSAMPLE) (4095-ScaleQuantumToShort(p->opacity)/16); ScaleQuantumToShort 1701 coders/miff.c value=ScaleQuantumToShort(pixel->red); ScaleQuantumToShort 1704 coders/miff.c value=ScaleQuantumToShort(pixel->green); ScaleQuantumToShort 1707 coders/miff.c value=ScaleQuantumToShort(pixel->blue); ScaleQuantumToShort 1712 coders/miff.c value=ScaleQuantumToShort(pixel->opacity); ScaleQuantumToShort 1717 coders/miff.c value=ScaleQuantumToShort(index); ScaleQuantumToShort 1725 coders/miff.c value=ScaleQuantumToShort(pixel->opacity); ScaleQuantumToShort 2182 coders/miff.c *q++=ScaleQuantumToShort(image->colormap[i].red) >> 8; ScaleQuantumToShort 2183 coders/miff.c *q++=ScaleQuantumToShort(image->colormap[i].red); ScaleQuantumToShort 2184 coders/miff.c *q++=ScaleQuantumToShort(image->colormap[i].green) >> 8; ScaleQuantumToShort 2185 coders/miff.c *q++=ScaleQuantumToShort(image->colormap[i].green); ScaleQuantumToShort 2186 coders/miff.c *q++=ScaleQuantumToShort(image->colormap[i].blue) >> 8; ScaleQuantumToShort 2187 coders/miff.c *q++=ScaleQuantumToShort(image->colormap[i].blue); ScaleQuantumToShort 1754 coders/pict.c ScaleQuantumToShort(image->colormap[i].red)); ScaleQuantumToShort 1756 coders/pict.c ScaleQuantumToShort(image->colormap[i].green)); ScaleQuantumToShort 1758 coders/pict.c ScaleQuantumToShort(image->colormap[i].blue)); ScaleQuantumToShort 5063 coders/png.c q->red=ScaleQuantumToShort(q->red); ScaleQuantumToShort 5064 coders/png.c q->green=ScaleQuantumToShort(q->green); ScaleQuantumToShort 5065 coders/png.c q->blue=ScaleQuantumToShort(q->blue); ScaleQuantumToShort 5066 coders/png.c q->opacity=ScaleQuantumToShort(q->opacity); ScaleQuantumToShort 6659 coders/png.c ping_info->trans_color.red=ScaleQuantumToShort(p->red)&mask; ScaleQuantumToShort 6660 coders/png.c ping_info->trans_color.green=ScaleQuantumToShort(p->green) ScaleQuantumToShort 6662 coders/png.c ping_info->trans_color.blue=ScaleQuantumToShort(p->blue) ScaleQuantumToShort 6665 coders/png.c (png_uint_16) ScaleQuantumToShort(PixelIntensity(p))&mask; ScaleQuantumToShort 8955 coders/png.c red=ScaleQuantumToShort(image->background_color.red); ScaleQuantumToShort 8956 coders/png.c green=ScaleQuantumToShort(image->background_color.green); ScaleQuantumToShort 8957 coders/png.c blue=ScaleQuantumToShort(image->background_color.blue); ScaleQuantumToShort 1279 coders/pnm.c FormatString(buffer," %u",ScaleQuantumToShort(index)); ScaleQuantumToShort 1321 coders/pnm.c FormatString(buffer,"%u %u %u ",ScaleQuantumToShort(p->red), ScaleQuantumToShort 1322 coders/pnm.c ScaleQuantumToShort(p->green),ScaleQuantumToShort(p->blue)); ScaleQuantumToShort 1158 coders/psd.c pixel=ScaleQuantumToShort(ReadBlobMSBShort(layer_info[i].image)); ScaleQuantumToShort 4403 coders/tiff.c red[i]=ScaleQuantumToShort(image->colormap[i].red); ScaleQuantumToShort 4404 coders/tiff.c green[i]=ScaleQuantumToShort(image->colormap[i].green); ScaleQuantumToShort 4405 coders/tiff.c blue[i]=ScaleQuantumToShort(image->colormap[i].blue); ScaleQuantumToShort 684 coders/xwd.c colors[i].red=ScaleQuantumToShort(image->colormap[i].red); ScaleQuantumToShort 685 coders/xwd.c colors[i].green=ScaleQuantumToShort(image->colormap[i].green); ScaleQuantumToShort 686 coders/xwd.c colors[i].blue=ScaleQuantumToShort(image->colormap[i].blue); ScaleQuantumToShort 1794 magick/annotate.c pixel.pen_color.red=ScaleQuantumToShort(draw_info->fill.red); ScaleQuantumToShort 1795 magick/annotate.c pixel.pen_color.green=ScaleQuantumToShort(draw_info->fill.green); ScaleQuantumToShort 1796 magick/annotate.c pixel.pen_color.blue=ScaleQuantumToShort(draw_info->fill.blue); ScaleQuantumToShort 545 magick/color.c ScaleQuantumToShort(color->red),ScaleQuantumToShort(color->green), ScaleQuantumToShort 546 magick/color.c ScaleQuantumToShort(color->blue), ScaleQuantumToShort 547 magick/color.c ScaleQuantumToShort(color->opacity)); ScaleQuantumToShort 566 magick/color.c ScaleQuantumToShort(color->red),ScaleQuantumToShort(color->green), ScaleQuantumToShort 567 magick/color.c ScaleQuantumToShort(color->blue)); ScaleQuantumToShort 1190 magick/colorspace.c pixels[i].red = linearmap[ScaleQuantumToShort(pixels[i].red)/64U]; ScaleQuantumToShort 1191 magick/colorspace.c pixels[i].green = linearmap[ScaleQuantumToShort(pixels[i].green)/64U]; ScaleQuantumToShort 1192 magick/colorspace.c pixels[i].blue = linearmap[ScaleQuantumToShort(pixels[i].blue)/64U]; ScaleQuantumToShort 2288 magick/constitute.c *q++=ScaleQuantumToShort(quantum); ScaleQuantumToShort 2722 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(MaxRGB-GetOpacitySample(p))); ScaleQuantumToShort 2913 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(MaxRGB-GetGraySample(p))); ScaleQuantumToShort 2921 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetGraySample(p))); ScaleQuantumToShort 2932 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(MaxRGB-PixelIntensityToQuantum(p))); ScaleQuantumToShort 2940 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(PixelIntensityToQuantum(p))); ScaleQuantumToShort 3198 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(MaxRGB-GetRedSample(p))); ScaleQuantumToShort 3199 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(MaxRGB-GetOpacitySample(p))); ScaleQuantumToShort 3207 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetRedSample(p))); ScaleQuantumToShort 3208 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(MaxRGB-GetOpacitySample(p))); ScaleQuantumToShort 3219 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(MaxRGB-PixelIntensityToQuantum(p))); ScaleQuantumToShort 3220 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(MaxRGB-GetOpacitySample(p))); ScaleQuantumToShort 3228 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(PixelIntensityToQuantum(p))); ScaleQuantumToShort 3229 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(MaxRGB-GetOpacitySample(p))); ScaleQuantumToShort 3467 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetRedSample(p))); ScaleQuantumToShort 3603 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetGreenSample(p))); ScaleQuantumToShort 3739 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetBlueSample(p))); ScaleQuantumToShort 3873 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(MaxRGB-*indexes)); ScaleQuantumToShort 4004 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(MaxRGB-GetOpacitySample(p))); ScaleQuantumToShort 4136 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetBlackSample(p))); ScaleQuantumToShort 4271 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetRedSample(p))); ScaleQuantumToShort 4272 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetGreenSample(p))); ScaleQuantumToShort 4273 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetBlueSample(p))); ScaleQuantumToShort 4423 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetRedSample(p))); ScaleQuantumToShort 4424 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetGreenSample(p))); ScaleQuantumToShort 4425 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetBlueSample(p))); ScaleQuantumToShort 4426 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(MaxRGB-GetOpacitySample(p))); ScaleQuantumToShort 4588 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetCyanSample(p))); ScaleQuantumToShort 4589 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetMagentaSample(p))); ScaleQuantumToShort 4590 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetYellowSample(p))); ScaleQuantumToShort 4591 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetBlackSample(p))); ScaleQuantumToShort 4752 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetCyanSample(p))); ScaleQuantumToShort 4753 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetMagentaSample(p))); ScaleQuantumToShort 4754 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetYellowSample(p))); ScaleQuantumToShort 4755 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(GetBlackSample(p))); ScaleQuantumToShort 4756 magick/constitute.c ExportUInt16Quantum(endian,q,ScaleQuantumToShort(MaxRGB-*indexes)); ScaleQuantumToShort 2221 magick/effect.c index=ScaleQuantumToShort(quantum); ScaleQuantumToShort 525 magick/profile.c alpha.red=ScaleQuantumToShort(pixels[i].red); ScaleQuantumToShort 528 magick/profile.c alpha.green=ScaleQuantumToShort(pixels[i].green); ScaleQuantumToShort 529 magick/profile.c alpha.blue=ScaleQuantumToShort(pixels[i].blue); ScaleQuantumToShort 531 magick/profile.c alpha.black=ScaleQuantumToShort(pixels[i].opacity); ScaleQuantumToShort 85 magick/xwindow.c ((ScaleQuantumToShort(MagickXRedGamma((color)->red))*map->red_max/65535L)* \ ScaleQuantumToShort 87 magick/xwindow.c ((ScaleQuantumToShort(MagickXGreenGamma((color)->green))*map->green_max/65535L)* \ ScaleQuantumToShort 89 magick/xwindow.c ((ScaleQuantumToShort(MagickXBlueGamma((color)->blue))*map->blue_max/65535L)* \ ScaleQuantumToShort 3152 magick/xwindow.c pixel->matte_color.red*ScaleQuantumToShort(HighlightModulate))/65535L+ ScaleQuantumToShort 3153 magick/xwindow.c (ScaleQuantumToShort((double) MaxRGB-HighlightModulate))); ScaleQuantumToShort 3155 magick/xwindow.c pixel->matte_color.green*ScaleQuantumToShort(HighlightModulate))/65535L+ ScaleQuantumToShort 3156 magick/xwindow.c (ScaleQuantumToShort((double) MaxRGB-HighlightModulate))); ScaleQuantumToShort 3158 magick/xwindow.c pixel->matte_color.blue*ScaleQuantumToShort(HighlightModulate))/65535L+ ScaleQuantumToShort 3159 magick/xwindow.c (ScaleQuantumToShort((double) MaxRGB-HighlightModulate))); ScaleQuantumToShort 3166 magick/xwindow.c pixel->matte_color.red*ScaleQuantumToShort(ShadowModulate))/65535L); ScaleQuantumToShort 3168 magick/xwindow.c pixel->matte_color.green*ScaleQuantumToShort(ShadowModulate))/65535L); ScaleQuantumToShort 3170 magick/xwindow.c pixel->matte_color.blue*ScaleQuantumToShort(ShadowModulate))/65535L); ScaleQuantumToShort 3177 magick/xwindow.c pixel->matte_color.red*ScaleQuantumToShort(DepthModulate))/65535L); ScaleQuantumToShort 3179 magick/xwindow.c pixel->matte_color.green*ScaleQuantumToShort(DepthModulate))/65535L); ScaleQuantumToShort 3181 magick/xwindow.c pixel->matte_color.blue*ScaleQuantumToShort(DepthModulate))/65535L); ScaleQuantumToShort 3188 magick/xwindow.c pixel->matte_color.red*ScaleQuantumToShort(TroughModulate))/65535L); ScaleQuantumToShort 3190 magick/xwindow.c pixel->matte_color.green*ScaleQuantumToShort(TroughModulate))/65535L); ScaleQuantumToShort 3192 magick/xwindow.c pixel->matte_color.blue*ScaleQuantumToShort(TroughModulate))/65535L); ScaleQuantumToShort 7856 magick/xwindow.c color.red=ScaleQuantumToShort(MagickXRedGamma(image->colormap[i].red)); ScaleQuantumToShort 7857 magick/xwindow.c color.green=ScaleQuantumToShort(MagickXGreenGamma(image->colormap[i].green)); ScaleQuantumToShort 7858 magick/xwindow.c color.blue=ScaleQuantumToShort(MagickXBlueGamma(image->colormap[i].blue)); ScaleQuantumToShort 7974 magick/xwindow.c ScaleQuantumToShort(MagickXRedGamma(image->colormap[colormap_index].red)); ScaleQuantumToShort 7976 magick/xwindow.c ScaleQuantumToShort(MagickXGreenGamma(image->colormap[colormap_index].green)); ScaleQuantumToShort 7978 magick/xwindow.c ScaleQuantumToShort(MagickXBlueGamma(image->colormap[colormap_index].blue)); ScaleQuantumToShort 8012 magick/xwindow.c ScaleQuantumToShort(MagickXRedGamma(image->colormap[colormap_index].red)); ScaleQuantumToShort 8014 magick/xwindow.c ScaleQuantumToShort(MagickXGreenGamma(image->colormap[colormap_index].green)); ScaleQuantumToShort 8016 magick/xwindow.c ScaleQuantumToShort(MagickXBlueGamma(image->colormap[colormap_index].blue)); ScaleQuantumToShort 8099 magick/xwindow.c color.red=ScaleQuantumToShort(MagickXRedGamma(image->colormap[i].red)); ScaleQuantumToShort 8100 magick/xwindow.c color.green=ScaleQuantumToShort(MagickXGreenGamma(image->colormap[i].green)); ScaleQuantumToShort 8101 magick/xwindow.c color.blue=ScaleQuantumToShort(MagickXBlueGamma(image->colormap[i].blue));