Lines Matching refs:rowBytes
61 int w, int h, int rowBytes){ in binary_to_skbitmap() argument
67 const char* curLine = &bin_bmp[y * rowBytes]; in binary_to_skbitmap()
110 const char* bin_bmp, int w, int h, int rowBytes){ in test_path() argument
113 SkPathUtils::BitsToPath_Path(&path, bin_bmp, w, h, rowBytes); in test_path()
120 const char* bin_bmp, int w, int h, int rowBytes){ in test_region() argument
123 SkPathUtils::BitsToPath_Region(&path, bin_bmp, w, h, rowBytes); in test_region()
131 const int h = 8, rowBytes = 4; in DEF_TEST() local
133 char bits[ h * rowBytes ]; in DEF_TEST()
140 fill_random_bits( h * rowBytes, binBmp); // generate random bitmap in DEF_TEST()
146 binary_to_skbitmap(binBmp, &bmpTruth, w[i], h, rowBytes); in DEF_TEST()
148 test_path(reporter, &bmpTruth, binBmp, w[i], h, rowBytes); in DEF_TEST()
149 test_region(reporter, &bmpTruth, binBmp, w[i], h, rowBytes); in DEF_TEST()