Searched refs:gainmapStream (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/jni/ |
D | BitmapRegionDecoder.cpp | 51 std::unique_ptr<SkStream> gainmapStream; in Make() local 53 if (mainImageBRD->getAndroidGainmap(&gainmapInfo, &gainmapStream)) { in Make() 55 if (gainmapStream->getMemoryBase()) { in Make() 57 data = SkData::MakeWithoutCopy(gainmapStream->getMemoryBase(), in Make() 58 gainmapStream->getLength()); in Make() 60 data = SkCopyStreamToData(gainmapStream.get()); in Make() 62 gainmapStream = nullptr; in Make() 69 gainmapInfo, std::move(gainmapStream))); in Make()
|
D | BitmapFactory.cpp | 186 static bool decodeGainmap(std::unique_ptr<SkStream> gainmapStream, const SkGainmapInfo& gainmapInfo, in decodeGainmap() argument 189 codec = SkAndroidCodec::MakeFromStream(std::move(gainmapStream), nullptr); in decodeGainmap() 616 std::unique_ptr<SkStream> gainmapStream = nullptr; in doDecode() local 619 hasGainmap = codec->getAndroidGainmap(&gainmapInfo, &gainmapStream); in doDecode() 624 decodeGainmap(std::move(gainmapStream), gainmapInfo, &gainmap, sampleSize, scale); in doDecode()
|
/frameworks/base/libs/hwui/hwui/ |
D | ImageDecoder.cpp | 504 std::unique_ptr<SkStream> gainmapStream; in extractGainmap() local 507 if (!mCodec->getAndroidGainmap(&gainmapInfo, &gainmapStream)) { in extractGainmap() 511 auto gainmapCodec = SkAndroidCodec::MakeFromStream(std::move(gainmapStream)); in extractGainmap()
|