From fd7c880b8d0f591186994c206463373869e9ec4f Mon Sep 17 00:00:00 2001 From: atinm Date: Fri, 18 Nov 2011 16:41:18 -0500 Subject: Initial crap Change-Id: Iea55d594ffc24d554371006682cc954dc91d185d --- libcamera/LibCameraWrapper.h | 65 -------------------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 libcamera/LibCameraWrapper.h (limited to 'libcamera/LibCameraWrapper.h') 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 - -namespace android { - -class LibCameraWrapper : public CameraHardwareInterface { -public: - virtual sp getPreviewHeap() const; - virtual sp 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); - virtual void stopPreview(); - virtual bool previewEnabled(); - - virtual status_t startRecording(); - virtual void stopRecording(); - virtual bool recordingEnabled(); - virtual void releaseRecordingFrame(const sp &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 &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 createInstance(int cameraId); - -private: - LibCameraWrapper(int CameraId); - virtual ~LibCameraWrapper(); - - sp mLibInterface; - int mCameraId; - bool mVideoMode; - bool mContinuousAf; - bool mFixFocus; - bool mTouchFocus; - int mTouchFocusX; - int mTouchFocusY; - - static wp singleton[2]; - -}; - -}; // namespace android - -#endif -- cgit v1.1