-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/fake-pipeline2/camera_hw.h b/v3/fake-pipeline2/camera_hw.h index 30a1fb4..3de2e22 100755 --- a/v3/fake-pipeline2/camera_hw.h +++ b/v3/fake-pipeline2/camera_hw.h @@ -52,6 +52,9 @@ struct VideoInfo { int idx; int fd; + + int tempbuflen; + int dev_status; }; extern int camera_open(struct VideoInfo *cam_dev); @@ -65,6 +68,8 @@ extern int stop_capturing(struct VideoInfo *vinfo); extern int releasebuf_and_stop_capturing(struct VideoInfo *vinfo); extern uintptr_t get_frame_phys(struct VideoInfo *vinfo); +extern void set_device_status(struct VideoInfo *vinfo); +extern int get_device_status(struct VideoInfo *vinfo); extern void *get_frame(struct VideoInfo *vinfo); extern void *get_picture(struct VideoInfo *vinfo); |