Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp81 DistortionMapperInfo *mapperInfo = maxResolution ? &mDistortionMapperInfoMaximumResolution : in setupStaticInfoLocked() local
93 mapperInfo->mArrayWidth = static_cast<float>(array.data.i32[2]); in setupStaticInfoLocked()
94 mapperInfo->mArrayHeight = static_cast<float>(array.data.i32[3]); in setupStaticInfoLocked()
103 mapperInfo->mActiveWidth = static_cast<float>(array.data.i32[2]); in setupStaticInfoLocked()
104 mapperInfo->mActiveHeight = static_cast<float>(array.data.i32[3]); in setupStaticInfoLocked()
106 mapperInfo->mArrayDiffX = activeX - arrayX; in setupStaticInfoLocked()
107 mapperInfo->mArrayDiffY = activeY - arrayY; in setupStaticInfoLocked()
138 DistortionMapperInfo *mapperInfo = maxResolution ? &mDistortionMapperInfoMaximumResolution : in correctCaptureRequest() local
141 if (!mapperInfo->mValidMapping) return OK; in correctCaptureRequest()
153 res = mapCorrectedToRaw(e.data.i32 + j, 2, mapperInfo, /*clamp*/true); in correctCaptureRequest()
[all …]
DDistortionMapper.h92 DistortionMapperInfo *mapperInfo, bool clamp, bool simple = true);
104 DistortionMapperInfo *mapperInfo, bool clamp, bool simple = true);
116 const DistortionMapperInfo *mapperInfo, bool clamp, bool simple = true) const;
128 const DistortionMapperInfo *mapperInfo, bool clamp, bool simple = true) const;
199 const DistortionMapperInfo *mapperInfo, bool clamp, bool simple) const;
204 const DistortionMapperInfo *mapperInfo, bool clamp) const;
207 const DistortionMapperInfo *mapperInfo, bool clamp) const;
210 status_t buildGrids(DistortionMapperInfo *mapperInfo);
/frameworks/av/services/camera/libcameraservice/tests/
DDistortionMapperTest.cpp135 DistortionMapperInfo *mapperInfo = m.getMapperInfo(); in TEST() local
136 res = m.mapCorrectedToRaw(coords.data(), 5, mapperInfo, /*clamp*/true); in TEST()
143 res = m.mapRawToCorrected(coords.data(), 5, mapperInfo, /*clamp*/true); in TEST()
156 res = m.mapCorrectedRectToRaw(rects.data(), 2, mapperInfo, /*clamp*/true); in TEST()
163 res = m.mapRawRectToCorrected(rects.data(), 2, mapperInfo, /*clamp*/true); in TEST()
180 DistortionMapperInfo *mapperInfo = m.getMapperInfo(); in TEST() local
181 res = m.mapCorrectedRectToRaw(activeArray.data(), 1, mapperInfo, /*clamp*/true, in TEST()
189 res = m.mapRawRectToCorrected(activeArray.data(), 1, mapperInfo, /*clamp*/true, in TEST()
207 DistortionMapperInfo *mapperInfo = m.getMapperInfo(); in TEST() local
208 res = m.mapCorrectedToRaw(coords.data(), 5, mapperInfo, /*clamp*/true, /*simple*/true); in TEST()
[all …]
/frameworks/av/services/camera/libcameraservice/fuzzer/
DDistortionMapperFuzzer.cpp66 DistortionMapperInfo *mapperInfo = m.getMapperInfo(); in LLVMFuzzerTestOneInput() local
69 m.mapCorrectedToRaw(input.data(), input.size()/2, mapperInfo, clamp, simple); in LLVMFuzzerTestOneInput()