aboutsummaryrefslogtreecommitdiffstats
path: root/o3000_private.h
diff options
context:
space:
mode:
authorSophia Giannikakis <giannikakis@stettbacher.ch>2019-10-21 15:36:07 +0200
committerSophia Giannikakis <giannikakis@stettbacher.ch>2019-10-21 15:36:07 +0200
commitdcf473889815a80134719160503fe9dfe846ed2c (patch)
tree9f5419d1b91ce6e15e0ef4f0fb176cac504193f7 /o3000_private.h
parentwindows instructions added (diff)
downloado3000-driver-dcf473889815a80134719160503fe9dfe846ed2c.tar.gz
o3000-driver-dcf473889815a80134719160503fe9dfe846ed2c.zip
video cache wrap-around check added
Diffstat (limited to 'o3000_private.h')
-rw-r--r--o3000_private.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/o3000_private.h b/o3000_private.h
index d6e3490..fb55ecf 100644
--- a/o3000_private.h
+++ b/o3000_private.h
@@ -40,6 +40,13 @@
#define FALSE 0 ///< FALSE value must be 0
+/**
+ * Maximum image size ever expected.
+ *
+ * @note The size must be a multiple of 512 bytes!
+ */
+#define MAX_IMAGE_SIZE (1280*964*2+IMAGE_HEADER_SIZE)
+
/**
* Image frame synchronization state