Searched refs:scaleCoordinates (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/services/camera/libcameraservice/device3/ |
D | ZoomRatioMapper.cpp | 373 scaleCoordinates(entry.data.i32, entry.count / 2, zoomRatio, false /*clamp*/, in separateZoomFromCropLocked() 409 scaleCoordinates(entry.data.i32, entry.count / 2, 1.0 / zoomRatio, false /*clamp*/, in combineZoomAndCropLocked() 423 void ZoomRatioMapper::scaleCoordinates(int32_t* coordPairs, int coordCount, in scaleCoordinates() function in android::camera3::ZoomRatioMapper 461 scaleCoordinates(region, 1, scaleRatio, true /*clamp*/, arrayWidth, in scaleRegion() 467 scaleCoordinates(region + 2, 1, scaleRatio, true /*clamp*/, arrayWidth, in scaleRegion() 489 scaleCoordinates(coords, 1, scaleRatio, true /*clamp*/, arrayWidth, arrayHeight); in scaleRects() 491 scaleCoordinates(coords+2, 1, scaleRatio, true /*clamp*/, arrayWidth, arrayHeight); in scaleRects()
|
D | ZoomRatioMapper.h | 70 void scaleCoordinates(int32_t* coordPairs, int coordCount,
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | ZoomRatioTest.cpp | 183 mapper.scaleCoordinates(coords.data(), coords.size()/2, 1.0f, false /*clamp*/, width, height); in subScaleCoordinatesTest() 200 mapper.scaleCoordinates(coords.data(), coords.size()/2, 2.0f, false /*clamp*/, width, height); in subScaleCoordinatesTest() 217 mapper.scaleCoordinates(coords.data(), coords.size()/2, 2.0f, true /*clamp*/, width, height); in subScaleCoordinatesTest() 234 mapper.scaleCoordinates(coords.data(), coords.size()/2, 2.0f, true /*clamp*/, width, height); in subScaleCoordinatesTest() 251 mapper.scaleCoordinates(coords.data(), coords.size()/2, 1.0f/3, false /*clamp*/, width, height); in subScaleCoordinatesTest()
|