summaryrefslogtreecommitdiffhomepage
path: root/video-ps3eye/shm-layout.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-03-07 10:30:55 +0100
committerStanislaw Halik <sthalik@misaki.pl>2020-03-07 10:30:55 +0100
commit9d0136249cade3469ac70f71cef4a428fecc7a9c (patch)
tree4e808eb055a1bac608ca7bc08e9b3ec95c0bdd76 /video-ps3eye/shm-layout.hpp
parentadb5f89b018da33ee7e3aa8a48e5b742129da161 (diff)
video/ps3eye: prototype open driver impl
Diffstat (limited to 'video-ps3eye/shm-layout.hpp')
-rw-r--r--video-ps3eye/shm-layout.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/video-ps3eye/shm-layout.hpp b/video-ps3eye/shm-layout.hpp
index eba4b8b0..2335eab8 100644
--- a/video-ps3eye/shm-layout.hpp
+++ b/video-ps3eye/shm-layout.hpp
@@ -8,7 +8,7 @@ struct shm_in {
enum class status : uint8_t { starting, running, fail, terminate, };
uint32_t settings_updated;
- uint16_t framerate;
+ uint8_t framerate;
mode resolution;
status status_;
//uint8_t sharpness, contrast, brightness hue, saturation;
@@ -19,11 +19,11 @@ struct shm_in {
struct shm_out {
uint32_t timecode;
uint32_t settings_updated_ack;
+ char error_string[256];
union {
uint8_t data_320x240[320][240][3];
uint8_t data_640x480[640][480][3];
};
- char error_string[256];
};
struct shm {