summaryrefslogtreecommitdiffstats
path: root/libcamera/SecCameraHWInterface.h
diff options
context:
space:
mode:
authorMingyu Kim <mingyu0.kim@samsung.com>2010-09-16 23:14:48 -0700
committerSimon Wilson <simonwilson@google.com>2010-09-20 12:10:04 -0700
commit41b855f0cea2e4e7d7afd16aa69fdcb6983a950c (patch)
treea26b1c0ddd47c13f07fef3174cb8ab8daab57cba /libcamera/SecCameraHWInterface.h
parentec04e3567b8e7439c9a7d2005d1ad21204b5f6c2 (diff)
downloaddevice_samsung_crespo-41b855f0cea2e4e7d7afd16aa69fdcb6983a950c.zip
device_samsung_crespo-41b855f0cea2e4e7d7afd16aa69fdcb6983a950c.tar.gz
device_samsung_crespo-41b855f0cea2e4e7d7afd16aa69fdcb6983a950c.tar.bz2
libcamera: supporting for front-facing camera
Signed-off-by: Mingyu Kim <mingyu0.kim@samsung.com> Change-Id: I5b55678032bb633103ee596288cd7b7770596b87
Diffstat (limited to 'libcamera/SecCameraHWInterface.h')
-rw-r--r--libcamera/SecCameraHWInterface.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcamera/SecCameraHWInterface.h b/libcamera/SecCameraHWInterface.h
index 4cf446c..1adb023 100644
--- a/libcamera/SecCameraHWInterface.h
+++ b/libcamera/SecCameraHWInterface.h
@@ -71,10 +71,10 @@ public:
int32_t arg2);
virtual void release();
- static sp<CameraHardwareInterface> createInstance();
+ static sp<CameraHardwareInterface> createInstance(int cameraId);
private:
- CameraHardwareSec();
+ CameraHardwareSec(int cameraId);
virtual ~CameraHardwareSec();
static wp<CameraHardwareInterface> singleton;
@@ -133,7 +133,7 @@ private:
}
};
#endif
- void initDefaultParameters();
+ void initDefaultParameters(int cameraId);
void initHeapLocked();
int previewThread();