summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry MERLE <thierry.merle@free.fr>2008-07-04 19:26:40 +0200
committerThierry MERLE <thierry.merle@free.fr>2008-07-04 19:26:40 +0200
commita2ba6df565553cab552748eed038e5ed50a83fe8 (patch)
tree0674f5d18fe7b3dc6f60119ccd6b197069ec7428
parent47ca18f618040bcbca758432b8d8a28af5ac3bc8 (diff)
downloadmediapointer-dvb-s2-a2ba6df565553cab552748eed038e5ed50a83fe8.tar.gz
mediapointer-dvb-s2-a2ba6df565553cab552748eed038e5ed50a83fe8.tar.bz2
v4l2-library: libv4l-update-documentation.patch
From: Hans de Goede <j.w.r.degoede@hhs.nl> Some documentation updates to bring the documentation up2date with the latest changes. Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
-rw-r--r--v4l2-apps/lib/libv4l/INSTALL4
-rw-r--r--v4l2-apps/lib/libv4l/README14
-rw-r--r--v4l2-apps/lib/libv4l/TODO14
3 files changed, 11 insertions, 21 deletions
diff --git a/v4l2-apps/lib/libv4l/INSTALL b/v4l2-apps/lib/libv4l/INSTALL
deleted file mode 100644
index b8eb042ee..000000000
--- a/v4l2-apps/lib/libv4l/INSTALL
+++ /dev/null
@@ -1,4 +0,0 @@
-To compile simply type "make" after that you can find the compiled libraries
-and wrappers under the lib dir, public headers are under the include dir.
-
-Sorry no make install target for now.
diff --git a/v4l2-apps/lib/libv4l/README b/v4l2-apps/lib/libv4l/README
index c588947b5..e795e7d81 100644
--- a/v4l2-apps/lib/libv4l/README
+++ b/v4l2-apps/lib/libv4l/README
@@ -62,12 +62,20 @@ The preloadable libv4l1 wrapper which adds v4l2 device compatibility to v4l1
applications is called v4l1compat.so. The preloadable libv4l1 wrapper which
adds v4l2 device compatibility to v4l1 applications is called v4l2convert.so
-Example usage:
-$ export LD_LIBRARY_PATH=`pwd`/lib
-$ export LD_PRELOAD=`pwd`/lib/v4l1compat.so
+Example usage (after install in default location):
+$ export LD_PRELOAD=/usr/local/lib/v4l1compat.so
$ camorama
+Installation Instructions
+-------------------------
+
+Simple type the following commands from the libv4l-x.y.z directory
+(adjusting DESTDIR as desired):
+make
+make install DESTDIR=/usr/local
+
+
FAQ
---
diff --git a/v4l2-apps/lib/libv4l/TODO b/v4l2-apps/lib/libv4l/TODO
index 0170e6b14..f3f9ff527 100644
--- a/v4l2-apps/lib/libv4l/TODO
+++ b/v4l2-apps/lib/libv4l/TODO
@@ -1,11 +1,3 @@
--protect open() against being called from different threads simultaniously,
- we are then thread safe except for the jpeg decompression under the following
- assumption:
- * We assume all device setup (for a single device) is done from a single
- thread
- * We assume that at the time an videodev fd gets closed all other threads
- which may have been using it have stopped using it.
-
-add support for setting / getting the number of read buffers
-add code to v4l2_read to not return frames more then say 5 seconds old
@@ -15,12 +7,6 @@
impossible for overlays) can be done, so that it will no longer be
necessary to implement CGMBUF in the kernel for each driver.
--add (configurable) support for alsa faking enum_fmt to libv4l2 ?
-
-check v4l2_field during conversion
--add make install target
-
-add conversion from bgr24 to yuv420
-
--add v4l2_dup, make re-entrant safe (for gstreamer v4l2 support)