Home
last modified time | relevance | path

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

/aosp12/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DImageCompare.java48 public static double psnr(Bitmap bitmap1, Bitmap bitmap2) { in psnr() argument
49 if (bitmap1.getWidth() != bitmap2.getWidth() || in psnr()
50 bitmap1.getHeight() != bitmap2.getHeight()) { in psnr()
54 if (bitmap1.sameAs(bitmap2)) { in psnr()
60 final int width = bitmap1.getWidth(); in psnr()
61 final int height = bitmap1.getHeight(); in psnr()
67 int pixel1 = bitmap1.getPixel(x, y); in psnr()
/aosp12/frameworks/base/core/tests/coretests/src/android/graphics/
H A DBitmapFactoryTest.java33 Bitmap bitmap1 = Bitmap.createBitmap( in testBitmapParcelFileDescriptor() local
36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out); in testBitmapParcelFileDescriptor()
/aosp12/hardware/qcom/camera/msm8998/QCamera2/HAL/test/
H A Dqcamera_test.cpp223 SkBitmap *bitmap0, SkBitmap *bitmap1) in PiPCopyToOneFile() argument
232 if (bitmap0 == NULL || bitmap1 == NULL) { in PiPCopyToOneFile()
233 ALOGE(" bitmap0 : %p, bitmap1 : %p\n", bitmap0, bitmap1); in PiPCopyToOneFile()
243 size1 = bitmap1->getSize(); in PiPCopyToOneFile()
251 src = bitmap1; in PiPCopyToOneFile()
253 dst = bitmap1; in PiPCopyToOneFile()
H A Dqcamera_test.h141 SkBitmap * PiPCopyToOneFile(SkBitmap *bitmap0, SkBitmap *bitmap1);
/aosp12/frameworks/base/libs/hwui/jni/
H A DBitmap.cpp1113 LocalScopedBitmap bitmap1(bm1Handle); in Bitmap_sameAs() local
1118 if (bitmap0->isHardware() != bitmap1->isHardware()) { in Bitmap_sameAs()
1123 bitmap1->bitmap().getSkBitmap(&bm1); in Bitmap_sameAs()
/aosp12/art/runtime/gc/
H A Dheap.cc2478 void Heap::MarkAllocStack(accounting::ContinuousSpaceBitmap* bitmap1, in MarkAllocStack() argument
2482 DCHECK(bitmap1 != nullptr); in MarkAllocStack()
2488 if (bitmap1->HasAddress(obj)) { in MarkAllocStack()
2489 bitmap1->Set(obj); in MarkAllocStack()
H A Dheap.h669 void MarkAllocStack(accounting::SpaceBitmap<kObjectAlignment>* bitmap1,