summaryrefslogtreecommitdiffstats
path: root/include/camera/CameraParameters.h
diff options
context:
space:
mode:
authorKonsta <konsta09@gmail.com>2014-08-15 21:04:15 +0300
committerDan Pasanen <dan.pasanen@gmail.com>2015-10-14 05:27:33 -0700
commit70e359f102a3c40cad45ff9ce5a2b3bcdb429658 (patch)
treef56b7cd2e9b8616de5c51da05fb146539a282efa /include/camera/CameraParameters.h
parent7ed92e49dc3d8048bdfe5b5e0683f26c90bdace5 (diff)
downloadframeworks_av-70e359f102a3c40cad45ff9ce5a2b3bcdb429658.zip
frameworks_av-70e359f102a3c40cad45ff9ce5a2b3bcdb429658.tar.gz
frameworks_av-70e359f102a3c40cad45ff9ce5a2b3bcdb429658.tar.bz2
camera: allow device to append camera parameters
Overload using include/camera/CameraParametersExtra.h in device tree to add device specific camera parameters. Change-Id: Ie79380f4e49661348df4b2028ddf48daa67fca2d
Diffstat (limited to 'include/camera/CameraParameters.h')
-rw-r--r--include/camera/CameraParameters.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/camera/CameraParameters.h b/include/camera/CameraParameters.h
index ba33ffe..74517b4 100644
--- a/include/camera/CameraParameters.h
+++ b/include/camera/CameraParameters.h
@@ -19,6 +19,7 @@
#include <utils/KeyedVector.h>
#include <utils/String8.h>
+#include <camera/CameraParametersExtra.h>
namespace android {
@@ -683,6 +684,10 @@ public:
// High-dynamic range mode
static const char LIGHTFX_HDR[];
+#ifdef CAMERA_PARAMETERS_EXTRA_H
+CAMERA_PARAMETERS_EXTRA_H
+#endif
+
/**
* Returns the the supported preview formats as an enum given in graphics.h
* corrsponding to the format given in the input string or -1 if no such