Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DBitmapRegionDecoder.cpp92 SkColorType decodeColorType = mGainmapBRD->computeOutputColorType(kN32_SkColorType); in decodeGainmapRegion()
94 mGainmapBRD->computeOutputColorSpace(decodeColorType, nullptr); in decodeGainmapRegion()
116 if (!mGainmapBRD->decodeRegion(&bm, &allocator, desiredSubset, sampleSize, decodeColorType, in decodeGainmapRegion()
135 const float scaleX = ((float)mGainmapBRD->width()) / mMainImageBRD->width(); in calculateGainmapRegion()
136 const float scaleY = ((float)mGainmapBRD->height()) / mMainImageBRD->height(); in calculateGainmapRegion()
145 bool hasGainmap() { return mGainmapBRD != nullptr; } in hasGainmap()
155 , mGainmapBRD(std::move(gainmapBRD)) in BitmapRegionDecoderWrapper()
160 std::unique_ptr<skia::BitmapRegionDecoder> mGainmapBRD; member in android::BitmapRegionDecoderWrapper