Searched refs:bitmap1 (Results 1 - 2 of 2) sorted by relevance

/haiku/src/tests/kits/interface/flatten_picture/
H A DPictureTest.cpp280 PictureTest::IsSame(BBitmap *bitmap1, BBitmap *bitmap2, BString &reason) argument
282 if (bitmap1->ColorSpace() != bitmap2->ColorSpace()) {
287 if (bitmap1->BitsLength() != bitmap2->BitsLength()) {
295 if (get_pixel_size_for(bitmap1->ColorSpace(), &pixelChunk, &rowAlignment,
305 uint8* row1 = (uint8*)bitmap1->Bits();
307 int32 bpr = bitmap1->BytesPerRow();
308 int32 width = bitmap1->Bounds().IntegerWidth() + 1;
309 int32 height = bitmap1->Bounds().IntegerHeight() + 1;
H A DPictureTest.h46 bool IsSame(BBitmap *bitmap1, BBitmap *bitmap2, BString &reason);

Completed in 82 milliseconds