Searched refs:rawCoords (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/services/camera/libcameraservice/tests/ |
D | DistortionMapperComp.py | 23 rawCoords = np.floor(np.random.rand(1000,2) * activeArray) variable 26 rawCoords2 = rawCoords.reshape(-1, 1, 2) 36 f.write('std::array<int32_t, %d> rawCoords = {\n' % (rawCoords.shape[0] * rawCoords.shape[1])) 37 for i in range(rawCoords.shape[0]): 38 f.write(' %d, %d,\n' % (rawCoords[i][0], rawCoords[i][1]))
|
D | DistortionMapperTest.cpp | 373 res = m.mapRawToCorrected(rawCoords.data(), rawCoords.size() / 2, mapperInfo, /*clamp*/false, in TEST() 376 for (size_t i = 0; i < rawCoords.size(); i+=2) { in TEST() 377 int32_t dist = (rawCoords[i] - expCoords[i]) * (rawCoords[i] - expCoords[i]) + in TEST() 378 (rawCoords[i + 1] - expCoords[i + 1]) * (rawCoords[i + 1] - expCoords[i + 1]); in TEST() 380 << "(" << rawCoords[i] << ", " << rawCoords[i + 1] << ") != (" in TEST()
|
D | DistortionMapperTest_OpenCvData.h | 5 std::array<int32_t, 2000> rawCoords = { variable
|