-rw-r--r-- | v3/EmulatedBaseCamera.cpp | 9 | ||||
-rw-r--r-- | v3/EmulatedBaseCamera.h | 3 | ||||
-rw-r--r-- | v3/EmulatedCamera3.cpp | 9 | ||||
-rw-r--r-- | v3/EmulatedCamera3.h | 3 | ||||
-rw-r--r--[-rwxr-xr-x] | v3/EmulatedCameraFactory.cpp | 114 | ||||
-rw-r--r--[-rwxr-xr-x] | v3/EmulatedCameraFactory.h | 5 | ||||
-rw-r--r-- | v3/EmulatedFakeCamera3.cpp | 27 | ||||
-rw-r--r-- | v3/EmulatedFakeCamera3.h | 3 | ||||
-rw-r--r--[-rwxr-xr-x] | v3/fake-pipeline2/Sensor.cpp | 72 | ||||
-rw-r--r--[-rwxr-xr-x] | v3/fake-pipeline2/Sensor.h | 1 | ||||
-rw-r--r--[-rwxr-xr-x] | v3/fake-pipeline2/camera_hw.cpp | 5 | ||||
-rw-r--r--[-rwxr-xr-x] | v3/inc/DebugUtils.h | 5 |
12 files changed, 178 insertions, 78 deletions
diff --git a/v3/EmulatedCameraFactory.h b/v3/EmulatedCameraFactory.h index 504f842..c844c56 100755..100644 --- a/v3/EmulatedCameraFactory.h +++ b/v3/EmulatedCameraFactory.h @@ -78,6 +78,9 @@ public: ***************************************************************************/ public: + EmulatedBaseCamera* getValidCameraOject(void); + + int getValidCameraOjectId(void); /* Opens (connects to) a camera device. * This method is called in response to hw_module_methods_t::open callback. */ @@ -151,6 +154,8 @@ public: void onStatusChanged(int cameraId, int newStatus); + int getValidCameraId(void); + /**************************************************************************** * Private API ***************************************************************************/ |