platform/upstream/opencv.git
5 years agodnn(ocl4dnn): drop weights_buf
Alexander Alekhin [Sun, 30 Sep 2018 20:22:39 +0000 (20:22 +0000)]
dnn(ocl4dnn): drop weights_buf

- avoid memory access violation during "prefetch" stage

5 years agoMerge pull request #12667 from cv3d:fix/ts_report
Hamdi Sahloul [Sat, 29 Sep 2018 17:03:54 +0000 (02:03 +0900)]
Merge pull request #12667 from cv3d:fix/ts_report

TS: fix Python v2/v3 compatibility (#12667)

* TS: fix Python2.7 compatibility

* TS: fix Python3 compatibility

* py3: use integer division '/' => '//' instead of cast

5 years agoMerge pull request #12690 from cv3d:fix/ts_python_exe
Alexander Alekhin [Sat, 29 Sep 2018 16:39:04 +0000 (16:39 +0000)]
Merge pull request #12690 from cv3d:fix/ts_python_exe

5 years agoMerge pull request #12666 from tomoaki0705:cudevTestFailureLuvRGB
Alexander Alekhin [Sat, 29 Sep 2018 16:36:25 +0000 (16:36 +0000)]
Merge pull request #12666 from tomoaki0705:cudevTestFailureLuvRGB

5 years agoUtilize the currently running Python executable
Hamdi Sahloul [Sat, 29 Sep 2018 10:34:44 +0000 (19:34 +0900)]
Utilize the currently running Python executable

  especially if it matches the module being tested

5 years agofix test failure of cudev
Tomoaki Teshima [Sat, 29 Sep 2018 14:13:12 +0000 (23:13 +0900)]
fix test failure of cudev
  * follow the implementation of Luv2RGBfloat in imgproc/src/color_lab.cpp
  * loosen threshold in cudaimgproc

5 years agoMerge pull request #12682 from soonbro:patch-1
Alexander Alekhin [Sat, 29 Sep 2018 13:03:38 +0000 (16:03 +0300)]
Merge pull request #12682 from soonbro:patch-1

5 years agoMerge pull request #12676 from PWhiddy:patch-1
Alexander Alekhin [Sat, 29 Sep 2018 13:02:33 +0000 (16:02 +0300)]
Merge pull request #12676 from PWhiddy:patch-1

5 years agoMerge pull request #12661 from Slyce-Inc:fix-xcode10-bitcode
Alexander Alekhin [Sat, 29 Sep 2018 12:50:51 +0000 (12:50 +0000)]
Merge pull request #12661 from Slyce-Inc:fix-xcode10-bitcode

5 years agoMerge pull request #12576 from cv3d:fix/cuda/polar_to_cart
Alexander Alekhin [Sat, 29 Sep 2018 12:45:47 +0000 (12:45 +0000)]
Merge pull request #12576 from cv3d:fix/cuda/polar_to_cart

5 years agofix typo in FpsMeter.java
soonbro [Fri, 28 Sep 2018 10:13:39 +0000 (19:13 +0900)]
fix typo in FpsMeter.java

'mFramesCouner' -> 'mFramesCounter'

5 years agoMerge pull request #12659 from dkurt:js_features2d
Alexander Alekhin [Fri, 28 Sep 2018 16:18:09 +0000 (16:18 +0000)]
Merge pull request #12659 from dkurt:js_features2d

5 years agoMerge pull request #12630 from alalek:docs_blacklist_matlab
Alexander Alekhin [Fri, 28 Sep 2018 16:15:19 +0000 (16:15 +0000)]
Merge pull request #12630 from alalek:docs_blacklist_matlab

5 years agoFix Xcode version parsing error (affects bitcode generation)
Andrew Mroczkowski [Wed, 26 Sep 2018 21:20:37 +0000 (17:20 -0400)]
Fix Xcode version parsing error (affects bitcode generation)

The regex was only parsing for a single digit in the major version, causing Xcode 10 to be treated as version "1". Other parts of the script only turn on bitcode generation if the Xcode version is > 7.

5 years agoMerge pull request #12657 from alalek:docs_repair_cuda_section
Alexander Alekhin [Fri, 28 Sep 2018 09:45:49 +0000 (09:45 +0000)]
Merge pull request #12657 from alalek:docs_repair_cuda_section

5 years agoJavaScript bindings for features2d module
Dmitry Kurtaev [Wed, 26 Sep 2018 16:11:40 +0000 (19:11 +0300)]
JavaScript bindings for features2d module

5 years agoFix typo "wit" -> "with"
Peter Whidden [Thu, 27 Sep 2018 21:37:59 +0000 (14:37 -0700)]
Fix typo "wit" -> "with"

5 years agoMerge pull request #12660 from alalek:flann_drop_useless_mutex
Alexander Alekhin [Thu, 27 Sep 2018 19:46:59 +0000 (19:46 +0000)]
Merge pull request #12660 from alalek:flann_drop_useless_mutex

5 years agoMerge pull request #12637 from savuor:fix/instr_ipp_ocl
Rostislav Vasilikhin [Thu, 27 Sep 2018 19:39:06 +0000 (22:39 +0300)]
Merge pull request #12637 from savuor:fix/instr_ipp_ocl

Fixes for instrumentation of IPP and OCL (#12637)

* fixed warning about re-declaring variable when both IPP and instrumentation are enabled

* fixed segfault when no funName provided

* compilation fixed when both OCL and instrumentation are enabled

5 years agoMerge pull request #12671 from alalek:fix_build_warnings_3.4
Alexander Alekhin [Thu, 27 Sep 2018 16:23:05 +0000 (16:23 +0000)]
Merge pull request #12671 from alalek:fix_build_warnings_3.4

5 years agoMerge pull request #12568 from sturkmen72:patch-3
Alexander Alekhin [Thu, 27 Sep 2018 13:42:44 +0000 (13:42 +0000)]
Merge pull request #12568 from sturkmen72:patch-3

5 years agofix build warnings
Alexander Alekhin [Thu, 27 Sep 2018 13:31:31 +0000 (16:31 +0300)]
fix build warnings

5 years agoMerge pull request #12650 from alalek:dnn_ocl4dnn_verification_test
Alexander Alekhin [Thu, 27 Sep 2018 09:54:23 +0000 (12:54 +0300)]
Merge pull request #12650 from alalek:dnn_ocl4dnn_verification_test

* dnn(ocl4dnn): update kernel checks

* dnn: workaround for IDLF kernels on Intel iGPU

* dnn(test): remove "skip" check for unstable cases

5 years agoflann: drop useless mutex
Alexander Alekhin [Wed, 26 Sep 2018 16:37:44 +0000 (19:37 +0300)]
flann: drop useless mutex

5 years agoMerge pull request #12647 from alalek:cmake_js_cleanup
Alexander Alekhin [Wed, 26 Sep 2018 15:53:02 +0000 (18:53 +0300)]
Merge pull request #12647 from alalek:cmake_js_cleanup

* cmake: js cleanup

- avoid unnecessary 2 messages for other platforms
- drop MODULE_NAME variable

* js: cleanup build_js.py

5 years agoMerge pull request #12548 from alalek:videoio_backend_name
Vadim Pisarevsky [Wed, 26 Sep 2018 15:19:55 +0000 (15:19 +0000)]
Merge pull request #12548 from alalek:videoio_backend_name

5 years agoMerge pull request #12565 from dkurt:dnn_non_intel_gpu
Dmitry Kurtaev [Wed, 26 Sep 2018 13:27:00 +0000 (16:27 +0300)]
Merge pull request #12565 from dkurt:dnn_non_intel_gpu

* Remove isIntel check from deep learning layers

* Remove fp16->fp32 fallbacks where it's not necessary

* Fix Kernel::run to prevent localsize > globalsize

5 years agoFix #12542 (#12603)
Dmitry Kurtaev [Wed, 26 Sep 2018 13:08:51 +0000 (16:08 +0300)]
Fix #12542 (#12603)

* Fix #12542

* Remove ignore of non-virtual-dtor error

5 years agodocs: fix CUDA docs section
Alexander Alekhin [Wed, 26 Sep 2018 12:36:55 +0000 (15:36 +0300)]
docs: fix CUDA docs section

5 years agoMerge pull request #12644 from dkurt:dnn_out_layers_names
Alexander Alekhin [Tue, 25 Sep 2018 16:12:59 +0000 (16:12 +0000)]
Merge pull request #12644 from dkurt:dnn_out_layers_names

5 years agoadd Net::getUnconnectedOutLayersNames method
Dmitry Kurtaev [Tue, 25 Sep 2018 15:10:45 +0000 (18:10 +0300)]
add Net::getUnconnectedOutLayersNames method

5 years agoMerge pull request #12639 from tomoaki0705:fixFp16CudaFailure
Alexander Alekhin [Tue, 25 Sep 2018 13:19:51 +0000 (13:19 +0000)]
Merge pull request #12639 from tomoaki0705:fixFp16CudaFailure

5 years agoMerge pull request #12591 from sturkmen72:patch-6
Alexander Alekhin [Tue, 25 Sep 2018 10:05:15 +0000 (10:05 +0000)]
Merge pull request #12591 from sturkmen72:patch-6

5 years agofix CvFp16Test failure
Tomoaki Teshima [Tue, 25 Sep 2018 06:00:37 +0000 (15:00 +0900)]
fix CvFp16Test failure

5 years agoMerge pull request #12632 from mshabunin:move-opengl-sample
Alexander Alekhin [Mon, 24 Sep 2018 17:53:11 +0000 (17:53 +0000)]
Merge pull request #12632 from mshabunin:move-opengl-sample

5 years agoMerge pull request #12629 from cv3d:fix/opengl
Alexander Alekhin [Mon, 24 Sep 2018 11:32:07 +0000 (11:32 +0000)]
Merge pull request #12629 from cv3d:fix/opengl

5 years agoMoved OpenGL sample to opengl folder
Maksim Shabunin [Mon, 24 Sep 2018 10:09:18 +0000 (13:09 +0300)]
Moved OpenGL sample to opengl folder

5 years agoOpenGL: avoid losing precision in double-to-float conversion
Hamdi Sahloul [Mon, 24 Sep 2018 08:27:03 +0000 (17:27 +0900)]
OpenGL: avoid losing precision in double-to-float conversion

5 years agodocs: DOXYGEN_BLACKLIST CMake variable for modules exclusion
Alexander Alekhin [Mon, 24 Sep 2018 08:34:03 +0000 (11:34 +0300)]
docs: DOXYGEN_BLACKLIST CMake variable for modules exclusion

5 years agoMerge pull request #12614 from alalek:winpack_samples_python_launcher_update
Alexander Alekhin [Sun, 23 Sep 2018 13:37:36 +0000 (13:37 +0000)]
Merge pull request #12614 from alalek:winpack_samples_python_launcher_update

5 years agosamples: update winpack python samples launcher
Alexander Alekhin [Sat, 22 Sep 2018 17:15:40 +0000 (17:15 +0000)]
samples: update winpack python samples launcher

- accepts script parameter (allows drag & drop from 'explorer')
- use script dir instead of current dir (can launch samples from 'samples/dnn')
- added 'pause' to show error messages (about missing numpy) instead of instant closing

5 years agocuda::polarToCart: update documentation
Hamdi Sahloul [Fri, 21 Sep 2018 21:58:44 +0000 (06:58 +0900)]
cuda::polarToCart: update documentation

5 years agocuda::polarToCart: test double precision and tune tolerance
Hamdi Sahloul [Tue, 18 Sep 2018 13:38:07 +0000 (22:38 +0900)]
cuda::polarToCart: test double precision and tune tolerance

5 years agocuda::polarToCart: Support double precision
Hamdi Sahloul [Tue, 18 Sep 2018 13:37:51 +0000 (22:37 +0900)]
cuda::polarToCart: Support double precision

5 years agoMerge pull request #12592 from alalek:dnn_test_at_least_one
Alexander Alekhin [Fri, 21 Sep 2018 16:49:51 +0000 (16:49 +0000)]
Merge pull request #12592 from alalek:dnn_test_at_least_one

5 years agoMerge pull request #12598 from cv3d:cmake/js
Alexander Alekhin [Fri, 21 Sep 2018 14:59:27 +0000 (14:59 +0000)]
Merge pull request #12598 from cv3d:cmake/js

5 years agoJS: Provides meaningful message in case of compile issues
Hamdi Sahloul [Thu, 20 Sep 2018 11:56:21 +0000 (20:56 +0900)]
JS: Provides meaningful message in case of compile issues

5 years agoJS: Improves Emscripten detection
Hamdi Sahloul [Thu, 20 Sep 2018 11:55:45 +0000 (20:55 +0900)]
JS: Improves Emscripten detection

5 years agoUpdate hog.cpp
Suleyman TURKMEN [Wed, 19 Sep 2018 08:52:12 +0000 (11:52 +0300)]
Update hog.cpp

5 years agodnn(test): test at least CPU code path
Alexander Alekhin [Wed, 19 Sep 2018 10:56:59 +0000 (13:56 +0300)]
dnn(test): test at least CPU code path

5 years agoMerge pull request #12587 from alalek:ts_update_valgrind_test_filter
Alexander Alekhin [Wed, 19 Sep 2018 07:37:20 +0000 (07:37 +0000)]
Merge pull request #12587 from alalek:ts_update_valgrind_test_filter

5 years agots: update valgrind test filter
Alexander Alekhin [Wed, 19 Sep 2018 00:21:39 +0000 (00:21 +0000)]
ts: update valgrind test filter

- DNN: avoid very large models
- build filter per module
- fixed longTestFilter

5 years agovideoio: CAP_PROP_BACKEND property interface
Alexander Alekhin [Tue, 18 Sep 2018 16:25:01 +0000 (16:25 +0000)]
videoio: CAP_PROP_BACKEND property interface

5 years agovideoio(test): add "camera" tests
Alexander Alekhin [Sat, 15 Sep 2018 20:55:18 +0000 (20:55 +0000)]
videoio(test): add "camera" tests

- disabled due specific requirements (camera, OpenNI camera, etc)
- designed for manual validation

5 years agovideoio: added '.getBackendName()' method
Alexander Alekhin [Sat, 15 Sep 2018 20:54:03 +0000 (20:54 +0000)]
videoio: added '.getBackendName()' method

5 years agoMerge pull request #12579 from dkurt:dnn_reset_myriad_device
Alexander Alekhin [Tue, 18 Sep 2018 16:14:38 +0000 (16:14 +0000)]
Merge pull request #12579 from dkurt:dnn_reset_myriad_device

5 years agoMerge pull request #12577 from dkurt:dnn_tf_scripts
Alexander Alekhin [Tue, 18 Sep 2018 16:13:59 +0000 (16:13 +0000)]
Merge pull request #12577 from dkurt:dnn_tf_scripts

5 years agoEnable Myriad device for OpenVINO models test
Dmitry Kurtaev [Tue, 18 Sep 2018 08:21:08 +0000 (11:21 +0300)]
Enable Myriad device for OpenVINO models test

5 years agoMerge pull request #12573 from alalek:fixes_3.4
Alexander Alekhin [Tue, 18 Sep 2018 09:47:22 +0000 (09:47 +0000)]
Merge pull request #12573 from alalek:fixes_3.4

5 years ago3.4: fixes
Alexander Alekhin [Mon, 17 Sep 2018 22:13:01 +0000 (22:13 +0000)]
3.4: fixes

5 years agoImport tensorflow to create text graphs if import cv is failed
Dmitry Kurtaev [Tue, 18 Sep 2018 06:04:28 +0000 (09:04 +0300)]
Import tensorflow to create text graphs if import cv is failed

5 years agoUpdate seamless_cloning.cpp
Suleyman TURKMEN [Mon, 17 Sep 2018 17:39:29 +0000 (20:39 +0300)]
Update seamless_cloning.cpp

5 years agoMerge pull request #12510 from take1014:doc_hough
Alexander Alekhin [Mon, 17 Sep 2018 18:39:12 +0000 (21:39 +0300)]
Merge pull request #12510 from take1014:doc_hough

5 years agoMerge pull request #12528 from dkurt:dnn_py_tests
Alexander Alekhin [Mon, 17 Sep 2018 18:34:42 +0000 (18:34 +0000)]
Merge pull request #12528 from dkurt:dnn_py_tests

5 years agoMerge pull request #12559 from dkurt:dnn_remove_usrtype1
Alexander Alekhin [Mon, 17 Sep 2018 18:13:29 +0000 (18:13 +0000)]
Merge pull request #12559 from dkurt:dnn_remove_usrtype1

5 years agoMerge pull request #12563 from cv3d:bug/cuda_msseg
Alexander Alekhin [Mon, 17 Sep 2018 18:09:11 +0000 (18:09 +0000)]
Merge pull request #12563 from cv3d:bug/cuda_msseg

5 years agoMerge pull request #12519 from l-bat:l-bat/onnx_parser
Lubov Batanina [Mon, 17 Sep 2018 17:26:17 +0000 (20:26 +0300)]
Merge pull request #12519 from l-bat:l-bat/onnx_parser

Support asymmetric padding in pooling layer (#12519)

* Add Inception_V1 support in ONNX

* Add asymmetric padding in OpenCL and Inference engine

* Refactoring

5 years agoUse TorchType enum
Dmitry Kurtaev [Mon, 17 Sep 2018 14:28:26 +0000 (17:28 +0300)]
Use TorchType enum

5 years agoSupport GpuMat in copyTo() functions
Hamdi Sahloul [Mon, 17 Sep 2018 14:31:54 +0000 (23:31 +0900)]
Support GpuMat in copyTo() functions

5 years agoAdd python tests for dnn module
Dmitry Kurtaev [Thu, 13 Sep 2018 13:31:31 +0000 (16:31 +0300)]
Add python tests for dnn module

5 years agoMerge pull request #12531 from VladKarpushin:tutorial-using-anisotropic-image-segment...
Alexander Alekhin [Mon, 17 Sep 2018 12:06:46 +0000 (12:06 +0000)]
Merge pull request #12531 from VladKarpushin:tutorial-using-anisotropic-image-segmentation

5 years agoMerge pull request #12364 from dkurt:dnn_change_blob_from_image
Vadim Pisarevsky [Mon, 17 Sep 2018 12:04:41 +0000 (12:04 +0000)]
Merge pull request #12364 from dkurt:dnn_change_blob_from_image

5 years agocmake: move Matlab scripts to opencv_contrib (#12541)
Alexander Alekhin [Mon, 17 Sep 2018 11:55:42 +0000 (14:55 +0300)]
cmake: move Matlab scripts to opencv_contrib (#12541)

* matlab: move to opencv_contrib

* cmake: preserve variables scope for processing modules

- use macro instead of function to avoid scope resets

5 years agoReplace CV_USRTYPE1 for int64 to CV_32SC2 in Torch importer
Dmitry Kurtaev [Mon, 17 Sep 2018 09:31:09 +0000 (12:31 +0300)]
Replace CV_USRTYPE1 for int64 to CV_32SC2 in Torch importer

5 years agoMerge pull request #12529 from gkaneto:master
Alexander Alekhin [Sat, 15 Sep 2018 19:52:37 +0000 (22:52 +0300)]
Merge pull request #12529 from gkaneto:master

Minor changes in docs (Python Tutorials)

5 years agoUpdate py_basic_ops.markdown
gkaneto [Fri, 14 Sep 2018 01:17:12 +0000 (22:17 -0300)]
Update py_basic_ops.markdown

Correcting indentation of border type flags

5 years agoUpdate py_trackbar.markdown
gkaneto [Thu, 13 Sep 2018 21:02:50 +0000 (18:02 -0300)]
Update py_trackbar.markdown

For some mysterious (for me) reason, two lines of the code appears in my browser (Chrome) in the same line.
I've add an "enter" (just pressed enter), but don't know if it's the best solution.

5 years agoMerge pull request #12512 from sturkmen72:patch-1
Alexander Alekhin [Fri, 14 Sep 2018 17:27:14 +0000 (17:27 +0000)]
Merge pull request #12512 from sturkmen72:patch-1

5 years agoUpdate seamless_cloning.cpp
Suleyman TURKMEN [Wed, 12 Sep 2018 14:34:32 +0000 (17:34 +0300)]
Update seamless_cloning.cpp

5 years agoMerge pull request #12527 from terfendail:mean_wintr
Alexander Alekhin [Fri, 14 Sep 2018 16:34:29 +0000 (16:34 +0000)]
Merge pull request #12527 from terfendail:mean_wintr

5 years agoMerge pull request #12535 from terfendail:testparser_update
Alexander Alekhin [Fri, 14 Sep 2018 16:32:24 +0000 (16:32 +0000)]
Merge pull request #12535 from terfendail:testparser_update

5 years agoMerge pull request #12526 from terfendail:avx2_resize_fix
Alexander Alekhin [Fri, 14 Sep 2018 15:57:47 +0000 (15:57 +0000)]
Merge pull request #12526 from terfendail:avx2_resize_fix

5 years agomeanStdDev() implementation updated to use wide universal intrinsics
Vitaly Tuzov [Fri, 7 Sep 2018 17:33:43 +0000 (20:33 +0300)]
meanStdDev() implementation updated to use wide universal intrinsics

5 years agotestlog_parser updated to handle output of latest GTest as well
Vitaly Tuzov [Fri, 14 Sep 2018 14:29:06 +0000 (17:29 +0300)]
testlog_parser updated to handle output of latest GTest as well

5 years agoMerge pull request #12530 from cv3d:lint/instrument_semicolon
Alexander Alekhin [Fri, 14 Sep 2018 08:57:31 +0000 (08:57 +0000)]
Merge pull request #12530 from cv3d:lint/instrument_semicolon

5 years agodoc: add new tutorial anisotropic image segmentation
Karpushin Vladislav [Fri, 14 Sep 2018 06:14:17 +0000 (13:14 +0700)]
doc: add new tutorial anisotropic image segmentation

5 years agoAdd semicolons after `CV_INSTRUMENT` macros
Hamdi Sahloul [Thu, 13 Sep 2018 21:35:26 +0000 (06:35 +0900)]
Add semicolons after `CV_INSTRUMENT` macros

5 years agoMerge pull request #12403 from dkurt:dnn_replace_darknet_reorg
Alexander Alekhin [Thu, 13 Sep 2018 20:58:10 +0000 (20:58 +0000)]
Merge pull request #12403 from dkurt:dnn_replace_darknet_reorg

5 years agoMerge pull request #12524 from alalek:fix_dnn_skx_dlie
Alexander Alekhin [Thu, 13 Sep 2018 20:56:31 +0000 (20:56 +0000)]
Merge pull request #12524 from alalek:fix_dnn_skx_dlie

5 years agoMerge pull request #12523 from takotakot:12455_rotatedrect_constructor
Takuho NAKANO [Thu, 13 Sep 2018 19:26:05 +0000 (04:26 +0900)]
Merge pull request #12523 from takotakot:12455_rotatedrect_constructor

* Fix perpendicular decision of RotatedRect::RotatedRect

Error estimation is based on #12455.

* Fix abs to std::fabs and atan to std::atan

5 years agodnn(test): run DL IE tests on Intel OpenCL devices only
Alexander Alekhin [Thu, 13 Sep 2018 14:23:04 +0000 (14:23 +0000)]
dnn(test): run DL IE tests on Intel OpenCL devices only

5 years agoFixed bit-exact resize SIMD implementation for AVX2 baseline
Vitaly Tuzov [Thu, 13 Sep 2018 15:20:27 +0000 (18:20 +0300)]
Fixed bit-exact resize SIMD implementation for AVX2 baseline

5 years agoMerge pull request #12502 from alalek:fix_dnn_tests_32bit
Alexander Alekhin [Thu, 13 Sep 2018 14:20:42 +0000 (14:20 +0000)]
Merge pull request #12502 from alalek:fix_dnn_tests_32bit

5 years agoMerge pull request #12504 from kraj:3.4
Alexander Alekhin [Thu, 13 Sep 2018 14:19:25 +0000 (14:19 +0000)]
Merge pull request #12504 from kraj:3.4

5 years agoMerge pull request #12522 from mshabunin:remove-va-msdk-34
Alexander Alekhin [Thu, 13 Sep 2018 14:15:59 +0000 (14:15 +0000)]
Merge pull request #12522 from mshabunin:remove-va-msdk-34

5 years agoMerge pull request #12515 from hmaarrfk:fix_bayer2rgba_blue_channel
Alexander Alekhin [Thu, 13 Sep 2018 12:53:08 +0000 (12:53 +0000)]
Merge pull request #12515 from hmaarrfk:fix_bayer2rgba_blue_channel

5 years agoMerge pull request #12410 from terfendail:sum_wintr
Alexander Alekhin [Thu, 13 Sep 2018 12:49:56 +0000 (15:49 +0300)]
Merge pull request #12410 from terfendail:sum_wintr

5 years agoRemoved unnecessary build-time MediaSDK detection
Maksim Shabunin [Thu, 13 Sep 2018 09:46:06 +0000 (12:46 +0300)]
Removed unnecessary build-time MediaSDK detection

5 years agoCheck for clang before using -isystem
Khem Raj [Wed, 12 Sep 2018 01:18:33 +0000 (18:18 -0700)]
Check for clang before using -isystem

When cross compiling with clang, the internal C++ headers are not found
when adding sysroot to -isystem, that is redundant anyway because it
will look for headers insider --sysroot path with same quality as it
would do with -isystem otherwise

Fixes errors like

FAILED: 3rdparty/openexr/CMakeFiles/IlmImf.dir/Iex/IexBaseExc.cpp.o
....
In file included from
TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/opencv/3.4.3+gitAUTOINC+b38c50b3d0_1f6d6f0626_bdb7bb85f3_34e4206aef_fccf7cd6a4-r0/git/3rdparty/openexr/Iex/IexBaseExc.cpp:43:
In file included from
TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/opencv/3.4.3+gitAUTOINC+b38c50b3d0_1f6d6f0626_bdb7bb85f3_34e4206aef_fccf7cd6a4-r0/git/3rdparty/openexr/Iex/IexBaseExc.h:48:
In file included from
TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/opencv/3.4.3+gitAUTOINC+b38c50b3d0_1f6d6f0626_bdb7bb85f3_34e4206aef_fccf7cd6a4-r0/recipe-sysroot/usr/lib//arm-bec-linux-musleabi/8.2.0/../../../include/c++/8.2.0/string:52:
In file included from
TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/opencv/3.4.3+gitAUTOINC+b38c50b3d0_1f6d6f0626_bdb7bb85f3_34e4206aef_fccf7cd6a4-r0/recipe-sysroot/usr/lib//arm-bec-linux-musleabi/8.2.0/../../../include/c++/8.2.0/bits/basic_string.h:6391:
In file included from
TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/opencv/3.4.3+gitAUTOINC+b38c50b3d0_1f6d6f0626_bdb7bb85f3_34e4206aef_fccf7cd6a4-r0/recipe-sysroot/usr/lib//arm-bec-linux-musleabi/8.2.0/../../../include/c++/8.2.0/ext/string_conversions.h:41:
TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/opencv/3.4.3+gitAUTOINC+b38c50b3d0_1f6d6f0626_bdb7bb85f3_34e4206aef_fccf7cd6a4-r0/recipe-sysroot/usr/lib//arm-bec-linux-musleabi/8.2.0/../../../include/c++/8.2.0/cstdlib:75:15:
fatal error: 'stdlib.h' file not found
              ^~~~~~~~~~
1 error generated.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
5 years agoMerge pull request #12511 from GeorgeMironov:rename-tf-namespace
Alexander Alekhin [Wed, 12 Sep 2018 20:13:43 +0000 (20:13 +0000)]
Merge pull request #12511 from GeorgeMironov:rename-tf-namespace