Searched refs:scaleCoordinates (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/services/camera/libcameraservice/device3/ |
D | ZoomRatioMapper.cpp | 247 scaleCoordinates(entry.data.i32 + j, 1, zoomRatio, true /*clamp*/); in separateZoomFromCropLocked() 252 scaleCoordinates(entry.data.i32 + j + 2, 1, zoomRatio, true /*clamp*/); in separateZoomFromCropLocked() 266 scaleCoordinates(entry.data.i32, entry.count / 2, zoomRatio, false /*clamp*/); in separateZoomFromCropLocked() 291 scaleCoordinates(entry.data.i32 + j, 1, 1.0 / zoomRatio, true /*clamp*/); in combineZoomAndCropLocked() 296 scaleCoordinates(entry.data.i32 + j + 2, 1, 1.0 / zoomRatio, true /*clamp*/); in combineZoomAndCropLocked() 308 scaleCoordinates(entry.data.i32, entry.count / 2, 1.0 / zoomRatio, false /*clamp*/); in combineZoomAndCropLocked() 321 void ZoomRatioMapper::scaleCoordinates(int32_t* coordPairs, int coordCount, in scaleCoordinates() function in android::camera3::ZoomRatioMapper 369 scaleCoordinates(coords, 1, scaleRatio, true /*clamp*/); in scaleRects() 371 scaleCoordinates(coords+2, 1, scaleRatio, true /*clamp*/); in scaleRects()
|
D | ZoomRatioMapper.h | 68 void scaleCoordinates(int32_t* coordPairs, int coordCount,
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | ZoomRatioTest.cpp | 185 mapper.scaleCoordinates(coords.data(), coords.size()/2, 1.0f, false /*clamp*/); in subScaleCoordinatesTest() 202 mapper.scaleCoordinates(coords.data(), coords.size()/2, 2.0f, false /*clamp*/); in subScaleCoordinatesTest() 219 mapper.scaleCoordinates(coords.data(), coords.size()/2, 2.0f, true /*clamp*/); in subScaleCoordinatesTest() 236 mapper.scaleCoordinates(coords.data(), coords.size()/2, 2.0f, true /*clamp*/); in subScaleCoordinatesTest() 253 mapper.scaleCoordinates(coords.data(), coords.size()/2, 1.0f/3, false /*clamp*/); in subScaleCoordinatesTest()
|