-rw-r--r-- | v3/EmulatedBaseCamera.cpp | 11 | ||||
-rw-r--r-- | v3/EmulatedBaseCamera.h | 9 | ||||
-rw-r--r-- | v3/EmulatedCamera3.cpp | 11 | ||||
-rw-r--r-- | v3/EmulatedCamera3.h | 2 | ||||
-rwxr-xr-x | v3/EmulatedCameraFactory.cpp | 43 | ||||
-rwxr-xr-x | v3/EmulatedFakeCamera3.cpp | 24 | ||||
-rwxr-xr-x | v3/EmulatedFakeCamera3.h | 4 | ||||
-rwxr-xr-x | v3/fake-pipeline2/Sensor.cpp | 5 | ||||
-rwxr-xr-x | v3/fake-pipeline2/camera_hw.cpp | 190 | ||||
-rwxr-xr-x | v3/fake-pipeline2/camera_hw.h | 5 |
10 files changed, 201 insertions, 103 deletions
diff --git a/v3/EmulatedFakeCamera3.h b/v3/EmulatedFakeCamera3.h index 6061fb2..3c47531 100755 --- a/v3/EmulatedFakeCamera3.h +++ b/v3/EmulatedFakeCamera3.h @@ -78,6 +78,8 @@ public: virtual status_t closeCamera(); virtual status_t getCameraInfo(struct camera_info *info); + virtual void setCameraStatus(camera_status_t status); + virtual camera_status_t getCameraStatus(); /**************************************************************************** * EmulatedCamera3 abstract API implementation @@ -250,7 +252,7 @@ private: friend class JpegCompressor; unsigned int mSupportCap; unsigned int mSupportRotate; - + camera_status_t mCameraStatus; /** Processing thread for sending out results */ class ReadoutThread : public Thread, private JpegCompressor::JpegListener { |