Searched refs:bitmap1 (Results 1 – 3 of 3) sorted by relevance
48 public static double psnr(Bitmap bitmap1, Bitmap bitmap2) { in psnr() argument49 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()
33 Bitmap bitmap1 = Bitmap.createBitmap( in testBitmapParcelFileDescriptor() local36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out); in testBitmapParcelFileDescriptor()
1038 LocalScopedBitmap bitmap1(bm1Handle); in Bitmap_sameAs() local1043 if (bitmap0->isHardware() != bitmap1->isHardware()) { in Bitmap_sameAs()1048 bitmap1->bitmap().getSkBitmap(&bm1); in Bitmap_sameAs()