summaryrefslogtreecommitdiffstats
path: root/libcamera/SecCamera.h
diff options
context:
space:
mode:
authorJeong-Seok Yang <jseok.yang@samsung.com>2010-11-03 01:23:38 -0700
committerMaarten Hooft <mthooft@google.com>2010-11-03 22:55:25 -0700
commitb1a586852b13fe603c87d8bca3a5509fc1bb7a65 (patch)
treeadc5b169e41c3b806d3a37cdca76872accc2479c /libcamera/SecCamera.h
parent7e4e2689b809727d7ac84b732bb9b1bec8145f01 (diff)
downloaddevice_samsung_crespo-b1a586852b13fe603c87d8bca3a5509fc1bb7a65.zip
device_samsung_crespo-b1a586852b13fe603c87d8bca3a5509fc1bb7a65.tar.gz
device_samsung_crespo-b1a586852b13fe603c87d8bca3a5509fc1bb7a65.tar.bz2
libcamera: for reliability
1. Adding checking preview status in CameraHardwareSec::stopPreview(). So if its status is not previewing, It doesn't call SecCamera::stopPreview. Thus, buffers what be used by picture thread will not be cleared. 2. Adding killing thread and clear buffers in CameraHardwareSec::cancelPicture() 3. CameraHardwareSec::SplitFrame was modified to remove potential problem about memory access. fix : bug 3093595 Change-Id: Iefa85df297a6abdbb5fb7772b58e0c949aeda0de Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
Diffstat (limited to 'libcamera/SecCamera.h')
-rw-r--r--libcamera/SecCamera.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcamera/SecCamera.h b/libcamera/SecCamera.h
index 700b653..e1460b9 100644
--- a/libcamera/SecCamera.h
+++ b/libcamera/SecCamera.h
@@ -328,6 +328,7 @@ public:
unsigned int getRecPhyAddrY(int);
unsigned int getRecPhyAddrC(int);
#endif
+ int cancelPicture(void);
int flagPreviewStart(void);
int getPreview(void);
int setPreviewSize(int width, int height, int pixel_format);