summaryrefslogtreecommitdiffstats
path: root/libcamera/SecCamera.h
diff options
context:
space:
mode:
authorJeong-Seok Yang <jseok.yang@samsung.com>2010-09-30 15:01:07 -0700
committerSimon Wilson <simonwilson@google.com>2010-10-04 12:56:59 -0700
commitdf1a5b0d586e0d684b22ca02c52da9d846ef374d (patch)
tree5ec193796bcf77635d08e24f4f98b3fe24f3cb77 /libcamera/SecCamera.h
parent7b8b6c31705402c57dae994060030bb90bad917d (diff)
downloaddevice_samsung_crespo-df1a5b0d586e0d684b22ca02c52da9d846ef374d.zip
device_samsung_crespo-df1a5b0d586e0d684b22ca02c52da9d846ef374d.tar.gz
device_samsung_crespo-df1a5b0d586e0d684b22ca02c52da9d846ef374d.tar.bz2
libcamera: defensive code for protecting ESD
Change-Id: I3333df8437bb54897df8594229ffcc1b23221f7f Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
Diffstat (limited to 'libcamera/SecCamera.h')
-rw-r--r--libcamera/SecCamera.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libcamera/SecCamera.h b/libcamera/SecCamera.h
index 282eda7..38f706e 100644
--- a/libcamera/SecCamera.h
+++ b/libcamera/SecCamera.h
@@ -719,6 +719,9 @@ public:
int setDataLineCheckStop(void);
int setDefultIMEI(int imei);
int getDefultIMEI(void);
+#ifdef ENABLE_ESD_PREVIEW_CHECK
+ int getCameraSensorESDStatus(void);
+#endif // ENABLE_ESD_PREVIEW_CHECK
#endif
void setFrameRate(int frame_rate);
@@ -852,6 +855,10 @@ private:
int m_postview_offset;
+#ifdef ENABLE_ESD_PREVIEW_CHECK
+ int m_esd_check_count;
+#endif // ENABLE_ESD_PREVIEW_CHECK
+
exif_attribute_t mExifInfo;
struct fimc_buffer m_buffers_c[MAX_BUFFERS];