Home
last modified time | relevance | path

Searched refs:ApplyScale (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/core/
DSkUnPreMultiply.cpp8 ApplyScale(scale, SkGetPackedR32(c)), in PMColorToColor()
9 ApplyScale(scale, SkGetPackedG32(c)), in PMColorToColor()
10 ApplyScale(scale, SkGetPackedB32(c))); in PMColorToColor()
/external/webkit/Source/WebCore/platform/image-encoders/skia/
DPNGImageEncoder.cpp58 *output++ = SkUnPreMultiply::ApplyScale(scale[alpha], SkGetPackedR32(*input)); in preMultipliedBGRAtoRGBA()
59 *output++ = SkUnPreMultiply::ApplyScale(scale[alpha], SkGetPackedG32(*input)); in preMultipliedBGRAtoRGBA()
60 *output++ = SkUnPreMultiply::ApplyScale(scale[alpha], SkGetPackedB32(*input)); in preMultipliedBGRAtoRGBA()
/external/skia/src/images/
DSkImageDecoder_libpng.cpp861 r = SkUnPreMultiply::ApplyScale(scale, r); in transform_scanline_8888()
862 g = SkUnPreMultiply::ApplyScale(scale, g); in transform_scanline_8888()
863 b = SkUnPreMultiply::ApplyScale(scale, b); in transform_scanline_8888()
887 r = SkUnPreMultiply::ApplyScale(scale, r); in transform_scanline_4444()
888 g = SkUnPreMultiply::ApplyScale(scale, g); in transform_scanline_4444()
889 b = SkUnPreMultiply::ApplyScale(scale, b); in transform_scanline_4444()
988 palette[i].red = SkUnPreMultiply::ApplyScale(s, SkGetPackedR32(c)); in pack_palette()
989 palette[i].green = SkUnPreMultiply::ApplyScale(s,SkGetPackedG32(c)); in pack_palette()
990 palette[i].blue = SkUnPreMultiply::ApplyScale(s, SkGetPackedB32(c)); in pack_palette()
/external/skia/include/core/
DSkUnPreMultiply.h52 static U8CPU ApplyScale(Scale scale, U8CPU component) { in ApplyScale() function
/external/skia/src/effects/
DSkColorMatrixFilter.cpp248 r = SkUnPreMultiply::ApplyScale(scale, r); in filterSpan()
249 g = SkUnPreMultiply::ApplyScale(scale, g); in filterSpan()
250 b = SkUnPreMultiply::ApplyScale(scale, b); in filterSpan()