OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:unpremul
(Results
1 - 4
of
4
) sorted by null
/external/skia/src/core/
SkColor.cpp
116
SkColor4f SkPM4f::
unpremul
() const {
function in class:SkPM4f
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
/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
) {
/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
...]
Completed in 570 milliseconds