summaryrefslogtreecommitdiff
path: root/devices
diff options
context:
space:
mode:
authortimothywang <timothywang@google.com>2020-04-23 17:26:42 +0800
committerTimothy Wang <timothywang@google.com>2020-05-05 13:52:11 +0000
commit2800e6c9868675ad75dc651000358d6f010b4eb6 (patch)
tree2d2615aa2665889f3fa2e715dbf7461dd2f2c4f4 /devices
parentcbe4ac7513afc43c87a578c1cd4172ff0f1f966c (diff)
downloadcamera-2800e6c9868675ad75dc651000358d6f010b4eb6.tar.gz
camera: add zoom ratio mapper in HWL
The vendor tags of extend face detect mode are defined in HWL and can not be accessed in GCH. Add zoom ratio mapper in HWL to support extend face detect mode coordinate conversion. Test: GCA, DevCam Bug: 153631046 Bug: 153199477 Bug: 154842399 Change-Id: I91edaab7c971917233f02d6604bbe782e6de567d Merged-In: I91edaab7c971917233f02d6604bbe782e6de567d
Diffstat (limited to 'devices')
-rw-r--r--devices/EmulatedCamera/hwl/EmulatedCameraDeviceSessionHWLImpl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/devices/EmulatedCamera/hwl/EmulatedCameraDeviceSessionHWLImpl.h b/devices/EmulatedCamera/hwl/EmulatedCameraDeviceSessionHWLImpl.h
index bde2623..d0d2150 100644
--- a/devices/EmulatedCamera/hwl/EmulatedCameraDeviceSessionHWLImpl.h
+++ b/devices/EmulatedCamera/hwl/EmulatedCameraDeviceSessionHWLImpl.h
@@ -139,6 +139,11 @@ class EmulatedCameraDeviceSessionHwlImpl : public CameraDeviceSessionHwl {
*reconfiguration_required = true;
return OK;
}
+
+ std::unique_ptr<google_camera_hal::ZoomRatioMapperHwl> GetZoomRatioMapperHwl()
+ override {
+ return nullptr;
+ }
// End override functions in CameraDeviceSessionHwl
private: