Searched refs:base_idx (Results 1 – 2 of 2) sorted by relevance
1239 unsigned int base_idx = i * 3; in compareSegments() local1240 if (i1) img.ptr()[base_idx] = 255; in compareSegments()1241 else img.ptr()[base_idx] = 0; in compareSegments()1242 img.ptr()[base_idx + 1] = 0; in compareSegments()1243 if (i2) img.ptr()[base_idx + 2] = 255; in compareSegments()1244 else img.ptr()[base_idx + 2] = 0; in compareSegments()
1409 static const unsigned char base_idx[26] = { in create() local1450 const unsigned base = base_idx[str[0] - 'a']; in create()