pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics opencv opencv-contrib-face: updated to 3.4.15



details:   https://anonhg.NetBSD.org/pkgsrc/rev/37e5d1066de0
branches:  trunk
changeset: 459421:37e5d1066de0
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Oct 06 21:10:24 2021 +0000

description:
opencv opencv-contrib-face: updated to 3.4.15

OpenCV 3.4.15 has been released. Bug fixes, optimizations and other enhancements are propagated into OpenCV 4.5.3.

Long-lived OpenCV 3.x release series is here since 2015. We are going to reduce support of 3.x branch in the future to move forward to OpenCV 5.0.

diffstat:

 graphics/opencv-contrib-face/Makefile                                               |   3 +-
 graphics/opencv-contrib-face/distinfo                                               |  24 +++--
 graphics/opencv/Makefile                                                            |   3 +-
 graphics/opencv/Makefile.common                                                     |   4 +-
 graphics/opencv/buildlink3.mk                                                       |   6 +-
 graphics/opencv/distinfo                                                            |  16 ++-
 graphics/opencv/hacks.mk                                                            |   4 +-
 graphics/opencv/patches/patch-modules_core_include_opencv2_core_bindings__utils.hpp |   6 +-
 graphics/opencv/patches/patch-modules_core_src_parallel.cpp                         |  15 +++
 graphics/opencv/patches/patch-modules_dnn_src_caffe_caffe__io.cpp                   |  15 +++
 graphics/opencv/patches/patch-modules_videoio_src_cap__v4l.cpp                      |  38 +++------
 11 files changed, 79 insertions(+), 55 deletions(-)

diffs (truncated from 362 to 300 lines):

diff -r 515f16719dba -r 37e5d1066de0 graphics/opencv-contrib-face/Makefile
--- a/graphics/opencv-contrib-face/Makefile     Wed Oct 06 19:47:39 2021 +0000
+++ b/graphics/opencv-contrib-face/Makefile     Wed Oct 06 21:10:24 2021 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.20 2021/08/15 14:23:58 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2021/10/06 21:10:24 adam Exp $
 
-PKGREVISION= 2
 .include "../../graphics/opencv/Makefile.common"
 
 DISTNAME=      opencv_contrib-${OPENCV_VERSION}
diff -r 515f16719dba -r 37e5d1066de0 graphics/opencv-contrib-face/distinfo
--- a/graphics/opencv-contrib-face/distinfo     Wed Oct 06 19:47:39 2021 +0000
+++ b/graphics/opencv-contrib-face/distinfo     Wed Oct 06 21:10:24 2021 +0000
@@ -1,13 +1,13 @@
-$NetBSD: distinfo,v 1.20 2021/09/23 06:14:17 wiz Exp $
+$NetBSD: distinfo,v 1.21 2021/10/06 21:10:24 adam Exp $
 
-SHA1 (opencv-3.4.9.tar.gz) = bcd0fafc9f1a240d92af9007c9f8098da601d7a5
-RMD160 (opencv-3.4.9.tar.gz) = 2ab36f669a70c876e739736e6b9daacabc5933fe
-SHA512 (opencv-3.4.9.tar.gz) = f445970ca39794fc5fbcaed8b506c6b332cbce911ed8487f490bca9a565c8ed3071816261a1803a8f4b43f58d66ca5eaab30be478c4b7ee973a6b6fc2b370869
-Size (opencv-3.4.9.tar.gz) = 87342965 bytes
-SHA1 (opencv_contrib-3.4.9.tar.gz) = ff8529d40acc5619ee046bbdcbebc7cc06eca5a7
-RMD160 (opencv_contrib-3.4.9.tar.gz) = db0189ee28092423ca79104ead9388d27c986ec0
-SHA512 (opencv_contrib-3.4.9.tar.gz) = 3a15425b1dd920c1050463426ef0c4a02db17487414b5e82c3f1222f01f5850df49cbf39fd56ede055d4882c30663b068260e7cb3138fa6cf12d66804c7b9e48
-Size (opencv_contrib-3.4.9.tar.gz) = 56142721 bytes
+SHA1 (opencv-3.4.15.tar.gz) = 2baab7f24f48f2dd2f4c72d47195da00f2ad317a
+RMD160 (opencv-3.4.15.tar.gz) = e7f75f9f9f6102ab7b88d04be4e00a0148eb623c
+SHA512 (opencv-3.4.15.tar.gz) = 775149e56f0aa94d53eb024404866380d97ce423ef1c8343ee8f12c1377e454ae182b2528e86949b5f7250e551d464bd1a5de2e2d9f0d0e1dd3dc188a1db790d
+Size (opencv-3.4.15.tar.gz) = 87661484 bytes
+SHA1 (opencv_contrib-3.4.15.tar.gz) = 146e72f072e660809d3659e527c7b1e3c0c1daa9
+RMD160 (opencv_contrib-3.4.15.tar.gz) = 39940294ebf80accb32698acd2417c988049e464
+SHA512 (opencv_contrib-3.4.15.tar.gz) = 639f5f869d68014fcc5041f5fe890c98635610d8b26c9964721e2fbe74ce8a12aef8f305364ff024fe0086bf2e7252c4fdd00a5de08854fdcd285c0f4916125a
+Size (opencv_contrib-3.4.15.tar.gz) = 55214581 bytes
 SHA1 (patch-3rdparty_ippicv_ippicv.cmake) = 14ce5de382084793ace32f43c6dfaf01f7ffb390
 SHA1 (patch-3rdparty_protobuf_src_google_protobuf_message__lite.cc) = f1b77384ea8110d2bf3a30ff3fe9f2fa39608caf
 SHA1 (patch-CMakeLists.txt) = 029368ab14163640d1651f572810eb8eb0c043d9
