Home
last modified time | relevance | path

Searched refs:ZoomRatioMapper (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/services/camera/libcameraservice/device3/
DZoomRatioMapper.h36 class ZoomRatioMapper : private CoordinateMapper {
38 ZoomRatioMapper() = default;
39 ZoomRatioMapper(const CameraMetadata *deviceInfo,
41 ZoomRatioMapper(const ZoomRatioMapper& other) : in ZoomRatioMapper() function
DZoomRatioMapper.cpp29 status_t ZoomRatioMapper::initZoomRatioInTemplate(CameraMetadata *request) { in initZoomRatioInTemplate()
39 status_t ZoomRatioMapper::overrideZoomRatioTags( in overrideZoomRatioTags()
118 ZoomRatioMapper::ZoomRatioMapper(const CameraMetadata* deviceInfo, in ZoomRatioMapper() function in android::camera3::ZoomRatioMapper
146 status_t ZoomRatioMapper::updateCaptureRequest(CameraMetadata* request) { in updateCaptureRequest()
173 status_t ZoomRatioMapper::updateCaptureResult(CameraMetadata* result, bool requestedZoomRatioIs1) { in updateCaptureResult()
193 float ZoomRatioMapper::deriveZoomRatio(const CameraMetadata* metadata) { in deriveZoomRatio()
225 status_t ZoomRatioMapper::separateZoomFromCropLocked(CameraMetadata* metadata, bool isResult) { in separateZoomFromCropLocked()
273 status_t ZoomRatioMapper::combineZoomAndCropLocked(CameraMetadata* metadata, bool isResult) { in combineZoomAndCropLocked()
321 void ZoomRatioMapper::scaleCoordinates(int32_t* coordPairs, int coordCount, in scaleCoordinates()
356 void ZoomRatioMapper::scaleRects(int32_t* rects, int rectCount, in scaleRects()
DCamera3OfflineSession.h67 const std::unordered_map<std::string, camera3::ZoomRatioMapper>& zoomRatioMappers, in Camera3OfflineStates()
125 const std::unordered_map<std::string, camera3::ZoomRatioMapper>& mZoomRatioMappers;
255 std::unordered_map<std::string, camera3::ZoomRatioMapper> mZoomRatioMappers;
DCamera3OutputUtils.h96 std::unordered_map<std::string, camera3::ZoomRatioMapper>& zoomRatioMappers;
DCamera3Device.h1141 std::unordered_map<std::string, camera3::ZoomRatioMapper> mZoomRatioMappers;
DCamera3Device.cpp165 mZoomRatioMappers[physicalId] = ZoomRatioMapper( in initialize()
352 mZoomRatioMappers[mId.c_str()] = ZoomRatioMapper(&mDeviceInfo, in initializeCommonLocked()
/frameworks/av/services/camera/libcameraservice/tests/
DZoomRatioTest.cpp50 status_t setupTestMapper(ZoomRatioMapper *m, float maxDigitalZoom, in setupTestMapper()
64 status_t res = ZoomRatioMapper::overrideZoomRatioTags(&deviceInfo, &supportNativeZoomRatio); in setupTestMapper()
69 *m = ZoomRatioMapper(&deviceInfo, hasZoomRatioRange, usePreCorrectArray); in setupTestMapper()
84 ZoomRatioMapper mapperNoZoomRange; in TEST()
87 res = ZoomRatioMapper::overrideZoomRatioTags(&deviceInfo, &supportNativeZoomRatio); in TEST()
90 mapperNoZoomRange = ZoomRatioMapper(&deviceInfo, in TEST()
93 mapperNoZoomRange = ZoomRatioMapper(&deviceInfo, in TEST()
120 res = ZoomRatioMapper::overrideZoomRatioTags(&deviceInfo, &supportNativeZoomRatio); in TEST()
123 ZoomRatioMapper mapperWithZoomRange; in TEST()
124 mapperWithZoomRange = ZoomRatioMapper(&deviceInfo, in TEST()
[all …]
/frameworks/av/services/camera/libcameraservice/
DAndroid.bp64 "device3/ZoomRatioMapper.cpp",
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp2307 res = camera3::ZoomRatioMapper::overrideZoomRatioTags(
2375 res = camera3::ZoomRatioMapper::overrideZoomRatioTags(