summaryrefslogtreecommitdiff
Diffstat
-rwxr-xr-xv3/fake-pipeline2/Sensor.cpp61
-rwxr-xr-xv3/fake-pipeline2/camera_hw.cpp9
-rwxr-xr-xv3/fake-pipeline2/camera_hw.h1
3 files changed, 43 insertions, 28 deletions
diff --git a/v3/fake-pipeline2/camera_hw.cpp b/v3/fake-pipeline2/camera_hw.cpp
index c98f154..4234f69 100755
--- a/v3/fake-pipeline2/camera_hw.cpp
+++ b/v3/fake-pipeline2/camera_hw.cpp
@@ -286,6 +286,15 @@ int putback_frame(struct VideoInfo *vinfo)
return 0;
}
+int putback_picture_frame(struct VideoInfo *vinfo)
+{
+
+ if (-1 == ioctl(vinfo->fd, VIDIOC_QBUF, &vinfo->picture.buf))
+ DBG_LOGB("QBUF failed error=%d\n", errno);
+
+ return 0;
+}
+
int start_picture(struct VideoInfo *vinfo, int rotate)
{
int ret = 0;