Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp462 if (mapperInfo->mCorrectedGrid.size() != kGridSize * kGridSize) { in buildGrids()
463 mapperInfo->mCorrectedGrid.resize(kGridSize * kGridSize); in buildGrids()
464 mapperInfo->mDistortedGrid.resize(kGridSize * kGridSize); in buildGrids()
468 float gridSpacingX = (mapperInfo->mArrayWidth + 2 * gridMargin) / kGridSize; in buildGrids()
469 float gridSpacingY = (mapperInfo->mArrayHeight + 2 * gridMargin) / kGridSize; in buildGrids()
473 for (size_t i = 0; i < kGridSize; i++, x += gridSpacingX) { in buildGrids()
475 for (size_t j = 0; j < kGridSize; j++, y += gridSpacingY, index++) { in buildGrids()
DDistortionMapper.h186 constexpr static size_t kGridSize = 15; variable