summaryrefslogtreecommitdiffhomepage
path: root/video-ps3eye/module.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-03-08 06:05:45 +0100
committerStanislaw Halik <sthalik@misaki.pl>2020-03-08 06:05:45 +0100
commit8babfb4caff1c32d74a4f58d28eba13bd3b23f21 (patch)
tree9b0a8f4f847bfe41a7ada02b67b00fe0972aa1d7 /video-ps3eye/module.hpp
parent98502444b0c5881797e4833ee1fc79388b94ba82 (diff)
video/ps3eye: copy from memory mapping
Diffstat (limited to 'video-ps3eye/module.hpp')
-rw-r--r--video-ps3eye/module.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/video-ps3eye/module.hpp b/video-ps3eye/module.hpp
index 6e0addfc..957e221e 100644
--- a/video-ps3eye/module.hpp
+++ b/video-ps3eye/module.hpp
@@ -28,6 +28,7 @@ struct ps3eye_camera final : video::impl::camera
shm_wrapper shm { "ps3eye-driver-shm", nullptr, sizeof(ps3eye::shm) };
settings s;
frame fr;
+ unsigned char data[640 * 480 * 3] = {};
int framerate = 30;
bool open = false;
unsigned timecode = 0;