summaryrefslogtreecommitdiffstats
path: root/libcamera/SecCameraHWInterface.h
diff options
context:
space:
mode:
authorJeong-Seok Yang <jseok.yang@samsung.com>2011-06-08 19:26:44 +0900
committerWu-cheng Li <wuchengli@google.com>2011-06-28 15:13:15 +0800
commit0f98ce33ae0003bfff7b6140e22614d5b7b0ba26 (patch)
treeb5408d484eabdaa6e9a22fe4a98d51c02f1d4dc8 /libcamera/SecCameraHWInterface.h
parentb8e27e28cb86bc1b26b021ba5b59d1cbf8cf2f33 (diff)
downloaddevice_samsung_crespo-0f98ce33ae0003bfff7b6140e22614d5b7b0ba26.zip
device_samsung_crespo-0f98ce33ae0003bfff7b6140e22614d5b7b0ba26.tar.gz
device_samsung_crespo-0f98ce33ae0003bfff7b6140e22614d5b7b0ba26.tar.bz2
libcamera: for checking invalid parameters
bug:4353744 android.hardware.cts.CameraTest#testInvalidParameters fails must fix android.hardware.cts.CameraTest#testInvalidParameters was failed when checking focus mode with invalid parameter because if the camera didn't set scene mode, libcamera didn't check if the focus mode is valid or not. Add checking the parameter at that time. Change-Id: I22fb02b7fcfcdb7f5638adf91d5bfd881c0d89e1 Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
Diffstat (limited to 'libcamera/SecCameraHWInterface.h')
-rw-r--r--libcamera/SecCameraHWInterface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcamera/SecCameraHWInterface.h b/libcamera/SecCameraHWInterface.h
index 6a8fcef..6b10b6b 100644
--- a/libcamera/SecCameraHWInterface.h
+++ b/libcamera/SecCameraHWInterface.h
@@ -154,6 +154,8 @@ private:
void setSkipFrame(int frame);
bool isSupportedPreviewSize(const int width,
const int height) const;
+ bool isSupportedParameter(const char * const parm,
+ const char * const supported_parm) const;
/* used by auto focus thread to block until it's told to run */
mutable Mutex mFocusLock;
mutable Condition mFocusCondition;