HomeSort by relevance Sort by last modified time
    Searched full:premul (Results 1 - 25 of 47) sorted by null

1 2

  /external/skia/src/effects/gradients/
Sk4fLinearGradient.h 28 template <typename DstType, bool premul>
31 template <typename DstType, bool premul, SkShader::TileMode tileMode>
34 template <typename DstType, bool premul, SkShader::TileMode tileMode>
Sk4fGradientBase.cpp 14 SkPMColor pack_color(SkColor c, bool premul) {
15 return premul
  /external/skia/bench/
CodecBenchPriv.h 35 return "Premul";
PremulAndUnpremulAlphaOpsBench.cpp 50 // Unpremul -> Premul
52 // Premul -> Unpremul
  /external/skia/tests/
SkColor4fTest.cpp 58 // First just test opaque colors, so that the premul should be exact
62 SkPM4f pm4 = c4.premul();
68 // We compare with a tolerance, in case our premul multiply is implemented at slightly
71 pm4 = c4.premul();
217 SkPM4f s_pm4f = SkColor4f::FromColor(s32).premul();
220 SkPM4f d_pm4f = SkColor4f::FromColor(d32).premul();
BlendTest.cpp 77 // No matter what xfermode we use, premul inputs should create premul outputs.
95 ERRORF(r, "%08x is not premul using %s", dst, SkXfermode::ModeName(mode));
Float16Test.cpp 48 SkPM4f origpm4 = c4.premul();
WritePixelsTest.cpp 135 static uint32_t premul(uint32_t color) { function
149 color = premul(color);
227 "Write performed premul: %d", cx, cy, bmpPMColor, canvasPixel, mul);
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
Affine2Test.java 99 afn1.idt().preMul(afn2.setToShearing(shear)).preMul(afn2.setToTranslation(trn)).preMul(afn2.setToRotation(rot))
100 .preMul(afn2.setToScaling(scl));
  /external/skia/include/gpu/effects/
GrXfermodeFragmentProcessor.h 28 input's alpha is applied to the blended color to produce a premul output. */
  /external/skia/src/core/
SkOpts.h 54 // Swizzle input into some sort of 8888 pixel, {premul,unpremul} x {rgba,bgra}.
SkColorMatrixFilterRowMajor255.cpp 68 static Sk4f premul(const Sk4f& x) { function
97 T matrix_translate_pmcolor = Adaptor::From4f(premul(clamp_0_1(c4)));
119 dst[i] = Adaptor::From4f(premul(clamp_0_1(dst4)));
SkColor.cpp 169 SkPM4f SkColor4f::premul() const { function in class:SkColor4f
SkColorFilter.cpp 58 SkPM4f dst, src = c.premul();
  /external/skia/gm/
SkLinearBitmapPipelineGM.cpp 19 static void fill_in_bits(SkBitmap& bm, SkIRect ir, SkColor c, bool premul) {
26 if (premul) {
  /external/skia/src/image/
SkImage_Gpu.cpp 125 // unpremul premul fix manually
126 // premul unpremul done by kUnpremul_PixelOpsFlag
298 // No way to check whether a image is premul or not?
  /cts/tests/tests/graphics/src/android/graphics/cts/
ColorMatrixColorFilterTest.java 73 // the bitmap stores the result in premul colors and we read out an
BitmapFactoryTest.java 506 Bitmap premul = BitmapFactory.decodeResource(mRes, R.drawable.premul_data, options); local
509 assertEquals(premul.getConfig(), Bitmap.Config.ARGB_8888);
511 assertTrue(premul.getHeight() == 1 && unpremul.getHeight() == 1);
512 assertTrue(premul.getWidth() == unpremul.getWidth() &&
514 premul.getWidth() == DEPREMUL_COLORS.length);
516 // verify pixel data - unpremul should have raw values, premul will have rounding errors
517 for (int i = 0; i < premul.getWidth(); i++) {
518 assertEquals(premul.getPixel(i, 0), DEPREMUL_COLORS[i]);
    [all...]
  /external/skia/src/opts/
Sk4px_SSE2.h 75 // We exploit that A >= rgb for any premul pixel.
  /external/skia/include/core/
SkImageInfo.h 192 * Sets colortype to the native ARGB32 type, and the alphatype to premul.
200 * Sets colortype to the native ARGB32 type, and the alphatype to premul.
SkColor.h 191 SkPM4f premul() const;
  /external/skia/include/gpu/
GrFragmentProcessor.h 39 * the child processor's premul color by a unpremul'ed input and produces a premul output
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
BitmapTest.java 173 int premul = Math.round(alpha * comp / 255.f); local
174 int unpre = Math.round(255.0f * premul / alpha);
  /external/skia/src/codec/
SkCodecPriv.h 114 * - premul to unpremul and vice versa
SkWebpCodec.cpp 68 // with premul).

Completed in 1137 milliseconds

1 2