Home
last modified time | relevance | path

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

/external/libkmsxx/kms++util/src/
Dtestpat.cpp26 const unsigned xm2 = w - mw - 1; in get_test_pattern_pixel() local
31 if (x == xm1 || x == xm2 || y == ym1 || y == ym2) in get_test_pattern_pixel()
40 else if ((y == 0 || y == h - 1) && (x < xm1 || x > xm2)) in get_test_pattern_pixel()
46 else if (y < ym1 && (x > xm1 && x < xm2)) in get_test_pattern_pixel()
49 else if (x > xm2 && (y > ym1 && y < ym2)) in get_test_pattern_pixel()
52 else if (y > ym2 && (x > xm1 && x < xm2)) in get_test_pattern_pixel()
55 else if (x > xm1 && x < xm2 && y > ym1 && y < ym2) { in get_test_pattern_pixel()
63 int t = (x - xm1 - 1) * 8 / (xm2 - xm1 - 1); in get_test_pattern_pixel()