@@ -16,14 +16,16 @@
 SHA1 (patch-cmake_OpenCVDetectPython.cmake) = 4f3bfe574edf083ebc7e78d347355c58461b2c6b
 SHA1 (patch-cmake_OpenCVFindOpenEXR.cmake) = 202d0fdc84464d563dead955d5299b42098d52a6
 SHA1 (patch-cmake_checks_lapack__check.cpp) = dd25d34fff25e0d46651789cf5577391d7b48c81
-SHA1 (patch-modules_core_include_opencv2_core_bindings__utils.hpp) = 9018a6124fb840be5213450b1bbe353078b37029
+SHA1 (patch-modules_core_include_opencv2_core_bindings__utils.hpp) = 44a8602670141b2a3bc90c5e1c23a8e7f96a1d40
 SHA1 (patch-modules_core_include_opencv2_core_opencl_opencl__info.hpp) = f0cff24b2a760086f54ab66536bdfee4f4f1a6d7
 SHA1 (patch-modules_core_include_opencv2_core_types_c.h) = 75444e65677be99af8167f9060419d7970a7adaa
 SHA1 (patch-modules_core_src_check.cpp) = c8dac4e0fb6fa4a0dca6a2794bd598ba114e78b6
 SHA1 (patch-modules_core_src_downhill__simplex.cpp) = 1ad7c2fa126d15050b87785e8eec20dbe796b471
 SHA1 (patch-modules_core_src_hal__internal.cpp) = 22beba5ee93fc468999479227d7ef07397848b22
+SHA1 (patch-modules_core_src_parallel.cpp) = 9974e53f3be96782025dae3c64d9f1535d9bf0fd
 SHA1 (patch-modules_core_src_rand.cpp) = aa87ee5a538deb1a2ed3e89dd3dd4ee9b86ae0de
 SHA1 (patch-modules_core_src_system.cpp) = 3b7ac545585a430d28c7077f360357079f127580
+SHA1 (patch-modules_dnn_src_caffe_caffe__io.cpp) = 705963fb3227174c414874a8dd28a9f1219be070
 SHA1 (patch-modules_dnn_src_tensorflow_tf__importer.cpp) = 9b3628d91c2217c4b1ed77413efd4c0bf85758c4
 SHA1 (patch-modules_dnn_src_torch_torch__importer.cpp) = 814a3cc929569b691d01e34252dbd185f31161c2
 SHA1 (patch-modules_dnn_test__precomp.hpp) = 9bf15d32394f36b92e5fc5d57fd576b3860233ae
@@ -31,4 +33,4 @@
 SHA1 (patch-modules_imgcodecs_src_grfmt__exr.cpp) = 1a33d1b14e837b973b3ac2465d0b20fd6501e9bf
 SHA1 (patch-modules_imgproc_src_resize.cpp) = e842d5960c4c00162a34f46cb45cf69d0e9f21ce
 SHA1 (patch-modules_ts_src_ts.cpp) = b9a3992014b02dbd89d46375a2476385e91dc24c
