Lines Matching refs:brd
167 auto brd = android::BitmapRegionDecoderWrapper::Make(std::move(data)); in createBitmapRegionDecoder() local
168 if (!brd) { in createBitmapRegionDecoder()
173 return GraphicsJNI::createBitmapRegionDecoder(env, brd.release()); in createBitmapRegionDecoder()
199 jobject brd = nullptr; in nativeNewInstanceFromStream() local
203 brd = createBitmapRegionDecoder(env, std::move(data)); in nativeNewInstanceFromStream()
205 return brd; in nativeNewInstanceFromStream()
263 auto* brd = reinterpret_cast<BitmapRegionDecoderWrapper*>(brdHandle); in nativeDecodeRegion() local
264 SkColorType decodeColorType = brd->computeOutputColorType(colorType); in nativeDecodeRegion()
289 sk_sp<SkColorSpace> decodeColorSpace = brd->computeOutputColorSpace( in nativeDecodeRegion()
295 if (!brd->decodeRegion(&bitmap, allocator, subset, sampleSize, in nativeDecodeRegion()
306 getMimeTypeAsJavaString(env, brd->getEncodedFormat())); in nativeDecodeRegion()
328 bool hasGainmap = brd->hasGainmap(); in nativeDecodeRegion()
337 SkIRect gainmapSubset = brd->calculateGainmapRegion(subset, &gainmapWidth, &gainmapHeight); in nativeDecodeRegion()
338 if (!brd->decodeGainmapRegion(&gainmap, gainmapWidth, gainmapHeight, gainmapSubset, in nativeDecodeRegion()
377 auto* brd = reinterpret_cast<BitmapRegionDecoderWrapper*>(brdHandle); in nativeGetHeight() local
378 return static_cast<jint>(brd->height()); in nativeGetHeight()
382 auto* brd = reinterpret_cast<BitmapRegionDecoderWrapper*>(brdHandle); in nativeGetWidth() local
383 return static_cast<jint>(brd->width()); in nativeGetWidth()
387 auto* brd = reinterpret_cast<BitmapRegionDecoderWrapper*>(brdHandle); in nativeClean() local
388 delete brd; in nativeClean()