-rwxr-xr-x | v3/fake-pipeline2/Sensor.cpp | 61 | ||||
-rwxr-xr-x | v3/fake-pipeline2/camera_hw.cpp | 9 | ||||
-rwxr-xr-x | v3/fake-pipeline2/camera_hw.h | 1 |
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; |