[Pkg-scicomp-devel] Bug#536041: libhighgui1: please backport support for V4L2_PIX_FMT_JPEG from upstream

Luca Bigliardi shammash at artha.org
Tue Jul 7 01:23:16 UTC 2009


Package: libhighgui1
Version: 1.0.0-6.1
Severity: normal
Tags: patch


Hi,
please consider to backport this one-line change to
opencv/highgui in order to add support for JPEG cameras:

--- trunk/opencv/src/highgui/cvcap_v4l.cpp	2009/02/23 14:07:11	1603
+++ trunk/opencv/src/highgui/cvcap_v4l.cpp	2009/02/23 19:31:13	1604
@@ -553,7 +553,8 @@
       /* support for MJPEG is only available with libjpeg and gcc,
 	 because it's use libjepg and fmemopen()
       */
-  if (try_palette_v4l2(capture, V4L2_PIX_FMT_MJPEG) == 0)
+  if (try_palette_v4l2(capture, V4L2_PIX_FMT_MJPEG) == 0 || 
+      try_palette_v4l2(capture, V4L2_PIX_FMT_JPEG) == 0)
   {
     PALETTE_MJPEG = 1;
   }



http://opencvlibrary.svn.sourceforge.net/viewvc/opencvlibrary/trunk/opencv/src/highgui/cvcap_v4l.cpp?r1=1604&r2=1603



Thank you,

luca

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30.1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libhighgui1 depends on:
ii  libatk1.0-0            1.26.0-1          The ATK accessibility toolkit
ii  libc6                  2.9-18            GNU C Library: Shared libraries
ii  libcairo2              1.8.8-2           The Cairo 2D vector graphics libra
ii  libcv1                 1.0.0-6.1         computer vision library
ii  libfontconfig1         2.6.0-4           generic font configuration library
ii  libfreetype6           2.3.9-5           FreeType 2 font engine, shared lib
ii  libgcc1                1:4.4.0-10        GCC support library
ii  libglib2.0-0           2.20.4-1          The GLib library of C routines
ii  libgomp1               4.4.0-10          GCC OpenMP (GOMP) support library
ii  libgtk2.0-0            2.16.4-1          The GTK+ graphical user interface 
ii  libjasper1             1.900.1-6         The JasPer JPEG-2000 runtime libra
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libpango1.0-0          1.24.3-1          Layout and rendering of internatio
ii  libpng12-0             1.2.37-1          PNG library - runtime
ii  libstdc++6             4.4.0-10          The GNU Standard C++ Library v3
ii  libtiff4               3.8.2-12          Tag Image File Format (TIFF) libra
ii  zlib1g                 1:1.2.3.3.dfsg-14 compression library - runtime

libhighgui1 recommends no packages.

libhighgui1 suggests no packages.

-- no debconf information





More information about the Pkg-scicomp-devel mailing list