Home
last modified time | relevance | path

Searched refs:unpremultiplied (Results 1 – 10 of 10) sorted by relevance

/external/skia/docs/examples/
DPreMultiplyColor.cpp8 SkColor unpremultiplied = SkColorSetARGB(160, 128, 160, 192);
9 SkPMColor premultiplied = SkPreMultiplyColor(unpremultiplied);
11 std::string str = "alpha=" + std::to_string(SkColorGetA(unpremultiplied));
12 str += " red=" + std::to_string(SkColorGetR(unpremultiplied));
13 str += " green=" + std::to_string(SkColorGetG(unpremultiplied));
14 str += " blue=" + std::to_string(SkColorGetB(unpremultiplied));
/external/skia/site/docs/user/
Dcolor.md35 3. convert those unpremultiplied, linear source colors to XYZ D50 gamut by
51 * skip 1 if the source is already unpremultiplied
56 * skip 6 if the destination wants to be unpremultiplied
65 * opaque colors can be treated as either unpremultiplied or premultiplied,
Dsksl.md61 - If you start with an unpremultiplied `SkImage` (like a PNG), turn that into an
67 premultiplied vs. unpremultiplied. Many operations don't make sense if you mix
/external/skqp/docs/
DSkColor_Reference.bmh783 SkColor unpremultiplied = SkColorSetARGB(160, 128, 160, 192);
784 SkPMColor premultiplied = SkPreMultiplyColor(unpremultiplied);
786 std::string str = "alpha=" + std::to_string(SkColorGetA(unpremultiplied));
787 str += " red=" + std::to_string(SkColorGetR(unpremultiplied));
788 str += " green=" + std::to_string(SkColorGetG(unpremultiplied));
789 str += " blue=" + std::to_string(SkColorGetB(unpremultiplied));
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp2569 SkPixmap unpremultiplied(unpremultipliedInfo, buffer, rowBytes); in PreMultiply() local
2573 unpremultiplied.readPixels(premultiplied); in PreMultiply()
2597 SkPixmap unpremultiplied(unpremultipliedInfo, buffer, rowBytes); in UnPreMultiply() local
2598 premultiplied.readPixels(unpremultiplied); in UnPreMultiply()
/external/skqp/site/user/api/
DSkPixmap_Reference.md814 …#SkPixmap_getColor_y'>y</a>) as <a href='undocumented#Unpremultiply'>unpremultiplied</a> <a href='…
823 conversion to <a href='undocumented#Unpremultiply'>unpremultiplied</a> <a href='SkColor_Reference#C…
838 …d#Pixel'>pixel</a> converted to <a href='undocumented#Unpremultiply'>unpremultiplied</a> <a href='…
1888 …<td><a href='undocumented#Unpremultiply'>unpremultiplied</a> <a href='#SkPixmap_erase_color'>color…
1922 …<td><a href='undocumented#Unpremultiply'>unpremultiplied</a> <a href='#SkPixmap_erase_2_color'>col…
1954 …<td><a href='undocumented#Unpremultiply'>unpremultiplied</a> <a href='#SkPixmap_erase_3_color'>col…
DSkPaint_Reference.md1582 …rence#Alpha'>alpha</a> and RGB, <a href='undocumented#Unpremultiply'>unpremultiplied</a>, packed i…
1588 <a href='undocumented#Unpremultiply'>unpremultiplied</a> ARGB
1614 …rence#Alpha'>alpha</a> and RGB, <a href='undocumented#Unpremultiply'>unpremultiplied</a>, as four …
1619 <a href='undocumented#Unpremultiply'>unpremultiplied</a> RGBA
1646 <a href='undocumented#Unpremultiply'>unpremultiplied</a>, packing 8-bit components for <a href='SkC…
1651 <td><a href='undocumented#Unpremultiply'>unpremultiplied</a> ARGB</td>
1680 …erence#Point'>point</a> values, <a href='undocumented#Unpremultiply'>unpremultiplied</a>. The <a h…
1687 <td><a href='undocumented#Unpremultiply'>unpremultiplied</a> RGBA</td>
1782 …r_Reference#Color'>color</a> is <a href='undocumented#Unpremultiply'>unpremultiplied</a>; <a href=…
DSkColor4f_Reference.md360 …lor4f_Reference#SkRGBA4f'>SkRGBA4f</a> is <a href='undocumented#Unpremultiply'>unpremultiplied</a>.
DSkBitmap_Reference.md2451 …<td><a href='undocumented#Unpremultiply'>unpremultiplied</a> <a href='SkColor_Reference#Color'>col…
2471 …ed#Pixel'>pixel</a> values with <a href='undocumented#Unpremultiply'>unpremultiplied</a> <a href='…
2519 …<td><a href='undocumented#Unpremultiply'>unpremultiplied</a> <a href='SkColor_Reference#Color'>col…
2542 …#SkBitmap_getColor_y'>y</a>) as <a href='undocumented#Unpremultiply'>unpremultiplied</a> <a href='…
2551 conversion to <a href='undocumented#Unpremultiply'>unpremultiplied</a> <a href='SkColor_Reference#C…
2566 …d#Pixel'>pixel</a> converted to <a href='undocumented#Unpremultiply'>unpremultiplied</a> <a href='…
DSkCanvas_Reference.md2981 <td><a href='undocumented#Unpremultiply'>unpremultiplied</a> ARGB</td>
3010 <td><a href='undocumented#Unpremultiply'>unpremultiplied</a> ARGB</td>