Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DBitmap.cpp697 static bool bitmapCopyTo(SkBitmap* dst, SkColorType dstCT, const SkBitmap& src, in bitmapCopyTo() argument
704 SkImageInfo dstInfo = srcPM.info().makeColorType(dstCT); in bitmapCopyTo()
705 switch (dstCT) { in bitmapCopyTo()
738 if (kAlpha_8_SkColorType == srcPM.colorType() && kAlpha_8_SkColorType != dstCT) { in bitmapCopyTo()
739 switch (dstCT) { in bitmapCopyTo()
781 if (kRGBA_F16_SkColorType != dstCT && kRGBA_F16_SkColorType != srcPM.colorType() && in bitmapCopyTo()
802 SkColorType dstCT = GraphicsJNI::legacyBitmapConfigToColorType(dstConfigHandle); in Bitmap_copy() local
806 if (!bitmapCopyTo(&result, dstCT, src, &allocator)) { in Bitmap_copy()
813 static Bitmap* Bitmap_copyAshmemImpl(JNIEnv* env, SkBitmap& src, SkColorType& dstCT) { in Bitmap_copyAshmemImpl() argument
817 if (!bitmapCopyTo(&result, dstCT, src, &allocator)) { in Bitmap_copyAshmemImpl()
[all …]