HomeSort by relevance Sort by last modified time
    Searched refs:bm2 (Results 1 - 25 of 29) sorted by null

1 2

  /external/skia/tests/
EncodedInfoTest.cpp 36 SkBitmap bm2; local
37 bm2.allocPixels(codec->getInfo().makeColorSpace(nullptr));
38 result = codec->getPixels(bm2.pixmap());
41 REPORTER_ASSERT(r, sk_tool_utils::equal_pixels(bm.pixmap(), bm2.pixmap()));
ImageNewShaderTest.cpp 17 static void test_bitmap_equality(skiatest::Reporter* reporter, SkBitmap& bm1, SkBitmap& bm2) {
18 REPORTER_ASSERT(reporter, bm1.computeByteSize() == bm2.computeByteSize());
19 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.computeByteSize()));
EncodeTest.cpp 172 SkBitmap bm0, bm1, bm2; local
175 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2);
177 REPORTER_ASSERT(r, almost_equals(bm1, bm2, 60));
286 SkBitmap bm0, bm1, bm2; local
289 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2);
291 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 0));
385 SkBitmap bm0, bm1, bm2, bm3; local
388 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2);
391 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 90));
392 REPORTER_ASSERT(r, almost_equals(bm2, bm3, 50))
    [all...]
CodecAnimTest.cpp 435 SkBitmap bm2; local
436 bm2.allocPixels(info);
439 result = codec->codec()->getPixels(info, bm2.getPixels(), bm2.rowBytes(),
444 if (memcmp(bm.getAddr32(0, y), bm2.getAddr32(0, y), info.minRowBytes())) {
CodecPartialTest.cpp 44 static bool compare_bitmaps(skiatest::Reporter* r, const SkBitmap& bm1, const SkBitmap& bm2) {
46 if (info != bm2.info()) {
52 if (memcmp(bm1.getAddr(0, i), bm2.getAddr(0, i), rowBytes)) {
ImageTest.cpp 1279 SkBitmap bm2; local
    [all...]
CodecTest.cpp 1078 SkBitmap bm2; local
    [all...]
  /external/skqp/tests/
EncodedInfoTest.cpp 36 SkBitmap bm2; local
37 bm2.allocPixels(codec->getInfo().makeColorSpace(nullptr));
38 result = codec->getPixels(bm2.pixmap());
41 REPORTER_ASSERT(r, sk_tool_utils::equal_pixels(bm.pixmap(), bm2.pixmap()));
EncodeTest.cpp 167 SkBitmap bm0, bm1, bm2; local
170 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2);
172 REPORTER_ASSERT(r, almost_equals(bm1, bm2, 60));
281 SkBitmap bm0, bm1, bm2; local
284 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2);
286 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 0));
332 SkBitmap bm0, bm1, bm2, bm3; local
335 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2);
338 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 90));
339 REPORTER_ASSERT(r, almost_equals(bm2, bm3, 50))
    [all...]
ImageNewShaderTest.cpp 17 static void test_bitmap_equality(skiatest::Reporter* reporter, SkBitmap& bm1, SkBitmap& bm2) {
18 REPORTER_ASSERT(reporter, bm1.computeByteSize() == bm2.computeByteSize());
19 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.computeByteSize()));
CodecAnimTest.cpp 435 SkBitmap bm2; local
436 bm2.allocPixels(info);
439 result = codec->codec()->getPixels(info, bm2.getPixels(), bm2.rowBytes(),
444 if (memcmp(bm.getAddr32(0, y), bm2.getAddr32(0, y), info.minRowBytes())) {
CodecPartialTest.cpp 44 static bool compare_bitmaps(skiatest::Reporter* r, const SkBitmap& bm1, const SkBitmap& bm2) {
46 if (info != bm2.info()) {
52 if (memcmp(bm1.getAddr(0, i), bm2.getAddr(0, i), rowBytes)) {
ImageTest.cpp 1279 SkBitmap bm2; local
    [all...]
CodecTest.cpp 1078 SkBitmap bm2; local
    [all...]
  /external/grpc-grpc/tools/profiling/microbenchmarks/
bm_json.py 206 for bm2 in js2['benchmarks']:
207 if bm['name'] == bm2['name'] and 'already_used' not in bm2:
208 row['cpu_time'] = bm2['cpu_time']
209 row['real_time'] = bm2['real_time']
210 row['iterations'] = bm2['iterations']
211 bm2['already_used'] = True
  /external/skia/samplecode/
SampleHairline.cpp 201 SkBitmap bm, bm2; variable
206 bm2.installPixels(SkImageInfo::MakeN32Premul(WIDTH, HEIGHT),
209 SkCanvas c2(bm2);
214 bm2.eraseColor(SK_ColorTRANSPARENT);
216 canvas->drawBitmap(bm2, SkIntToScalar(10), SkIntToScalar(10), nullptr);
  /external/skqp/samplecode/
SampleHairline.cpp 201 SkBitmap bm, bm2; variable
206 bm2.installPixels(SkImageInfo::MakeN32Premul(WIDTH, HEIGHT),
209 SkCanvas c2(bm2);
214 bm2.eraseColor(SK_ColorTRANSPARENT);
216 canvas->drawBitmap(bm2, SkIntToScalar(10), SkIntToScalar(10), nullptr);
  /external/skia/gm/
simpleaaclip.cpp 28 SkBitmap bm2; local
30 sk_tool_utils::copy_to(&bm2, bm.colorType(), bm);
32 canvas->drawBitmap(bm2,
aaclip.cpp 183 SkBitmap bm2; local
184 SkCreateBitmapFromCGImage(&bm2, image);
185 canvas->drawBitmap(bm2, 10, 120);
186 canvas->drawImage(SkMakeImageFromCGImage(image), 10, 120 + bm2.height() + 10);
  /external/skqp/gm/
simpleaaclip.cpp 28 SkBitmap bm2; local
30 sk_tool_utils::copy_to(&bm2, bm.colorType(), bm);
32 canvas->drawBitmap(bm2,
aaclip.cpp 183 SkBitmap bm2; local
184 SkCreateBitmapFromCGImage(&bm2, image);
185 canvas->drawBitmap(bm2, 10, 120);
186 canvas->drawImage(SkMakeImageFromCGImage(image), 10, 120 + bm2.height() + 10);
  /external/e2fsprogs/lib/ext2fs/
bitmaps.c 235 ext2fs_block_bitmap bm2)
238 bm1, bm2));
242 ext2fs_inode_bitmap bm2)
245 bm1, bm2));
gen_bitmap.c 374 ext2fs_generic_bitmap_32 bm2 = (ext2fs_generic_bitmap_32) gen_bm2; local
379 if (!bm2 || bm2->magic != magic)
382 if ((bm1->start != bm2->start) ||
383 (bm1->end != bm2->end) ||
384 (memcmp(bm1->bitmap, bm2->bitmap,
gen_bitmap64.c 610 ext2fs_generic_bitmap_64 bm2 = (ext2fs_generic_bitmap_64) gen_bm2; local
613 if (!bm1 || !bm2)
615 if (bm1->magic != bm2->magic)
626 if ((bm1->start != bm2->start) ||
627 (bm1->end != bm2->end))
  /external/golang-protobuf/protoc-gen-go/testdata/imports/
test_import_all.pb.go 33 Bm2 *test_b_1.M2 `protobuf:"bytes,6,opt,name=bm2,proto3" json:"bm2,omitempty"`
102 return m.Bm2

Completed in 342 milliseconds

1 2