-SHA1 (patch-modules_videoio_src_cap__v4l.cpp) = 275e72e3c146cf15845fbb7272b28e21f51d6fb4
+SHA1 (patch-modules_videoio_src_cap__v4l.cpp) = 847c9cf47c3fb71a2e05281544a03a5ed0d224a5
diff -r 515f16719dba -r 37e5d1066de0 graphics/opencv/Makefile
--- a/graphics/opencv/Makefile  Wed Oct 06 19:47:39 2021 +0000
+++ b/graphics/opencv/Makefile  Wed Oct 06 21:10:24 2021 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.98 2021/08/15 14:23:58 wiz Exp $
+# $NetBSD: Makefile,v 1.99 2021/10/06 21:10:24 adam Exp $
 
 .include "Makefile.common"
 
 DISTNAME=      opencv-${OPENCV_VERSION}
-PKGREVISION=   9
 
 MAINTAINER=    anthony.mallet%laas.fr@localhost
 COMMENT=       Library for computer vision problems
diff -r 515f16719dba -r 37e5d1066de0 graphics/opencv/Makefile.common
--- a/graphics/opencv/Makefile.common   Wed Oct 06 19:47:39 2021 +0000
+++ b/graphics/opencv/Makefile.common   Wed Oct 06 21:10:24 2021 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile.common,v 1.7 2021/09/10 12:09:27 nia Exp $
+# $NetBSD: Makefile.common,v 1.8 2021/10/06 21:10:24 adam Exp $
 # used by graphics/opencv/Makefile
 # used by graphics/opencv-contrib-face/Makefile
 #
 # DO NOT FORGET to regen graphics/opencv-contrib-face/distinfo!
 
-OPENCV_VERSION=        3.4.9
+OPENCV_VERSION=        3.4.15
 
 CATEGORIES=    graphics devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=opencv/}
diff -r 515f16719dba -r 37e5d1066de0 graphics/opencv/buildlink3.mk
--- a/graphics/opencv/buildlink3.mk     Wed Oct 06 19:47:39 2021 +0000
+++ b/graphics/opencv/buildlink3.mk     Wed Oct 06 21:10:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2021/08/15 14:23:58 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2021/10/06 21:10:24 adam Exp $
 
 BUILDLINK_TREE+=       opencv
 
@@ -6,7 +6,7 @@
 OPENCV_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.opencv+= opencv>=3.0.0
-BUILDLINK_ABI_DEPENDS.opencv?= opencv>=3.4.9nb9
+BUILDLINK_ABI_DEPENDS.opencv+= opencv>=3.4.9nb9
 BUILDLINK_PKGSRCDIR.opencv?=   ../../graphics/opencv
 
 pkgbase := opencv
@@ -14,7 +14,7 @@
 
 .include "../../devel/protobuf/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
-.if !empty(PKG_BUILD_OPTIONS.opencv:Mjasper)
+.if ${PKG_BUILD_OPTIONS.opencv:Mjasper}
 .  include "../../graphics/jasper/buildlink3.mk"
 .endif
 .include "../../graphics/libwebp/buildlink3.mk"
diff -r 515f16719dba -r 37e5d1066de0 graphics/opencv/distinfo
--- a/graphics/opencv/distinfo  Wed Oct 06 19:47:39 2021 +0000
+++ b/graphics/opencv/distinfo  Wed Oct 06 21:10:24 2021 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.51 2021/09/22 13:40:41 nia Exp $
+$NetBSD: distinfo,v 1.52 2021/10/06 21:10:24 adam Exp $
 
