summaryrefslogtreecommitdiffstats
path: root/libcamera/SecCamera.h
diff options
context:
space:
mode:
authorJeong-Seok Yang <jseok.yang@samsung.com>2010-10-29 11:36:12 -0700
committerSimon Wilson <simonwilson@google.com>2010-11-01 10:25:34 -0700
commit4467633b9cc4fc84d081484b10a46226957db408 (patch)
tree31aef575d0047ec1f956ebbc8962ec2c5fd269ab /libcamera/SecCamera.h
parentdb2f3352ea7c5451387e4642243eefce7ec14233 (diff)
downloaddevice_samsung_crespo-4467633b9cc4fc84d081484b10a46226957db408.zip
device_samsung_crespo-4467633b9cc4fc84d081484b10a46226957db408.tar.gz
device_samsung_crespo-4467633b9cc4fc84d081484b10a46226957db408.tar.bz2
libcamera: for enabling checking preview to defense ESD
Check preview status to prevent abnormal working by electronic discharge. Change-Id: Ie2d7f9de2cc2efa1c5d26bf445b9e75adff49650 Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
Diffstat (limited to 'libcamera/SecCamera.h')
-rw-r--r--libcamera/SecCamera.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcamera/SecCamera.h b/libcamera/SecCamera.h
index 71b643f..700b653 100644
--- a/libcamera/SecCamera.h
+++ b/libcamera/SecCamera.h
@@ -56,6 +56,8 @@ namespace android {
//#define SEND_YUV_RECORD_DATA //Define this to copy YUV data to encoder instead of sharing the physical address.
+#define ENABLE_ESD_PREVIEW_CHECK
+
#define INCLUDE_JPEG_THUMBNAIL 1 //Valid only for on chip JPEG encoder
#if defined PREVIEW_USING_MMAP