Searched refs:decodedBm (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | CodecTest.cpp | 812 SkBitmap decodedBm; in DEF_TEST() local 813 decodedBm.setInfo(codec->getInfo()); in DEF_TEST() 814 decodedBm.allocPixels(); in DEF_TEST() 815 SkCodec::Result result = codec->getPixels(codec->getInfo(), decodedBm.getPixels(), in DEF_TEST() 816 decodedBm.rowBytes()); in DEF_TEST() 819 if (decodedBm.colorType() != bm.colorType()) { in DEF_TEST() 821 bool success = sk_tool_utils::copy_to(&tmp, bm.colorType(), decodedBm); in DEF_TEST() 827 tmp.swap(decodedBm); in DEF_TEST() 830 compare_to_good_digest(r, goodDigest, decodedBm); in DEF_TEST() 836 result = codec->getPixels(codec->getInfo(), decodedBm.getPixels(), decodedBm.rowBytes()); in DEF_TEST()
|
/external/skqp/tests/ |
D | CodecTest.cpp | 812 SkBitmap decodedBm; in DEF_TEST() local 813 decodedBm.setInfo(codec->getInfo()); in DEF_TEST() 814 decodedBm.allocPixels(); in DEF_TEST() 815 SkCodec::Result result = codec->getPixels(codec->getInfo(), decodedBm.getPixels(), in DEF_TEST() 816 decodedBm.rowBytes()); in DEF_TEST() 819 if (decodedBm.colorType() != bm.colorType()) { in DEF_TEST() 821 bool success = sk_tool_utils::copy_to(&tmp, bm.colorType(), decodedBm); in DEF_TEST() 827 tmp.swap(decodedBm); in DEF_TEST() 830 compare_to_good_digest(r, goodDigest, decodedBm); in DEF_TEST() 836 result = codec->getPixels(codec->getInfo(), decodedBm.getPixels(), decodedBm.rowBytes()); in DEF_TEST()
|