/external/skia/bench/ |
CodecBenchPriv.h | 37 return "Unpremul";
|
PremulAndUnpremulAlphaOpsBench.cpp | 50 // Unpremul -> Premul 52 // Premul -> Unpremul
|
/external/skia/src/core/ |
SkPM4f.h | 27 SkColor4f unpremul() const;
|
SkLight.h | 50 SkColor3f fColor; // linear (unpremul) color. Range is 0..1 in each channel.
|
SkLightingShader.h | 73 @param ambient the linear (unpremul) ambient light color. Range is 0..1/channel.
|
SkOpts.h | 54 // Swizzle input into some sort of 8888 pixel, {premul,unpremul} x {rgba,bgra}.
|
SkColorMatrixFilterRowMajor255.cpp | 72 static Sk4f unpremul(const Sk4f& x) { function 108 srcf = unpremul(srcf); 272 // The max() is to guard against 0 / 0 during unpremul when the incoming color is
|
SkColor.cpp | 116 SkColor4f SkPM4f::unpremul() const { function in class:SkPM4f
|
SkColorFilter.cpp | 60 return dst.unpremul();
|
SkConfig8888.cpp | 28 // we can perform premul or unpremul the same way without knowing the swizzles for RGB.
|
/external/skia/src/images/ |
SkScaledBitmapSampler.cpp | 30 // Dither, unpremul, and skipZeroes have no effect 47 // Dither, unpremul, and skipZeroes have no effect 102 // For now, just return unpremul. 139 // Unpremul and skip zeroes make no difference 172 // Unpremul and skip zeroes make no difference 194 // Unpremul, dither, and skip zeroes have no effect 227 // Skip zeroes and unpremul make no difference 261 // Skip zeroes and unpremul make no difference 516 // Unpremul not allowed 549 // Unpremul not allowe [all...] |
/external/skia/src/codec/ |
SkPngCodec.h | 57 SkAutoTUnref<SkColorTable> fColorTable; // May be unpremul.
|
SkWebpCodec.cpp | 66 // Is unpremul the right type? Clients of SkCodec may assume it's the 67 // best type, when Skia currently cannot draw unpremul (and raster is faster
|
SkCodecPriv.h | 114 * - premul to unpremul and vice versa
|
/external/skia/src/gpu/ |
GrContext.cpp | 395 bool unpremul = SkToBool(kUnpremul_PixelOpsFlag & flags); local 396 if (unpremul && !GrPixelConfigIs8888(dstConfig)) { 397 // The unpremul flag is only allowed for 8888 configs. 404 if (unpremul && !this->didFailPMUPMConversionTest()) { 436 if (unpremul) { 440 unpremul = false; // we no longer need to do this on CPU after the read back. 442 // We only wanted to do the draw in order to perform the unpremul so don't 480 if (unpremul) {
|
SkGrPriv.h | 59 should expect an unpremul input color and produce a premultiplied output color. There is 79 unpremultiplied so that interpolation is done in unpremul space. The paint's alpha will be
|
/external/skia/resources/ |
slides_content.lua | 79 - Unpremul support
|
/external/skia/src/gpu/effects/ |
GrConstColorProcessor.cpp | 49 // illegal to use this processor with unpremul colors. So we correctly handle the case
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapFactoryTest.java | 508 Bitmap unpremul = BitmapFactory.decodeResource(mRes, R.drawable.premul_data, options); local 510 assertEquals(unpremul.getConfig(), Bitmap.Config.ARGB_8888); 511 assertTrue(premul.getHeight() == 1 && unpremul.getHeight() == 1); 512 assertTrue(premul.getWidth() == unpremul.getWidth() && 516 // verify pixel data - unpremul should have raw values, premul will have rounding errors 519 assertEquals(unpremul.getPixel(i, 0), RAW_COLORS[i]); [all...] |
/external/skia/src/image/ |
SkImage_Gpu.cpp | 125 // unpremul premul fix manually 126 // premul unpremul done by kUnpremul_PixelOpsFlag
|
/external/skia/include/effects/ |
SkGradientShader.h | 21 /** By default gradients will interpolate their colors in unpremul space
|
/external/skia/samplecode/ |
SampleUnpremul.cpp | 54 SampleCode::TitleR(evt, "unpremul");
|
/external/skia/include/gpu/ |
GrFragmentProcessor.h | 39 * the child processor's premul color by a unpremul'ed input and produces a premul output
|
/external/skia/tests/ |
SRGBReadWritePixelsTest.cpp | 139 // TODO: Add tests for copySurface between srgb/linear textures. Add tests for unpremul/premul
|
/external/skia/tools/json/ |
SkJSONCanvas.h | 161 #define SKJSONCANVAS_ALPHATYPE_UNPREMUL "unpremul"
|