-SHA1 (opencv-3.4.9.tar.gz) = bcd0fafc9f1a240d92af9007c9f8098da601d7a5
-RMD160 (opencv-3.4.9.tar.gz) = 2ab36f669a70c876e739736e6b9daacabc5933fe
-SHA512 (opencv-3.4.9.tar.gz) = f445970ca39794fc5fbcaed8b506c6b332cbce911ed8487f490bca9a565c8ed3071816261a1803a8f4b43f58d66ca5eaab30be478c4b7ee973a6b6fc2b370869
-Size (opencv-3.4.9.tar.gz) = 87342965 bytes
+SHA1 (opencv-3.4.15.tar.gz) = 2baab7f24f48f2dd2f4c72d47195da00f2ad317a
+RMD160 (opencv-3.4.15.tar.gz) = e7f75f9f9f6102ab7b88d04be4e00a0148eb623c
+SHA512 (opencv-3.4.15.tar.gz) = 775149e56f0aa94d53eb024404866380d97ce423ef1c8343ee8f12c1377e454ae182b2528e86949b5f7250e551d464bd1a5de2e2d9f0d0e1dd3dc188a1db790d
+Size (opencv-3.4.15.tar.gz) = 87661484 bytes
 SHA1 (patch-3rdparty_ippicv_ippicv.cmake) = 14ce5de382084793ace32f43c6dfaf01f7ffb390
 SHA1 (patch-3rdparty_protobuf_src_google_protobuf_message__lite.cc) = f1b77384ea8110d2bf3a30ff3fe9f2fa39608caf
 SHA1 (patch-CMakeLists.txt) = 029368ab14163640d1651f572810eb8eb0c043d9
@@ -12,14 +12,16 @@
 SHA1 (patch-cmake_OpenCVDetectPython.cmake) = 4f3bfe574edf083ebc7e78d347355c58461b2c6b
 SHA1 (patch-cmake_OpenCVFindOpenEXR.cmake) = 202d0fdc84464d563dead955d5299b42098d52a6
 SHA1 (patch-cmake_checks_lapack__check.cpp) = dd25d34fff25e0d46651789cf5577391d7b48c81
-SHA1 (patch-modules_core_include_opencv2_core_bindings__utils.hpp) = 9018a6124fb840be5213450b1bbe353078b37029
+SHA1 (patch-modules_core_include_opencv2_core_bindings__utils.hpp) = 44a8602670141b2a3bc90c5e1c23a8e7f96a1d40
 SHA1 (patch-modules_core_include_opencv2_core_opencl_opencl__info.hpp) = f0cff24b2a760086f54ab66536bdfee4f4f1a6d7
 SHA1 (patch-modules_core_include_opencv2_core_types_c.h) = 75444e65677be99af8167f9060419d7970a7adaa
 SHA1 (patch-modules_core_src_check.cpp) = c8dac4e0fb6fa4a0dca6a2794bd598ba114e78b6
 SHA1 (patch-modules_core_src_downhill__simplex.cpp) = 1ad7c2fa126d15050b87785e8eec20dbe796b471
 SHA1 (patch-modules_core_src_hal__internal.cpp) = 22beba5ee93fc468999479227d7ef07397848b22
+SHA1 (patch-modules_core_src_parallel.cpp) = 9974e53f3be96782025dae3c64d9f1535d9bf0fd
 SHA1 (patch-modules_core_src_rand.cpp) = aa87ee5a538deb1a2ed3e89dd3dd4ee9b86ae0de
 SHA1 (patch-modules_core_src_system.cpp) = 3b7ac545585a430d28c7077f360357079f127580
+SHA1 (patch-modules_dnn_src_caffe_caffe__io.cpp) = 705963fb3227174c414874a8dd28a9f1219be070
 SHA1 (patch-modules_dnn_src_tensorflow_tf__importer.cpp) = 9b3628d91c2217c4b1ed77413efd4c0bf85758c4
 SHA1 (patch-modules_dnn_src_torch_torch__importer.cpp) = 814a3cc929569b691d01e34252dbd185f31161c2
 SHA1 (patch-modules_dnn_test__precomp.hpp) = 9bf15d32394f36b92e5fc5d57fd576b3860233ae
@@ -27,4 +29,4 @@
 SHA1 (patch-modules_imgcodecs_src_grfmt__exr.cpp) = 1a33d1b14e837b973b3ac2465d0b20fd6501e9bf
 SHA1 (patch-modules_imgproc_src_resize.cpp) = e842d5960c4c00162a34f46cb45cf69d0e9f21ce
 SHA1 (patch-modules_ts_src_ts.cpp) = b9a3992014b02dbd89d46375a2476385e91dc24c
