From a2ba6df565553cab552748eed038e5ed50a83fe8 Mon Sep 17 00:00:00 2001 From: Thierry MERLE Date: Fri, 4 Jul 2008 19:26:40 +0200 Subject: v4l2-library: libv4l-update-documentation.patch From: Hans de Goede Some documentation updates to bring the documentation up2date with the latest changes. Signed-off-by: Hans de Goede Signed-off-by: Thierry MERLE --- v4l2-apps/lib/libv4l/INSTALL | 4 ---- v4l2-apps/lib/libv4l/README | 14 +++++++++++--- v4l2-apps/lib/libv4l/TODO | 14 -------------- 3 files changed, 11 insertions(+), 21 deletions(-) delete mode 100644 v4l2-apps/lib/libv4l/INSTALL (limited to 'v4l2-apps/lib/libv4l') 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) -- cgit v1.2.3