/external/skia/src/images/ |
transform_scanline.h | 17 #include "SkUnPreMultiply.h" 89 const SkUnPreMultiply::Scale* SK_RESTRICT table = 90 SkUnPreMultiply::GetScaleTable(); 100 SkUnPreMultiply::Scale scale = table[a]; 101 r = SkUnPreMultiply::ApplyScale(scale, r); 102 g = SkUnPreMultiply::ApplyScale(scale, g); 103 b = SkUnPreMultiply::ApplyScale(scale, b); 119 const SkUnPreMultiply::Scale* SK_RESTRICT table = 120 SkUnPreMultiply::GetScaleTable(); 130 SkUnPreMultiply::Scale scale = table[a] [all...] |
SkImageDecoder_libpng.cpp | 819 #include "SkUnPreMultiply.h" [all...] |
/external/skia/include/core/ |
SkUnPreMultiply.h | 18 class SK_API SkUnPreMultiply { 34 const Scale* table = SkUnPreMultiply::GetScaleTable(); 38 SkUnPreMultiply::Scale scale = table[a]; 40 red = SkUnPreMultiply::ApplyScale(scale, red);
|
/external/skia/legacy/include/core/ |
SkUnPreMultiply.h | 18 class SK_API SkUnPreMultiply { 34 const Scale* table = SkUnPreMultiply::GetScaleTable(); 38 SkUnPreMultiply::Scale scale = table[a]; 40 red = SkUnPreMultiply::ApplyScale(scale, red);
|
/external/webkit/Source/WebCore/platform/image-encoders/skia/ |
PNGImageEncoder.cpp | 38 #include "SkUnPreMultiply.h" 52 static const SkUnPreMultiply::Scale* scale = SkUnPreMultiply::GetScaleTable(); 58 *output++ = SkUnPreMultiply::ApplyScale(scale[alpha], SkGetPackedR32(*input)); 59 *output++ = SkUnPreMultiply::ApplyScale(scale[alpha], SkGetPackedG32(*input)); 60 *output++ = SkUnPreMultiply::ApplyScale(scale[alpha], SkGetPackedB32(*input));
|
/external/skia/legacy/src/effects/ |
SkArithmeticMode.cpp | 3 #include "SkUnPreMultiply.h" 86 SkUnPreMultiply::Scale scale = SkUnPreMultiply::GetScale(sa); 87 sr = SkUnPreMultiply::ApplyScale(scale, sr); 88 sg = SkUnPreMultiply::ApplyScale(scale, sg); 89 sb = SkUnPreMultiply::ApplyScale(scale, sb); 96 SkUnPreMultiply::Scale scale = SkUnPreMultiply::GetScale(da); 97 dr = SkUnPreMultiply::ApplyScale(scale, dr); 98 dg = SkUnPreMultiply::ApplyScale(scale, dg) [all...] |
SkTableColorFilter.cpp | 3 #include "SkUnPreMultiply.h" 118 const SkUnPreMultiply::Scale* scaleTable = SkUnPreMultiply::GetScaleTable(); 131 SkUnPreMultiply::Scale scale = scaleTable[a]; 132 r = SkUnPreMultiply::ApplyScale(scale, r); 133 g = SkUnPreMultiply::ApplyScale(scale, g); 134 b = SkUnPreMultiply::ApplyScale(scale, b);
|
SkColorMatrixFilter.cpp | 11 #include "SkUnPreMultiply.h" 244 const SkUnPreMultiply::Scale* table = SkUnPreMultiply::GetScaleTable(); 256 SkUnPreMultiply::Scale scale = table[a]; 257 r = SkUnPreMultiply::ApplyScale(scale, r); 258 g = SkUnPreMultiply::ApplyScale(scale, g); 259 b = SkUnPreMultiply::ApplyScale(scale, b);
|
SkLayerDrawLooper.cpp | 12 #include "SkUnPreMultiply.h" 70 return SkUnPreMultiply::PMColorToColor(result);
|
/external/skia/src/effects/ |
SkArithmeticMode.cpp | 11 #include "SkUnPreMultiply.h" 90 SkUnPreMultiply::Scale scale = SkUnPreMultiply::GetScale(sa); 91 sr = SkUnPreMultiply::ApplyScale(scale, sr); 92 sg = SkUnPreMultiply::ApplyScale(scale, sg); 93 sb = SkUnPreMultiply::ApplyScale(scale, sb); 100 SkUnPreMultiply::Scale scale = SkUnPreMultiply::GetScale(da); 101 dr = SkUnPreMultiply::ApplyScale(scale, dr); 102 dg = SkUnPreMultiply::ApplyScale(scale, dg) [all...] |
SkDisplacementMapEffect.cpp | 10 #include "SkUnPreMultiply.h" 23 uint32_t getValue(SkColor, const SkUnPreMultiply::Scale*) { 29 SkColor l, const SkUnPreMultiply::Scale* table) { 30 return SkUnPreMultiply::ApplyScale(table[SkGetPackedA32(l)], SkGetPackedR32(l)); 34 SkColor l, const SkUnPreMultiply::Scale* table) { 35 return SkUnPreMultiply::ApplyScale(table[SkGetPackedA32(l)], SkGetPackedG32(l)); 39 SkColor l, const SkUnPreMultiply::Scale* table) { 40 return SkUnPreMultiply::ApplyScale(table[SkGetPackedA32(l)], SkGetPackedB32(l)); 44 SkColor l, const SkUnPreMultiply::Scale*) { 60 const SkUnPreMultiply::Scale* table = SkUnPreMultiply::GetScaleTable() [all...] |
SkTableColorFilter.cpp | 6 #include "SkUnPreMultiply.h" 127 const SkUnPreMultiply::Scale* scaleTable = SkUnPreMultiply::GetScaleTable(); 140 SkUnPreMultiply::Scale scale = scaleTable[a]; 141 r = SkUnPreMultiply::ApplyScale(scale, r); 142 g = SkUnPreMultiply::ApplyScale(scale, g); 143 b = SkUnPreMultiply::ApplyScale(scale, b);
|
SkColorMatrixFilter.cpp | 12 #include "SkUnPreMultiply.h" 232 const SkUnPreMultiply::Scale* table = SkUnPreMultiply::GetScaleTable(); 244 SkUnPreMultiply::Scale scale = table[a]; 245 r = SkUnPreMultiply::ApplyScale(scale, r); 246 g = SkUnPreMultiply::ApplyScale(scale, g); 247 b = SkUnPreMultiply::ApplyScale(scale, b);
|
/external/skia/legacy/src/images/ |
SkImageDecoder_libpng.cpp | 813 #include "SkUnPreMultiply.h" 861 const SkUnPreMultiply::Scale* SK_RESTRICT table = 862 SkUnPreMultiply::GetScaleTable(); 872 SkUnPreMultiply::Scale scale = table[a]; 873 r = SkUnPreMultiply::ApplyScale(scale, r); 874 g = SkUnPreMultiply::ApplyScale(scale, g); 875 b = SkUnPreMultiply::ApplyScale(scale, b); 887 const SkUnPreMultiply::Scale* SK_RESTRICT table = 888 SkUnPreMultiply::GetScaleTable(); 898 SkUnPreMultiply::Scale scale = table[a] [all...] |
/external/skia/legacy/src/core/ |
SkUnPreMultiply.cpp | 8 #include "SkUnPreMultiply.h" 11 SkColor SkUnPreMultiply::PMColorToColor(SkPMColor c) { 20 const uint32_t SkUnPreMultiply::gTable[] = {
|
SkColorFilter.cpp | 12 #include "SkUnPreMultiply.h" 38 return SkUnPreMultiply::PMColorToColor(dst);
|
SkBitmapProcShader.cpp | 240 #include "SkUnPreMultiply.h" 258 *color = SkUnPreMultiply::PMColorToColor(*bm.getAddr32(0, 0)); 264 *color = SkUnPreMultiply::PMColorToColor(bm.getIndex8Color(0, 0));
|
/external/skia/src/core/ |
SkUnPreMultiply.cpp | 8 #include "SkUnPreMultiply.h" 11 SkColor SkUnPreMultiply::PMColorToColor(SkPMColor c) { 20 const uint32_t SkUnPreMultiply::gTable[] = {
|
SkColorFilter.cpp | 12 #include "SkUnPreMultiply.h" 41 return SkUnPreMultiply::PMColorToColor(dst);
|
SkBitmapProcShader.cpp | 245 #include "SkUnPreMultiply.h" 263 *color = SkUnPreMultiply::PMColorToColor(*bm.getAddr32(0, 0)); 269 *color = SkUnPreMultiply::PMColorToColor(bm.getIndex8Color(0, 0));
|
/frameworks/base/core/jni/android/graphics/ |
NinePatchImpl.cpp | 28 #include "SkUnPreMultiply.h" 43 *c = SkUnPreMultiply::PMColorToColor(*bitmap.getAddr32(x, y)); 49 *c = SkUnPreMultiply::PMColorToColor( 54 *c = SkUnPreMultiply::PMColorToColor(
|
/external/skia/src/ports/ |
SkImageDecoder_WIC.cpp | 20 #include "SkUnPreMultiply.h" 220 *dst = SkUnPreMultiply::PMColorToColor(*src);
|
/external/skia/tests/ |
ColorTest.cpp | 13 #include "SkUnPreMultiply.h" 127 SkColor c1 = SkUnPreMultiply::PMColorToColor(p0);
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
ImageBufferAndroid.cpp | 44 #include "SkUnPreMultiply.h" 178 SkColor c = SkUnPreMultiply::PMColorToColor(srcRows[x]);
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
SkiaUtils.cpp | 41 #include "SkUnPreMultiply.h" 123 SkColor c = SkUnPreMultiply::PMColorToColor(pm);
|