Home
last modified time | relevance | path

Searched refs:bm8888Unpremul (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DImageDecodingTest.cpp79 SkBitmap bm8888Unpremul; in compare_unpremul() local
107 success = decoder->decode(&stream, &bm8888Unpremul, kN32_SkColorType, in compare_unpremul()
113 bool dimensionsMatch = bm8888.width() == bm8888Unpremul.width() in compare_unpremul()
114 && bm8888.height() == bm8888Unpremul.height(); in compare_unpremul()
121 if (bm8888.colorType() != kN32_SkColorType || bm8888Unpremul.colorType() != kN32_SkColorType) { in compare_unpremul()
132 const SkPMColor c1 = premultiply_unpmcolor(*bm8888Unpremul.getAddr32(i, j)); in compare_unpremul()
/external/chromium_org/third_party/skia/tests/
DImageDecodingTest.cpp80 SkBitmap bm8888Unpremul; in compare_unpremul() local
108 success = decoder->decode(&stream, &bm8888Unpremul, kN32_SkColorType, in compare_unpremul()
114 bool dimensionsMatch = bm8888.width() == bm8888Unpremul.width() in compare_unpremul()
115 && bm8888.height() == bm8888Unpremul.height(); in compare_unpremul()
122 if (bm8888.colorType() != kN32_SkColorType || bm8888Unpremul.colorType() != kN32_SkColorType) { in compare_unpremul()
133 const SkPMColor c1 = premultiply_unpmcolor(*bm8888Unpremul.getAddr32(i, j)); in compare_unpremul()