-SHA1 (patch-modules_videoio_src_cap__v4l.cpp) = 275e72e3c146cf15845fbb7272b28e21f51d6fb4
+SHA1 (patch-modules_videoio_src_cap__v4l.cpp) = 847c9cf47c3fb71a2e05281544a03a5ed0d224a5
diff -r 515f16719dba -r 37e5d1066de0 graphics/opencv/hacks.mk
--- a/graphics/opencv/hacks.mk  Wed Oct 06 19:47:39 2021 +0000
+++ b/graphics/opencv/hacks.mk  Wed Oct 06 21:10:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.2 2014/01/23 15:14:30 wiz Exp $
+# $NetBSD: hacks.mk,v 1.3 2021/10/06 21:10:24 adam Exp $
 
 .if !defined(OPENCV_HACKS_MK)
 OPENCV_HACKS_MK=       defined
@@ -12,7 +12,7 @@
 SUBST_CLASSES+=                opt-hack
 SUBST_STAGE.opt-hack=  post-configure
 SUBST_MESSAGE.opt-hack=        Working around gcc-4.5.4 bug.
-SUBST_FILES.opt-hack=  ${WRKSRC}/modules/calib3d/CMakeFiles/opencv_calib3d.dir/build.make
+SUBST_FILES.opt-hack=  modules/calib3d/CMakeFiles/opencv_calib3d.dir/build.make
 SUBST_SED.opt-hack=    -e '/stereosgbm.cpp.o/s/-o /-fno-tree-pre -o /'
 .endif
 
diff -r 515f16719dba -r 37e5d1066de0 graphics/opencv/patches/patch-modules_core_include_opencv2_core_bindings__utils.hpp
--- a/graphics/opencv/patches/patch-modules_core_include_opencv2_core_bindings__utils.hpp       Wed Oct 06 19:47:39 2021 +0000
+++ b/graphics/opencv/patches/patch-modules_core_include_opencv2_core_bindings__utils.hpp       Wed Oct 06 21:10:24 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-modules_core_include_opencv2_core_bindings__utils.hpp,v 1.1 2020/04/18 22:01:33 joerg Exp $
+$NetBSD: patch-modules_core_include_opencv2_core_bindings__utils.hpp,v 1.2 2021/10/06 21:10:24 adam Exp $
 
---- modules/core/include/opencv2/core/bindings_utils.hpp.orig  2020-04-18 02:33:26.310026773 +0000
+--- modules/core/include/opencv2/core/bindings_utils.hpp.orig  2021-07-04 21:10:13.000000000 +0000
 +++ modules/core/include/opencv2/core/bindings_utils.hpp
 @@ -5,6 +5,7 @@
  #ifndef OPENCV_CORE_BINDINGS_UTILS_HPP
@@ -9,4 +9,4 @@
 +#include <sstream>
  #include <opencv2/core/async.hpp>
  #include <opencv2/core/detail/async_promise.hpp>
- 
+ #include <opencv2/core/utils/logger.hpp>
diff -r 515f16719dba -r 37e5d1066de0 graphics/opencv/patches/patch-modules_core_src_parallel.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/opencv/patches/patch-modules_core_src_parallel.cpp       Wed Oct 06 21:10:24 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-modules_core_src_parallel.cpp,v 1.1 2021/10/06 21:10:24 adam Exp $
+
+NetBSD support.
+
+--- modules/core/src/parallel.cpp.orig 2021-10-06 20:27:21.320272155 +0000
++++ modules/core/src/parallel.cpp
+@@ -55,7 +55,7 @@
+ 
+ #if defined __linux__ || defined __APPLE__ || defined __GLIBC__ \
+     || defined __HAIKU__ || defined __EMSCRIPTEN__ || defined __FreeBSD__ \
+-    || defined __OpenBSD__
++    || defined __OpenBSD__ || defined __NetBSD__
+     #include <unistd.h>
+     #include <stdio.h>
+     #include <sys/types.h>
diff -r 515f16719dba -r 37e5d1066de0 graphics/opencv/patches/patch-modules_dnn_src_caffe_caffe__io.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/opencv/patches/patch-modules_dnn_src_caffe_caffe__io.cpp Wed Oct 06 21:10:24 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-modules_dnn_src_caffe_caffe__io.cpp,v 1.1 2021/10/06 21:10:24 adam Exp $
+
+Avoid deprecated version of profobuf's SetTotalBytesLimit().
+
+--- modules/dnn/src/caffe/caffe_io.cpp.orig    2021-10-06 19:52:42.000000000 +0000
++++ modules/dnn/src/caffe/caffe_io.cpp
+@@ -1111,7 +1111,7 @@ static const int kProtoReadBytesLimit = 
+ 
+ bool ReadProtoFromBinary(ZeroCopyInputStream* input, Message *proto) {
+     CodedInputStream coded_input(input);
+-    coded_input.SetTotalBytesLimit(kProtoReadBytesLimit, 536870912);
++    coded_input.SetTotalBytesLimit(kProtoReadBytesLimit);
+ 
+     return proto->ParseFromCodedStream(&coded_input);
+ }
diff -r 515f16719dba -r 37e5d1066de0 graphics/opencv/patches/patch-modules_videoio_src_cap__v4l.cpp
--- a/graphics/opencv/patches/patch-modules_videoio_src_cap__v4l.cpp    Wed Oct 06 19:47:39 2021 +0000
+++ b/graphics/opencv/patches/patch-modules_videoio_src_cap__v4l.cpp    Wed Oct 06 21:10:24 2021 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-modules_videoio_src_cap__v4l.cpp,v 1.7 2020/08/24 07:08:03 tnn Exp $
+$NetBSD: patch-modules_videoio_src_cap__v4l.cpp,v 1.8 2021/10/06 21:10:24 adam Exp $
 
 Conditionalize settings not available in NetBSD's v4l2 emulation.
 Avoid non-standard integer types.
 
