summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMartin Lucina <mato@kotelna.sk>2010-01-29 17:46:32 +0100
committerMartin Lucina <mato@kotelna.sk>2010-01-29 17:46:32 +0100
commit3c911c00e313641f811e02db8c23f3bf8302a4d5 (patch)
treef37bfde19a2ab58a584053d93fe059920cdf976c /README
Initial commit
Diffstat (limited to 'README')
-rw-r--r--README19
1 files changed, 19 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..373cb98
--- /dev/null
+++ b/README
@@ -0,0 +1,19 @@
+This repository contains some extra examples for 0MQ.
+
+zmq-camera
+----------
+
+To build the code you need to have the SDL development libraries
+(libsdl1.2-dev in Debian) and the Unicap library from
+http://www.unicap-imaging.org/ installed.
+
+The wire format for messages sent from sender to receiver is:
+<width, height, frame data>
+width: uint32_t: frame width in pixels (network byte order)
+height: uint32_t: frame height in pixels (network byte order)
+frame data: RGB24 frame data (R, G, B: 3 octets per pixel)
+
+TODO:
+
+- figure out why unicap sometimes fails to open the video device
+- figure out why ucil_convert_buffer sometimes fails