summaryrefslogtreecommitdiffstats
path: root/libcamera/LibCameraWrapper.h
diff options
context:
space:
mode:
authoratinm <atinm.dev@gmail.com>2011-11-18 16:41:18 -0500
committeratinm <atinm.dev@gmail.com>2011-11-18 16:41:18 -0500
commitfd7c880b8d0f591186994c206463373869e9ec4f (patch)
treea9776d5dc386b04e2af3b48a7b445bc3fb2fb96c /libcamera/LibCameraWrapper.h
parentd3b4a53f4a9c297a73ccaad01eee9ad6586a5569 (diff)
downloaddevice_samsung_aries-common-fd7c880b8d0f591186994c206463373869e9ec4f.zip
device_samsung_aries-common-fd7c880b8d0f591186994c206463373869e9ec4f.tar.gz
device_samsung_aries-common-fd7c880b8d0f591186994c206463373869e9ec4f.tar.bz2
Initial crap
Change-Id: Iea55d594ffc24d554371006682cc954dc91d185d
Diffstat (limited to 'libcamera/LibCameraWrapper.h')
-rw-r--r--libcamera/LibCameraWrapper.h65
1 files changed, 0 insertions, 65 deletions
diff --git a/libcamera/LibCameraWrapper.h b/libcamera/LibCameraWrapper.h
deleted file mode 100644
index 79c7586..0000000
--- a/libcamera/LibCameraWrapper.h
+++ /dev/null
@@ -1,65 +0,0 @@
-#ifndef ANDROID_HARDWARE_LIB_CAMERA_WRAPPER_H
-#define ANDROID_HARDWARE_LIB_CAMERA_WRAPPER_H
-
-#include <camera/CameraHardwareInterface.h>
-
-namespace android {
-
-class LibCameraWrapper : public CameraHardwareInterface {
-public:
- virtual sp<IMemoryHeap> getPreviewHeap() const;
- virtual sp<IMemoryHeap> getRawHeap() const;
-
- virtual void setCallbacks(notify_callback notify_cb,
- data_callback data_cb,
- data_callback_timestamp data_cb_timestamp,
- void *user);
-
- virtual void enableMsgType(int32_t msgType);
- virtual void disableMsgType(int32_t msgType);
- virtual bool msgTypeEnabled(int32_t msgType);
-
- virtual status_t startPreview();
- virtual bool useOverlay();
- virtual status_t setOverlay(const sp<Overlay> &overlay);
- virtual void stopPreview();
- virtual bool previewEnabled();
-
- virtual status_t startRecording();
- virtual void stopRecording();
- virtual bool recordingEnabled();
- virtual void releaseRecordingFrame(const sp<IMemory> &mem);
-
- virtual status_t autoFocus();
- virtual status_t cancelAutoFocus();
- virtual status_t takePicture();
- virtual status_t cancelPicture();
- virtual status_t dump(int fd, const Vector<String16> &args) const;
- virtual status_t setParameters(const CameraParameters& params);
- virtual CameraParameters getParameters() const;
- virtual status_t sendCommand(int32_t command, int32_t arg1,
- int32_t arg2);
- virtual void release();
-
- static sp<CameraHardwareInterface> createInstance(int cameraId);
-
-private:
- LibCameraWrapper(int CameraId);
- virtual ~LibCameraWrapper();
-
- sp<CameraHardwareInterface> mLibInterface;
- int mCameraId;
- bool mVideoMode;
- bool mContinuousAf;
- bool mFixFocus;
- bool mTouchFocus;
- int mTouchFocusX;
- int mTouchFocusY;
-
- static wp<CameraHardwareInterface> singleton[2];
-
-};
-
-}; // namespace android
-
-#endif