---- modules/videoio/src/cap_v4l.cpp.orig       2019-12-19 15:16:47.000000000 +0000
+--- modules/videoio/src/cap_v4l.cpp.orig       2021-07-04 21:10:13.000000000 +0000
 +++ modules/videoio/src/cap_v4l.cpp
-@@ -218,6 +218,14 @@ make & enjoy!
+@@ -215,6 +215,14 @@ make & enjoy!
  #include <fcntl.h>
  #include <errno.h>
  #include <sys/ioctl.h>
@@ -20,7 +20,7 @@
  #include <sys/types.h>
  #include <sys/mman.h>
  
-@@ -239,24 +247,30 @@ make & enjoy!
+@@ -236,24 +244,30 @@ make & enjoy!
  #endif
  
  // https://github.com/opencv/opencv/issues/13335
@@ -51,7 +51,7 @@
  
  #ifndef V4L2_PIX_FMT_Y10
  #define V4L2_PIX_FMT_Y10 v4l2_fourcc('Y', '1', '0', ' ')
-@@ -554,13 +568,17 @@ bool CvCaptureCAM_V4L::autosetup_capture
+@@ -555,7 +569,9 @@ bool CvCaptureCAM_V4L::autosetup_capture
              V4L2_PIX_FMT_NV12,
              V4L2_PIX_FMT_NV21,
              V4L2_PIX_FMT_SBGGR8,
@@ -61,15 +61,7 @@
              V4L2_PIX_FMT_SN9C10X,
  #ifdef HAVE_JPEG
              V4L2_PIX_FMT_MJPEG,
-             V4L2_PIX_FMT_JPEG,
- #endif
-+#ifdef V4L2_PIX_FMT_Y16
-             V4L2_PIX_FMT_Y16,
-+#endif
-             V4L2_PIX_FMT_Y10,
-             V4L2_PIX_FMT_GREY,
-     };
-@@ -616,9 +634,13 @@ bool CvCaptureCAM_V4L::convertableToRgb(
+@@ -618,9 +634,13 @@ bool CvCaptureCAM_V4L::convertableToRgb(
      case V4L2_PIX_FMT_UYVY:
      case V4L2_PIX_FMT_SBGGR8:
      case V4L2_PIX_FMT_SN9C10X:
@@ -83,17 +75,17 @@
      case V4L2_PIX_FMT_Y10:
      case V4L2_PIX_FMT_GREY:
      case V4L2_PIX_FMT_BGR24:
-@@ -653,7 +675,9 @@ void CvCaptureCAM_V4L::v4l2_create_frame
+@@ -655,7 +675,9 @@ void CvCaptureCAM_V4L::v4l2_create_frame
              channels = 1;
              size.height = size.height * 3 / 2; // "1.5" channels
              break;
 +#ifdef V4L2_PIX_FMT_Y16
          case V4L2_PIX_FMT_Y16:
 +#endif
+         case V4L2_PIX_FMT_Y12:



Home | Main Index | Thread Index | Old Index