Loading services/camera/libcameraservice/device3/DistortionMapper.cpp +1 −3 Original line number Original line Diff line number Diff line Loading @@ -43,10 +43,8 @@ void DistortionMapper::initRemappedKeys() { kResultPointsToCorrectNoClamp.begin(), kResultPointsToCorrectNoClamp.begin(), kResultPointsToCorrectNoClamp.end()); kResultPointsToCorrectNoClamp.end()); mRemappedKeys.insert(ANDROID_DISTORTION_CORRECTION_MODE); mRemappedKeys.insert(ANDROID_DISTORTION_CORRECTION_MODE); if (flags::concert_mode()) { mRemappedKeys.insert(ANDROID_LOGICAL_MULTI_CAMERA_ACTIVE_PHYSICAL_SENSOR_CROP_REGION); mRemappedKeys.insert(ANDROID_LOGICAL_MULTI_CAMERA_ACTIVE_PHYSICAL_SENSOR_CROP_REGION); } } } bool DistortionMapper::isDistortionSupported(const CameraMetadata &deviceInfo) { bool DistortionMapper::isDistortionSupported(const CameraMetadata &deviceInfo) { bool isDistortionCorrectionSupported = false; bool isDistortionCorrectionSupported = false; Loading services/camera/libcameraservice/device3/RotateAndCropMapper.cpp +1 −3 Original line number Original line Diff line number Diff line Loading @@ -37,10 +37,8 @@ void RotateAndCropMapper::initRemappedKeys() { mRemappedKeys.insert(ANDROID_SCALER_ROTATE_AND_CROP); mRemappedKeys.insert(ANDROID_SCALER_ROTATE_AND_CROP); mRemappedKeys.insert(ANDROID_SCALER_CROP_REGION); mRemappedKeys.insert(ANDROID_SCALER_CROP_REGION); if (flags::concert_mode()) { mRemappedKeys.insert(ANDROID_LOGICAL_MULTI_CAMERA_ACTIVE_PHYSICAL_SENSOR_CROP_REGION); mRemappedKeys.insert(ANDROID_LOGICAL_MULTI_CAMERA_ACTIVE_PHYSICAL_SENSOR_CROP_REGION); } } } bool RotateAndCropMapper::isNeeded(const CameraMetadata* deviceInfo) { bool RotateAndCropMapper::isNeeded(const CameraMetadata* deviceInfo) { auto entry = deviceInfo->find(ANDROID_SCALER_AVAILABLE_ROTATE_AND_CROP_MODES); auto entry = deviceInfo->find(ANDROID_SCALER_AVAILABLE_ROTATE_AND_CROP_MODES); Loading services/camera/libcameraservice/device3/ZoomRatioMapper.cpp +1 −3 Original line number Original line Diff line number Diff line Loading @@ -38,10 +38,8 @@ void ZoomRatioMapper::initRemappedKeys() { kResultPointsToCorrectNoClamp.end()); kResultPointsToCorrectNoClamp.end()); mRemappedKeys.insert(ANDROID_CONTROL_ZOOM_RATIO); mRemappedKeys.insert(ANDROID_CONTROL_ZOOM_RATIO); if (flags::concert_mode()) { mRemappedKeys.insert(ANDROID_LOGICAL_MULTI_CAMERA_ACTIVE_PHYSICAL_SENSOR_CROP_REGION); mRemappedKeys.insert(ANDROID_LOGICAL_MULTI_CAMERA_ACTIVE_PHYSICAL_SENSOR_CROP_REGION); } } } status_t ZoomRatioMapper::initZoomRatioInTemplate(CameraMetadata *request) { status_t ZoomRatioMapper::initZoomRatioInTemplate(CameraMetadata *request) { camera_metadata_entry_t entry; camera_metadata_entry_t entry; Loading Loading
services/camera/libcameraservice/device3/DistortionMapper.cpp +1 −3 Original line number Original line Diff line number Diff line Loading @@ -43,10 +43,8 @@ void DistortionMapper::initRemappedKeys() { kResultPointsToCorrectNoClamp.begin(), kResultPointsToCorrectNoClamp.begin(), kResultPointsToCorrectNoClamp.end()); kResultPointsToCorrectNoClamp.end()); mRemappedKeys.insert(ANDROID_DISTORTION_CORRECTION_MODE); mRemappedKeys.insert(ANDROID_DISTORTION_CORRECTION_MODE); if (flags::concert_mode()) { mRemappedKeys.insert(ANDROID_LOGICAL_MULTI_CAMERA_ACTIVE_PHYSICAL_SENSOR_CROP_REGION); mRemappedKeys.insert(ANDROID_LOGICAL_MULTI_CAMERA_ACTIVE_PHYSICAL_SENSOR_CROP_REGION); } } } bool DistortionMapper::isDistortionSupported(const CameraMetadata &deviceInfo) { bool DistortionMapper::isDistortionSupported(const CameraMetadata &deviceInfo) { bool isDistortionCorrectionSupported = false; bool isDistortionCorrectionSupported = false; Loading
services/camera/libcameraservice/device3/RotateAndCropMapper.cpp +1 −3 Original line number Original line Diff line number Diff line Loading @@ -37,10 +37,8 @@ void RotateAndCropMapper::initRemappedKeys() { mRemappedKeys.insert(ANDROID_SCALER_ROTATE_AND_CROP); mRemappedKeys.insert(ANDROID_SCALER_ROTATE_AND_CROP); mRemappedKeys.insert(ANDROID_SCALER_CROP_REGION); mRemappedKeys.insert(ANDROID_SCALER_CROP_REGION); if (flags::concert_mode()) { mRemappedKeys.insert(ANDROID_LOGICAL_MULTI_CAMERA_ACTIVE_PHYSICAL_SENSOR_CROP_REGION); mRemappedKeys.insert(ANDROID_LOGICAL_MULTI_CAMERA_ACTIVE_PHYSICAL_SENSOR_CROP_REGION); } } } bool RotateAndCropMapper::isNeeded(const CameraMetadata* deviceInfo) { bool RotateAndCropMapper::isNeeded(const CameraMetadata* deviceInfo) { auto entry = deviceInfo->find(ANDROID_SCALER_AVAILABLE_ROTATE_AND_CROP_MODES); auto entry = deviceInfo->find(ANDROID_SCALER_AVAILABLE_ROTATE_AND_CROP_MODES); Loading
services/camera/libcameraservice/device3/ZoomRatioMapper.cpp +1 −3 Original line number Original line Diff line number Diff line Loading @@ -38,10 +38,8 @@ void ZoomRatioMapper::initRemappedKeys() { kResultPointsToCorrectNoClamp.end()); kResultPointsToCorrectNoClamp.end()); mRemappedKeys.insert(ANDROID_CONTROL_ZOOM_RATIO); mRemappedKeys.insert(ANDROID_CONTROL_ZOOM_RATIO); if (flags::concert_mode()) { mRemappedKeys.insert(ANDROID_LOGICAL_MULTI_CAMERA_ACTIVE_PHYSICAL_SENSOR_CROP_REGION); mRemappedKeys.insert(ANDROID_LOGICAL_MULTI_CAMERA_ACTIVE_PHYSICAL_SENSOR_CROP_REGION); } } } status_t ZoomRatioMapper::initZoomRatioInTemplate(CameraMetadata *request) { status_t ZoomRatioMapper::initZoomRatioInTemplate(CameraMetadata *request) { camera_metadata_entry_t entry; camera_metadata_entry_t entry; Loading