HomeSort by relevance Sort by last modified time
    Searched refs:unpremul (Results 1 - 25 of 48) sorted by null

1 2

  /external/skia/tests/
SkColorSpaceXformStepsTest.cpp 21 unpremul = kUnpremul_SkAlphaType; local
27 bool unpremul; member in struct:__anon38385
37 true, // src is encoded as f(s)*a,a, so we unpremul to f(s),a before linearizing.
46 // If the src alpha type is unpremul, we'll not need that initial unpremul step.
47 { adobe, srgb, unpremul, premul, false,true,true,true,true },
48 { srgb, adobe, unpremul, premul, false,true,true,true,true },
50 // If opaque, we need neither the initial unpremul, nor the premul later.
57 true, // we need to linearize, so we need to unpremul
66 // As in the general case, when we change the alpha type unpremul and premul steps drop out
    [all...]
NonlinearBlendingTest.cpp 31 auto unpremul = skcms_AlphaFormat_Unpremul, local
35 skcms_Transform(&color, bgra, unpremul, &srgb_profile,
  /external/skqp/tests/
SkColorSpaceXformStepsTest.cpp 21 unpremul = kUnpremul_SkAlphaType; local
27 bool unpremul; member in struct:__anon39181
37 true, // src is encoded as f(s)*a,a, so we unpremul to f(s),a before linearizing.
46 // If the src alpha type is unpremul, we'll not need that initial unpremul step.
47 { adobe, srgb, unpremul, premul, false,true,true,true,true },
48 { srgb, adobe, unpremul, premul, false,true,true,true,true },
50 // If opaque, we need neither the initial unpremul, nor the premul later.
57 true, // we need to linearize, so we need to unpremul
66 // As in the general case, when we change the alpha type unpremul and premul steps drop out
    [all...]
NonlinearBlendingTest.cpp 31 auto unpremul = skcms_AlphaFormat_Unpremul, local
35 skcms_Transform(&color, bgra, unpremul, &srgb_profile,
  /external/skia/src/core/
SkColorSpaceXformSteps.h 18 bool unpremul = false; member in struct:SkColorSpaceXformSteps::Flags
25 return (unpremul ? 1 : 0)
SkColorSpaceXformSteps.cpp 33 this->flags.unpremul = srcAT == kPremul_SkAlphaType;
87 // Skip unpremul...premul if there are no non-linear operations between.
88 if ( this->flags.unpremul &&
93 this->flags.unpremul = false;
99 if (flags.unpremul) {
143 if (flags.unpremul) { p->append(SkRasterPipeline::unpremul); }
SkColorFilter.cpp 81 return dst.unpremul();
205 // We handle premul/unpremul separately, so here just always upm->upm.
233 p->append(SkRasterPipeline::unpremul);
SkConvertPixels.cpp 44 steps.flags.unpremul ||
SkRasterPipeline.h 39 M(unpremul) M(premul) M(premul_dst) \
  /external/skqp/src/core/
SkColorSpaceXformSteps.h 18 bool unpremul = false; member in struct:SkColorSpaceXformSteps::Flags
25 return (unpremul ? 1 : 0)
SkColorSpaceXformSteps.cpp 33 this->flags.unpremul = srcAT == kPremul_SkAlphaType;
87 // Skip unpremul...premul if there are no non-linear operations between.
88 if ( this->flags.unpremul &&
93 this->flags.unpremul = false;
99 if (flags.unpremul) {
143 if (flags.unpremul) { p->append(SkRasterPipeline::unpremul); }
SkColorFilter.cpp 79 return dst.unpremul();
203 // We handle premul/unpremul separately, so here just always upm->upm.
231 p->append(SkRasterPipeline::unpremul);
SkConvertPixels.cpp 44 steps.flags.unpremul ||
  /external/skia/tools/gdb/
bitmap.py 41 unpremul = 3 variable in class:AlphaType
71 if alpha_type == AlphaType.unpremul.value:
  /external/skqp/tools/gdb/
bitmap.py 41 unpremul = 3 variable in class:AlphaType
71 if alpha_type == AlphaType.unpremul.value:
  /external/skia/gm/
unpremul.cpp 11 DEF_SIMPLE_GM(unpremul, canvas, 200, 200) {
  /external/skia/src/gpu/glsl/
GrGLSLColorSpaceXformHelper.h 60 bool applyUnpremul() const { return fFlags.unpremul; }
  /external/skqp/gm/
unpremul.cpp 11 DEF_SIMPLE_GM(unpremul, canvas, 200, 200) {
  /external/skqp/src/gpu/glsl/
GrGLSLColorSpaceXformHelper.h 60 bool applyUnpremul() const { return fFlags.unpremul; }
  /external/skia/src/gpu/effects/
GrSRGBEffect.cpp 101 SkColor4f color = inColor.unpremul();
  /external/skqp/src/gpu/effects/
GrSRGBEffect.cpp 100 SkColor4f color = inColor.unpremul();
  /external/skia/src/gpu/
GrContextPriv.cpp 289 // We only allow premul <-> unpremul conversions for some formats
328 bool unpremul = SkToBool(kUnpremul_PixelOpsFlag & pixelOpsFlags); local
330 if (!valid_pixel_conversion(dstColorType, srcProxy->config(), unpremul)) {
337 // unpremul step to writeSurfacePixels's premul step (which is determined empirically in
340 unpremul &&
415 bool convert = unpremul;
445 SkASSERT(!unpremul || !dstAlwaysOpaque);
448 : unpremul ? kUnpremul_SkAlphaType : kPremul_SkAlphaType;
523 // For canvas2D putImageData performance we have a special code path for unpremul RGBA_8888 srcs
    [all...]
  /external/skqp/src/gpu/
GrContext.cpp 389 // We only allow premul <-> unpremul conversions for some formats
428 // For canvas2D putImageData performance we have a special code path for unpremul RGBA_8888 srcs
614 bool unpremul = SkToBool(kUnpremul_PixelOpsFlag & pixelOpsFlags); local
616 if (!valid_pixel_conversion(dstColorType, srcProxy->config(), unpremul)) {
623 // unpremul step to writeSurfacePixels's premul step (which is determined empirically in
626 unpremul &&
701 bool convert = unpremul;
731 SkASSERT(!unpremul || !dstAlwaysOpaque);
734 : unpremul ? kUnpremul_SkAlphaType : kPremul_SkAlphaType;
    [all...]
  /external/skia/include/core/
SkColor.h 367 SkRGBA4f<kUnpremul_SkAlphaType> unpremul() const { function in struct:SkRGBA4f
  /external/skqp/include/core/
SkColor.h 359 SkRGBA4f<kUnpremul_SkAlphaType> unpremul() const { function in struct:SkRGBA4f

Completed in 1613 milliseconds

1 2