Searched refs:coordPairs (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/services/camera/libcameraservice/device3/ |
D | DistortionMapper.cpp | 226 status_t DistortionMapper::mapRawToCorrected(int32_t *coordPairs, int coordCount, in mapRawToCorrected() argument 230 if (simple) return mapRawToCorrectedSimple(coordPairs, coordCount, clamp); in mapRawToCorrected() 238 const GridQuad *quad = findEnclosingQuad(coordPairs + i, mDistortedGrid); in mapRawToCorrected() 241 *(coordPairs + i), *(coordPairs + i + 1)); in mapRawToCorrected() 245 coordPairs[i], coordPairs[i+1], in mapRawToCorrected() 262 float u = calculateUorV(coordPairs + i, *quad, /*calculateU*/ true); in mapRawToCorrected() 263 float v = calculateUorV(coordPairs + i, *quad, /*calculateU*/ false); in mapRawToCorrected() 278 coordPairs[i] = static_cast<int32_t>(std::round(corrX)); in mapRawToCorrected() 279 coordPairs[i + 1] = static_cast<int32_t>(std::round(corrY)); in mapRawToCorrected() 285 status_t DistortionMapper::mapRawToCorrectedSimple(int32_t *coordPairs, int coordCount, in mapRawToCorrectedSimple() argument [all …]
|
D | DistortionMapper.h | 79 status_t mapRawToCorrected(int32_t *coordPairs, int coordCount, bool clamp, 103 status_t mapCorrectedToRaw(int32_t* coordPairs, int coordCount, bool clamp, 169 status_t mapCorrectedToRawImpl(T* coordPairs, int coordCount, bool clamp, bool simple) const; 173 status_t mapCorrectedToRawImplSimple(T* coordPairs, int coordCount, bool clamp) const; 175 status_t mapRawToCorrectedSimple(int32_t *coordPairs, int coordCount, bool clamp) const;
|