Home
last modified time | relevance | path

Searched refs:background_color (Results 1 – 25 of 67) sorted by relevance

123

/external/ImageMagick/MagickCore/
Dcache-view.c723 background_color; in GetOneCacheViewAuthenticPixel() local
725 background_color=cache_view->image->background_color; in GetOneCacheViewAuthenticPixel()
726 pixel[RedPixelChannel]=ClampToQuantum(background_color.red); in GetOneCacheViewAuthenticPixel()
727 pixel[GreenPixelChannel]=ClampToQuantum(background_color.green); in GetOneCacheViewAuthenticPixel()
728 pixel[BluePixelChannel]=ClampToQuantum(background_color.blue); in GetOneCacheViewAuthenticPixel()
729 pixel[BlackPixelChannel]=ClampToQuantum(background_color.black); in GetOneCacheViewAuthenticPixel()
730 pixel[AlphaPixelChannel]=ClampToQuantum(background_color.alpha); in GetOneCacheViewAuthenticPixel()
796 background_color; in GetOneCacheViewVirtualPixel() local
798 background_color=cache_view->image->background_color; in GetOneCacheViewVirtualPixel()
799 pixel[RedPixelChannel]=ClampToQuantum(background_color.red); in GetOneCacheViewVirtualPixel()
[all …]
Dmontage.c132 clone_info->background_color=montage_info->background_color; in CloneMontageInfo()
234 montage_info->background_color=image_info->background_color; in GetMontageInfo()
525 clone_info->background_color=montage_info->background_color; in MontageImageList()
567 montage->background_color=montage_info->background_color; in MontageImageList()
814 &image->background_color,exception); in MontageImageList()
878 montage->background_color=montage_info->background_color; in MontageImageList()
Dchannel.c1092 SetPixelViaPixelInfo(image,&image->background_color,q); in SetImageAlphaChannel()
1243 FlattenPixelInfo(image,&image->background_color, in SetImageAlphaChannel()
1244 image->background_color.alpha,q,(double) GetPixelAlpha(image,q),q); in SetImageAlphaChannel()
1251 image->alpha_trait=image->background_color.alpha_trait; in SetImageAlphaChannel()
1270 (void) LevelImageColors(image,&image->background_color, in SetImageAlphaChannel()
1271 &image->background_color,MagickTrue,exception); in SetImageAlphaChannel()
Dmontage.h54 background_color, member
Dresample.c513 resample_filter->image->background_color.alpha); in ResamplePixelColor()
515 weight*resample_filter->image->background_color.red; in ResamplePixelColor()
517 weight*resample_filter->image->background_color.green; in ResamplePixelColor()
519 weight*resample_filter->image->background_color.blue; in ResamplePixelColor()
521 resample_filter->image->background_color.alpha; in ResamplePixelColor()
Dpixel-accessor.h648 ClampToQuantum(image->background_color.red); in SetPixelBackgoundColor()
650 ClampToQuantum(image->background_color.green); in SetPixelBackgoundColor()
652 ClampToQuantum(image->background_color.blue); in SetPixelBackgoundColor()
655 ClampToQuantum(image->background_color.black); in SetPixelBackgoundColor()
658 image->background_color.alpha_trait == UndefinedPixelTrait ? OpaqueAlpha : in SetPixelBackgoundColor()
659 ClampToQuantum(image->background_color.alpha); in SetPixelBackgoundColor()
Dimage.h181 background_color, /* current background color attribute */ member
425 background_color, /* user set background color */ member
Dshear.c550 image->background_color.red=(double) ClampToQuantum(QuantumRange* in GetImageBackgroundColor()
552 image->background_color.green=(double) ClampToQuantum(QuantumRange* in GetImageBackgroundColor()
554 image->background_color.blue=(double) ClampToQuantum(QuantumRange* in GetImageBackgroundColor()
557 image->background_color.alpha=(double) ClampToQuantum(QuantumRange* in GetImageBackgroundColor()
1153 background=image->background_color; in XShearImage()
1371 background=image->background_color; in YShearImage()
1612 integral_image->border_color=integral_image->background_color; in ShearImage()
1762 integral_image->border_color=integral_image->background_color; in ShearRotateImage()
Dxwindow-private.h203 background_color, member
245 *background_color, member
Dxwindow.c561 (ssize_t) y,&annotate_image->background_color,exception); in XAnnotateImage()
2459 (ssize_t) y,&draw_image->background_color,exception); in XDrawImage()
2483 SetPixelViaPixelInfo(draw_image,&draw_image->background_color,q); in XDrawImage()
3082 (void) XParseColor(display,colormap,"#d6d6d6d6d6d6",&pixel->background_color); in XGetPixelInfo()
3083 status=XParseColor(display,colormap,resource_info->background_color, in XGetPixelInfo()
3084 &pixel->background_color); in XGetPixelInfo()
3087 resource_info->background_color); in XGetPixelInfo()
3088 pixel->background_color.pixel= in XGetPixelInfo()
3089 XStandardPixel(map_info,&pixel->background_color); in XGetPixelInfo()
3090 pixel->background_color.flags=(char) (DoRed | DoGreen | DoBlue); in XGetPixelInfo()
[all …]
Dstream.c460 pixel[RedPixelChannel]=ClampToQuantum(image->background_color.red); in GetOneAuthenticPixelFromStream()
461 pixel[GreenPixelChannel]=ClampToQuantum(image->background_color.green); in GetOneAuthenticPixelFromStream()
462 pixel[BluePixelChannel]=ClampToQuantum(image->background_color.blue); in GetOneAuthenticPixelFromStream()
463 pixel[BlackPixelChannel]=ClampToQuantum(image->background_color.black); in GetOneAuthenticPixelFromStream()
464 pixel[AlphaPixelChannel]=ClampToQuantum(image->background_color.alpha); in GetOneAuthenticPixelFromStream()
524 pixel[RedPixelChannel]=ClampToQuantum(image->background_color.red); in GetOneVirtualPixelFromStream()
525 pixel[GreenPixelChannel]=ClampToQuantum(image->background_color.green); in GetOneVirtualPixelFromStream()
526 pixel[BluePixelChannel]=ClampToQuantum(image->background_color.blue); in GetOneVirtualPixelFromStream()
527 pixel[BlackPixelChannel]=ClampToQuantum(image->background_color.black); in GetOneVirtualPixelFromStream()
528 pixel[AlphaPixelChannel]=ClampToQuantum(image->background_color.alpha); in GetOneVirtualPixelFromStream()
Dlayer.c271 coalesce_image->background_color.alpha=(MagickRealType) TransparentAlpha; in CoalesceImages()
408 dispose_image->background_color.alpha=(MagickRealType) TransparentAlpha; in DisposeImages()
787 image_a->background_color.alpha=(MagickRealType) TransparentAlpha; in CompareImagesLayers()
1002 prev_image->background_color.alpha_trait=BlendPixelTrait; in OptimizeLayerFrames()
1003 prev_image->background_color.alpha=(MagickRealType) TransparentAlpha; in OptimizeLayerFrames()
1486 dispose_image->background_color.alpha_trait=BlendPixelTrait; in OptimizeImageTransparency()
1487 dispose_image->background_color.alpha=(MagickRealType) TransparentAlpha; in OptimizeImageTransparency()
/external/mesa3d/src/gallium/state_trackers/vdpau/
Dpresentation.c119 VdpColor *const background_color) in vlVdpPresentationQueueSetBackgroundColor() argument
124 if (!background_color) in vlVdpPresentationQueueSetBackgroundColor()
131 color.f[0] = background_color->red; in vlVdpPresentationQueueSetBackgroundColor()
132 color.f[1] = background_color->green; in vlVdpPresentationQueueSetBackgroundColor()
133 color.f[2] = background_color->blue; in vlVdpPresentationQueueSetBackgroundColor()
134 color.f[3] = background_color->alpha; in vlVdpPresentationQueueSetBackgroundColor()
148 VdpColor *const background_color) in vlVdpPresentationQueueGetBackgroundColor() argument
153 if (!background_color) in vlVdpPresentationQueueGetBackgroundColor()
164 background_color->red = color.f[0]; in vlVdpPresentationQueueGetBackgroundColor()
165 background_color->green = color.f[1]; in vlVdpPresentationQueueGetBackgroundColor()
[all …]
Dmixer.c785 const VdpColor *background_color; in vlVdpVideoMixerSetAttributeValues() local
803 background_color = attribute_values[i]; in vlVdpVideoMixerSetAttributeValues()
804 color.f[0] = background_color->red; in vlVdpVideoMixerSetAttributeValues()
805 color.f[1] = background_color->green; in vlVdpVideoMixerSetAttributeValues()
806 color.f[2] = background_color->blue; in vlVdpVideoMixerSetAttributeValues()
807 color.f[3] = background_color->alpha; in vlVdpVideoMixerSetAttributeValues()
/external/libpng/contrib/libtests/
Dpngstest.c2033 Background background_color; member
2156 result->background = &result->background_color; in transform_from_formats()
2162 result->background_color.ir = in transform_from_formats()
2163 result->background_color.ig = in transform_from_formats()
2164 result->background_color.ib = 0; in transform_from_formats()
2165 result->background_color.dr = in transform_from_formats()
2166 result->background_color.dg = in transform_from_formats()
2167 result->background_color.db = 0; in transform_from_formats()
2172 result->background_color.ir = in transform_from_formats()
2173 result->background_color.ig = in transform_from_formats()
[all …]
/external/ImageMagick/coders/
Dttf.c193 background_color; in ReadTTFImage() local
234 background_color=image_info->background_color; in ReadTTFImage()
242 SetPixelViaPixelInfo(image,&background_color,q); in ReadTTFImage()
Demf.c609 pBits->rgbRed=ScaleQuantumToChar(image->background_color.red); in ReadEMFImage()
610 pBits->rgbGreen=ScaleQuantumToChar(image->background_color.green); in ReadEMFImage()
611 pBits->rgbBlue=ScaleQuantumToChar(image->background_color.blue); in ReadEMFImage()
778 image->background_color.alpha),(BYTE) ScaleQuantumToChar( in ReadEMFImage()
779 image->background_color.red),(BYTE) ScaleQuantumToChar( in ReadEMFImage()
780 image->background_color.green),(BYTE) ScaleQuantumToChar( in ReadEMFImage()
781 image->background_color.blue))); in ReadEMFImage()
Drle.c194 background_color[256], in ReadRLEImage() local
257 background_color[i]=0; in ReadRLEImage()
265 p=background_color; in ReadRLEImage()
375 *p++=background_color[j]; in ReadRLEImage()
379 *p++=background_color[j]; in ReadRLEImage()
Dpng.c879 QuantumToCharToQuantumEqQuantum(image->background_color.red) && in LosslessReduceDepthOK()
880 QuantumToCharToQuantumEqQuantum(image->background_color.green) && in LosslessReduceDepthOK()
881 QuantumToCharToQuantumEqQuantum(image->background_color.blue) ? in LosslessReduceDepthOK()
3044 image->background_color=mng_info->mng_global_bkgd; in ReadOnePNGImage()
3086 image->background_color.red= in ReadOnePNGImage()
3089 image->background_color.green= in ReadOnePNGImage()
3092 image->background_color.blue= in ReadOnePNGImage()
3095 image->background_color.alpha=OpaqueAlpha; in ReadOnePNGImage()
3100 (double) image->background_color.red, in ReadOnePNGImage()
3101 (double) image->background_color.green, in ReadOnePNGImage()
[all …]
Dfpx.c750 background_color; in WriteFPXImage() local
848 background_color.color1_value=0; in WriteFPXImage()
849 background_color.color2_value=0; in WriteFPXImage()
850 background_color.color3_value=0; in WriteFPXImage()
851 background_color.color4_value=0; in WriteFPXImage()
867 image->rows,tile_width,tile_height,colorspace,background_color, in WriteFPXImage()
Dwmf.c701 !(IsPixelInfoEquivalent(&ddata->image_info->background_color,&white)) || in ipa_bmp_draw()
702 ddata->image_info->background_color.alpha != OpaqueAlpha ) in ipa_bmp_draw()
863 *background_color; in ipa_device_begin() local
866 background_color=NewPixelWand(); in ipa_device_begin()
867 PixelSetPixelColor(background_color,&ddata->image->background_color); in ipa_device_begin()
868 DrawSetFillColor(WmfDrawingWand,background_color); in ipa_device_begin()
869 background_color=DestroyPixelWand(background_color); in ipa_device_begin()
2878 image->background_color = image_info->background_color; in ReadWMFImage()
2879 if (image->background_color.alpha != OpaqueAlpha) in ReadWMFImage()
Dxc.c133 pixel=image->background_color; in ReadXCImage()
Dnull.c136 ConformPixelInfo(image,&image->background_color,&background,exception); in ReadNULLImage()
Dexr.c266 SetPixelViaPixelInfo(image,&image->background_color,q); in ReadEXRImage()
282 SetPixelViaPixelInfo(image,&image->background_color,q); in ReadEXRImage()
/external/ImageMagick/MagickWand/
Dmagick-property.c233 *background_color; in MagickGetBackgroundColor() local
240 background_color=NewPixelWand(); in MagickGetBackgroundColor()
241 PixelSetPixelColor(background_color,&wand->image_info->background_color); in MagickGetBackgroundColor()
242 return(background_color); in MagickGetBackgroundColor()
1891 PixelGetQuantumPacket(background,&wand->image_info->background_color); in MagickSetBackgroundColor()

123