Home
last modified time | relevance | path

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

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