Home
last modified time | relevance | path

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

/external/skqp/samplecode/
DSampleHairline.cpp36 static bool check_zeros(const SkPMColor pixels[], int count, int skip) { in check_zeros() function
49 if (!check_zeros(bm.getAddr32(0, i), bm.width(), 1)) { in check_bitmap_margin()
53 if (!check_zeros(bm.getAddr32(0, bottom), bm.width(), 1)) { in check_bitmap_margin()
57 if (!check_zeros(bm.getAddr32(i, 0), bm.height(), SkToInt(rb >> 2))) { in check_bitmap_margin()
61 if (!check_zeros(bm.getAddr32(right, 0), bm.height(), in check_bitmap_margin()
/external/skia/samplecode/
DSampleHairline.cpp36 static bool check_zeros(const SkPMColor pixels[], int count, int skip) { in check_zeros() function
49 if (!check_zeros(bm.getAddr32(0, i), bm.width(), 1)) { in check_bitmap_margin()
53 if (!check_zeros(bm.getAddr32(0, bottom), bm.width(), 1)) { in check_bitmap_margin()
57 if (!check_zeros(bm.getAddr32(i, 0), bm.height(), SkToInt(rb >> 2))) { in check_bitmap_margin()
61 if (!check_zeros(bm.getAddr32(right, 0), bm.height(), in check_bitmap_margin()