-rw-r--r-- | v3/EmulatedFakeCamera3.cpp | 51 | ||||
-rw-r--r-- | v3/EmulatedFakeCamera3.h | 5 | ||||
-rw-r--r-- | v3/fake-pipeline2/Sensor.cpp | 80 | ||||
-rw-r--r-- | v3/fake-pipeline2/Sensor.h | 8 | ||||
-rw-r--r-- | v3/fake-pipeline2/camera_hw.cpp | 14 | ||||
-rw-r--r--[-rwxr-xr-x] | v3/fake-pipeline2/camera_hw.h | 2 |
6 files changed, 122 insertions, 38 deletions
diff --git a/v3/fake-pipeline2/camera_hw.h b/v3/fake-pipeline2/camera_hw.h index 3de2e22..aa1ee66 100755..100644 --- a/v3/fake-pipeline2/camera_hw.h +++ b/v3/fake-pipeline2/camera_hw.h @@ -27,6 +27,7 @@ #define CLEAR(x) memset(&(x), 0, sizeof(x)) #define V4L2_ROTATE_ID 0x980922 //V4L2_CID_ROTATE + typedef struct FrameV4L2Info { struct v4l2_format format; struct v4l2_buffer buf; @@ -57,6 +58,7 @@ struct VideoInfo { int dev_status; }; + extern int camera_open(struct VideoInfo *cam_dev); extern void camera_close(struct VideoInfo *vinfo); extern int setBuffersFormat(struct VideoInfo *cam_dev); |