platform/upstream/opencv.git
6 years agoMerge pull request #10155 from alalek:ocl_update_loader
Vadim Pisarevsky [Mon, 27 Nov 2017 10:03:31 +0000 (10:03 +0000)]
Merge pull request #10155 from alalek:ocl_update_loader

6 years agoMerge pull request #10156 from dkurt:refresh_torch_enet_sample
Alexander Alekhin [Mon, 27 Nov 2017 09:24:49 +0000 (09:24 +0000)]
Merge pull request #10156 from dkurt:refresh_torch_enet_sample

6 years agoMerge pull request #10163 from windhw:patch-1
Alexander Alekhin [Mon, 27 Nov 2017 07:56:06 +0000 (07:56 +0000)]
Merge pull request #10163 from windhw:patch-1

6 years agoUpdate houghlines.py
Wei Hao [Mon, 27 Nov 2017 06:36:51 +0000 (14:36 +0800)]
Update houghlines.py

Fix a code indent bug:   cv2.imshow("detected lines", cdst)

6 years agoMerge pull request #10055 from mabdullahrafique:patch-1
Alexander Alekhin [Sun, 26 Nov 2017 12:00:16 +0000 (12:00 +0000)]
Merge pull request #10055 from mabdullahrafique:patch-1

6 years agoMerge pull request #10095 from alalek:fix_canny_intrinsics
Alexander Alekhin [Sat, 25 Nov 2017 12:31:47 +0000 (12:31 +0000)]
Merge pull request #10095 from alalek:fix_canny_intrinsics

6 years agoUpdate Torch ENet sample
Dmitry Kurtaev [Fri, 24 Nov 2017 18:20:18 +0000 (21:20 +0300)]
Update Torch ENet sample

6 years agoocl: update OpenCL runtime loader
Alexander Alekhin [Fri, 24 Nov 2017 16:09:05 +0000 (19:09 +0300)]
ocl: update OpenCL runtime loader

- fix compilation on Apple (undefined 'oclpath')
- don't warn on OPENCV_OPENCL_RUNTIME=disabled

6 years agoMerge pull request #10153 from dkurt:specify_mobilenet_version
Alexander Alekhin [Fri, 24 Nov 2017 16:17:28 +0000 (16:17 +0000)]
Merge pull request #10153 from dkurt:specify_mobilenet_version

6 years agoMerge pull request #10150 from alalek:dnn_ocl_refactor_pooling
Vadim Pisarevsky [Fri, 24 Nov 2017 11:51:03 +0000 (11:51 +0000)]
Merge pull request #10150 from alalek:dnn_ocl_refactor_pooling

6 years agoSpecific version of MobileNet-SSD from TensorFlow
Dmitry Kurtaev [Fri, 24 Nov 2017 10:40:35 +0000 (13:40 +0300)]
Specific version of MobileNet-SSD from TensorFlow

6 years agodnn(ocl4dnn): drop unused batch_size_ in pooling
Alexander Alekhin [Thu, 23 Nov 2017 20:45:44 +0000 (20:45 +0000)]
dnn(ocl4dnn): drop unused batch_size_ in pooling

6 years agodnn(ocl4dnn): refactor pooling OpenCL calls
Alexander Alekhin [Thu, 23 Nov 2017 20:10:53 +0000 (20:10 +0000)]
dnn(ocl4dnn): refactor pooling OpenCL calls

6 years agoupdate digits_video.py
Muhammad Abdullah [Wed, 8 Nov 2017 23:46:35 +0000 (15:46 -0800)]
update digits_video.py

Following were the errors in the digits_video.py
     1 ) The code was not working because data type of x was float however in "cv2.rectangle" we require integer .
     2 ) After pressing the "esc" button the image windows did not destroy
So I amended following things:
     1 ) ~converted data type of x to int.~ Used Python integer division (//)
     2 ) used cv2.destroyAllWindows() to close all windows after the press of "esc" by user.

6 years agoMerge pull request #10143 from pengli:ocl4dnn
Alexander Alekhin [Thu, 23 Nov 2017 18:47:14 +0000 (18:47 +0000)]
Merge pull request #10143 from pengli:ocl4dnn

6 years agoMerge pull request #10148 from alalek:fix_ffmpeg_sws_scale_crash
Maksim Shabunin [Thu, 23 Nov 2017 18:34:59 +0000 (18:34 +0000)]
Merge pull request #10148 from alalek:fix_ffmpeg_sws_scale_crash

6 years agoMerge pull request #9895 from art049:parrallel_calibration_py
Arthur Pastel [Thu, 23 Nov 2017 18:27:11 +0000 (19:27 +0100)]
Merge pull request #9895 from art049:parrallel_calibration_py

* Adding threading in calibrate.py

* samples: update calibrate.py

6 years agoMerge pull request #9996 from dkurt:dnn_multiple_inputs
Alexander Alekhin [Thu, 23 Nov 2017 18:22:37 +0000 (18:22 +0000)]
Merge pull request #9996 from dkurt:dnn_multiple_inputs

6 years agouse OutputArrayOfArrays in net forward interface
Li Peng [Thu, 16 Nov 2017 03:20:08 +0000 (11:20 +0800)]
use OutputArrayOfArrays in net forward interface

It allows umat buffers used in net forward interface

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agocleanup ocl4dnn spatial convolution kernels
Wu, Zhiwen [Tue, 31 Oct 2017 01:21:08 +0000 (09:21 +0800)]
cleanup ocl4dnn spatial convolution kernels

remove unused macros and half definition macros,
also remove unused ocl::Queue

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agovideoio(ffmpeg): more workarounds for sws_scale() crash
Alexander Alekhin [Thu, 23 Nov 2017 14:48:01 +0000 (17:48 +0300)]
videoio(ffmpeg): more workarounds for sws_scale() crash

Prevents access data after the end of input buffer near 4K page boundaries

6 years agoMerge pull request #9893 from mshabunin:add-modules-whitelist
Alexander Alekhin [Thu, 23 Nov 2017 15:09:35 +0000 (15:09 +0000)]
Merge pull request #9893 from mshabunin:add-modules-whitelist

6 years agoMerge pull request #10139 from alalek:dnn_rename_caffe_proto_package
Alexander Alekhin [Thu, 23 Nov 2017 14:10:42 +0000 (14:10 +0000)]
Merge pull request #10139 from alalek:dnn_rename_caffe_proto_package

6 years agoMerge pull request #10018 from alalek:ocl_binary_cache
Alexander Alekhin [Thu, 23 Nov 2017 13:37:32 +0000 (13:37 +0000)]
Merge pull request #10018 from alalek:ocl_binary_cache

6 years agoAdded BUILD_LIST feature
Maksim Shabunin [Thu, 19 Oct 2017 14:37:36 +0000 (17:37 +0300)]
Added BUILD_LIST feature

6 years agoMerge pull request #10142 from alalek:pytests_update
Vadim Pisarevsky [Thu, 23 Nov 2017 12:51:55 +0000 (12:51 +0000)]
Merge pull request #10142 from alalek:pytests_update

6 years agoMerge pull request #10144 from mshabunin:fix-videocapture-open-order
Vadim Pisarevsky [Thu, 23 Nov 2017 12:50:25 +0000 (12:50 +0000)]
Merge pull request #10144 from mshabunin:fix-videocapture-open-order

6 years agovideoio: fixed capture open order, added apiPrefernce to FFMPEG tests
Maksim Shabunin [Thu, 23 Nov 2017 10:31:07 +0000 (13:31 +0300)]
videoio: fixed capture open order, added apiPrefernce to FFMPEG tests

6 years agopython(test): don't write bytecode
Alexander Alekhin [Thu, 23 Nov 2017 10:08:26 +0000 (13:08 +0300)]
python(test): don't write bytecode

Tests are usually lauched from source directory, so additional unnecessary
files should be eliminated.

Alternative ways (command line):
- python -B ...
- PYTHONDONTWRITEBYTECODE=1 python ...

6 years agopython(test): add tests filter
Alexander Alekhin [Mon, 28 Aug 2017 14:26:49 +0000 (17:26 +0300)]
python(test): add tests filter

Usage example (bash):
$ OPENCV_PYTEST_FILTER=test_digits python test.py -v

6 years agoMerge pull request #10136 from alalek:issue_10134
Alexander Alekhin [Wed, 22 Nov 2017 18:39:47 +0000 (18:39 +0000)]
Merge pull request #10136 from alalek:issue_10134

6 years agoMerge pull request #9994 from r2d3:dnn_memory_load
Alexander Alekhin [Wed, 22 Nov 2017 18:15:00 +0000 (18:15 +0000)]
Merge pull request #9994 from r2d3:dnn_memory_load

6 years agoMerge pull request #10126 from alalek:dnn_issue_10125
Alexander Alekhin [Wed, 22 Nov 2017 18:03:51 +0000 (18:03 +0000)]
Merge pull request #10126 from alalek:dnn_issue_10125

6 years agodnn: autogenerated files
Alexander Alekhin [Wed, 22 Nov 2017 15:31:55 +0000 (18:31 +0300)]
dnn: autogenerated files

6 years agodnn: rename caffe protobuf package
Alexander Alekhin [Wed, 22 Nov 2017 15:31:36 +0000 (18:31 +0300)]
dnn: rename caffe protobuf package

6 years agocore: fix compilation of intrinsic code
Alexander Alekhin [Wed, 22 Nov 2017 12:52:40 +0000 (15:52 +0300)]
core: fix compilation of intrinsic code

6 years agodnn: sync output/internals blobs back
Alexander Alekhin [Wed, 22 Nov 2017 11:00:58 +0000 (14:00 +0300)]
dnn: sync output/internals blobs back

6 years agoocl: binary program cache
Alexander Alekhin [Thu, 12 Oct 2017 11:23:45 +0000 (14:23 +0300)]
ocl: binary program cache

6 years agoMerge pull request #10092 from alalek:dnn_rename_caffe_proto
Vadim Pisarevsky [Wed, 22 Nov 2017 08:16:20 +0000 (08:16 +0000)]
Merge pull request #10092 from alalek:dnn_rename_caffe_proto

6 years agoMerge pull request #9931 from mshabunin:bss-cleanup
Vadim Pisarevsky [Wed, 22 Nov 2017 08:13:35 +0000 (08:13 +0000)]
Merge pull request #9931 from mshabunin:bss-cleanup

6 years agoFixed allocSingleton
Maksim Shabunin [Tue, 21 Nov 2017 15:07:30 +0000 (18:07 +0300)]
Fixed allocSingleton

6 years agoalign singleton malloc
Maksim Shabunin [Tue, 21 Nov 2017 14:54:57 +0000 (17:54 +0300)]
align singleton malloc

6 years agoOther buffers
Maksim Shabunin [Tue, 21 Nov 2017 14:54:43 +0000 (17:54 +0300)]
Other buffers

6 years agoinit ABtoXZ
Maksim Shabunin [Tue, 21 Nov 2017 14:34:10 +0000 (17:34 +0300)]
init ABtoXZ

6 years agoLUV tables
Maksim Shabunin [Tue, 21 Nov 2017 14:28:45 +0000 (17:28 +0300)]
LUV tables

6 years agostatic init
Maksim Shabunin [Tue, 21 Nov 2017 13:49:58 +0000 (16:49 +0300)]
static init

6 years agocvtColor: fixed tables init, moved some tables to heap
Maksim Shabunin [Mon, 23 Oct 2017 10:48:14 +0000 (13:48 +0300)]
cvtColor: fixed tables init, moved some tables to heap

6 years agodnn: drop OpenCL code path for DetectionOutputLayer
Alexander Alekhin [Tue, 21 Nov 2017 14:28:42 +0000 (17:28 +0300)]
dnn: drop OpenCL code path for DetectionOutputLayer

getUMat()/getMat() calls are scope based. Results of these calls can't be
stored somewhere for future usage.

6 years agoMerge pull request #10121 from alalek:ocl_syntax_fix
Vadim Pisarevsky [Tue, 21 Nov 2017 12:40:19 +0000 (12:40 +0000)]
Merge pull request #10121 from alalek:ocl_syntax_fix

6 years agoMerge pull request #10041 from savuor:RevHoughWorks
Rostislav Vasilikhin [Tue, 21 Nov 2017 11:18:47 +0000 (14:18 +0300)]
Merge pull request #10041 from savuor:RevHoughWorks

HoughCircles rewritten (PR #7434 updated) (#10041)

* initial version of renewed HoughCircles done

* fixed compilation

* fixed SIMD ability & compilation warning

* fixed accumulator nonmax comparison

* common Mutex for all invokers

* nzLocal is std::vector

* nz is std::vector

* SSE2 -> SIMD128

* centers is now std::vector

* circles is std::vector

* estimateRadius updated

* accum calculation w/o mutex

* less deprecated code

* several bugs fixed

* back to mutex, TLS gathering doesn't work

* extra code removed

* little refactoring

* docs note updated

* a little speedup

* warning fixed

6 years agoMerge pull request #10113 from wzw-intel:fusion
Alexander Alekhin [Mon, 20 Nov 2017 18:13:33 +0000 (18:13 +0000)]
Merge pull request #10113 from wzw-intel:fusion

6 years agocore(ocl): syntax fix
Alexander Alekhin [Mon, 20 Nov 2017 16:19:35 +0000 (19:19 +0300)]
core(ocl): syntax fix

6 years agodnn: autogenerated files
Alexander Alekhin [Wed, 15 Nov 2017 11:07:41 +0000 (14:07 +0300)]
dnn: autogenerated files

rename caffe.proto => opencv-caffe.proto

6 years agodnn: avoid conflicts with original caffe.proto
Alexander Alekhin [Wed, 15 Nov 2017 11:07:41 +0000 (14:07 +0300)]
dnn: avoid conflicts with original caffe.proto

rename caffe.proto => opencv-caffe.proto

6 years agoMerge pull request #10120 from dkurt:remove_caffe_header_from_layer
Alexander Alekhin [Mon, 20 Nov 2017 15:59:56 +0000 (15:59 +0000)]
Merge pull request #10120 from dkurt:remove_caffe_header_from_layer

6 years agoadd loading TensorFlow/Caffe net from memory buffer
David Geldreich [Fri, 27 Oct 2017 16:01:41 +0000 (18:01 +0200)]
add loading TensorFlow/Caffe net from memory buffer
add a corresponding test

6 years agoReplace caffe::NormalizedBBox to local structure
Dmitry Kurtaev [Mon, 20 Nov 2017 15:01:40 +0000 (18:01 +0300)]
Replace caffe::NormalizedBBox to local structure

6 years agoMerge pull request #9753 from tomoaki0705:universalMatmul
Tomoaki Teshima [Mon, 20 Nov 2017 12:56:53 +0000 (21:56 +0900)]
Merge pull request #9753 from tomoaki0705:universalMatmul

* add accuracy test and performance check for matmul
  * add performance tests for transform and dotProduct
  * add test Core_TransformLargeTest for 8u version of transform

* remove raw SSE2/NEON implementation from matmul.cpp
  * use universal intrinsic instead of raw intrinsic
  * remove unused templated function
  * add v_matmuladd which multiply 3x3 matrix and add 3x1 vector
  * add v_rotate_left/right in universal intrinsic
  * suppress intrinsic on some function and platform
  * add pure SW implementation of new universal intrinsics
  * add test for new universal intrinsics

* core: prevent memory access after the end of buffer

* fix perf tests

6 years agoMerge pull request #10093 from gdkessler/gdal_image_read_fix_10089
gdkessler [Mon, 20 Nov 2017 12:07:24 +0000 (07:07 -0500)]
Merge pull request #10093 from gdkessler/gdal_image_read_fix_10089

Fix GDAL image decoding color problems identified by issue #10089, by: (#10093)

* Fix GDAL image decoding color problems identified by issue #10089, by:

Fixing CV_8UC1 symbol, which should be CV_8UC3 for RGB GDAL color table images.

Fixing image.ptr<VecX>(row,col)[] to be (*image.ptr<VecX>(row,col))[] to correctly access VecX array elements, as ptr<VecX>() returns a pointer to the VecX, not the first element of VecX. This fixes the color problem with color table gif images, and avoids out-of-bounds memory access.

Respecting the color identification of raster bands provided by the GDAL image driver, and produce BGR or BGRA images. Note that color bands of images using the HSL, CMY, CMYK, or YCbCr color space are ignored, rather than converting them to BGR.

* When reading image files using the GDAL decoder, exit with an error if a color band is encountered that isn't used (eg. from CMYK or YCbCbr), rather than silently ignoring the band's data.

6 years agodnn(ocl4dnn): add fusion support for Power activation and eltwise add
Wu Zhiwen [Mon, 20 Nov 2017 03:29:18 +0000 (11:29 +0800)]
dnn(ocl4dnn): add fusion support for Power activation and eltwise add

Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
6 years agoMerge pull request #10087 from mshabunin:small-cmake-fixes
Alexander Alekhin [Sat, 18 Nov 2017 18:07:14 +0000 (18:07 +0000)]
Merge pull request #10087 from mshabunin:small-cmake-fixes

6 years agoMerge pull request #10011 from jviney:master
Jonathan Viney [Sat, 18 Nov 2017 18:08:41 +0000 (07:08 +1300)]
Merge pull request #10011 from jviney:master

Fix build with FFmpeg master. Some deprecated APIs have been removed. (#10011)

* Fix build with FFmpeg master.

* ffmpeg: update AVFMT_RAWPICTURE support removal

6 years agoMerge pull request #10108 from mshabunin:fix-eigen-stride
Alexander Alekhin [Fri, 17 Nov 2017 20:09:08 +0000 (20:09 +0000)]
Merge pull request #10108 from mshabunin:fix-eigen-stride

6 years agoMerge pull request #10102 from seiko2plus:coreVsxPacksFix
Alexander Alekhin [Fri, 17 Nov 2017 19:01:38 +0000 (19:01 +0000)]
Merge pull request #10102 from seiko2plus:coreVsxPacksFix

6 years agoEigen: fix Mat construction stride
Maksim Shabunin [Fri, 17 Nov 2017 15:27:09 +0000 (18:27 +0300)]
Eigen: fix Mat construction stride

6 years agoMerge pull request #10104 from wzw-intel:fusion_debug
Alexander Alekhin [Fri, 17 Nov 2017 13:57:36 +0000 (13:57 +0000)]
Merge pull request #10104 from wzw-intel:fusion_debug

6 years agoMerge pull request #9997 from ElenaGvozdeva:GaussianBlur_bug
Maksim Shabunin [Fri, 17 Nov 2017 13:37:28 +0000 (13:37 +0000)]
Merge pull request #9997 from ElenaGvozdeva:GaussianBlur_bug

6 years agoDo not reset step for single-row Mat created on user data
Maksim Shabunin [Fri, 3 Nov 2017 14:57:08 +0000 (17:57 +0300)]
Do not reset step for single-row Mat created on user data

6 years agotest for GaussianBlur with border
elenagvo [Thu, 2 Nov 2017 14:05:17 +0000 (17:05 +0300)]
test for GaussianBlur with border

6 years agoMerge pull request #10099 from alalek:fix_js_tests
Alexander Alekhin [Fri, 17 Nov 2017 09:16:34 +0000 (09:16 +0000)]
Merge pull request #10099 from alalek:fix_js_tests

6 years agocmake: simplified configuration output
Maksim Shabunin [Tue, 14 Nov 2017 14:07:04 +0000 (17:07 +0300)]
cmake: simplified configuration output

6 years agodnn(ocl4dnn): Fix relu fusion bug
Wu Zhiwen [Fri, 17 Nov 2017 08:21:56 +0000 (16:21 +0800)]
dnn(ocl4dnn): Fix relu fusion bug

Incorrect type of negative_slope result in this bug.

Also and OCL test for darknet to validate this patch.

Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
6 years agoMerge pull request #10008 from Smorodov:master
Alexander Alekhin [Fri, 17 Nov 2017 05:41:18 +0000 (05:41 +0000)]
Merge pull request #10008 from Smorodov:master

6 years agocore:vsx Fix vec_packs in gcc-5
Sayed Adel [Thu, 16 Nov 2017 21:54:56 +0000 (21:54 +0000)]
core:vsx Fix vec_packs in gcc-5

6 years agoMerge pull request #10094 from amroamroamro:mingw-pkgconfig-fix
Alexander Alekhin [Thu, 16 Nov 2017 19:39:33 +0000 (19:39 +0000)]
Merge pull request #10094 from amroamroamro:mingw-pkgconfig-fix

6 years agoMerge pull request #10078 from justdoitqd:master
Maksim Shabunin [Thu, 16 Nov 2017 15:20:44 +0000 (15:20 +0000)]
Merge pull request #10078 from justdoitqd:master

6 years agoMerge pull request #9907 from seiko2plus:vsxFixesImproves
Maksim Shabunin [Thu, 16 Nov 2017 15:20:15 +0000 (15:20 +0000)]
Merge pull request #9907 from seiko2plus:vsxFixesImproves

6 years agoMerge pull request #9698 from abratchik:parse.doxygen
Jcrist99 [Thu, 16 Nov 2017 13:48:12 +0000 (17:48 +0400)]
Merge pull request #9698 from abratchik:parse.doxygen

Support @deprecated tag in java wrappers (#9698)

6 years agojs: fix tests (qunit -> node-qunit)
Alexander Alekhin [Wed, 15 Nov 2017 20:46:38 +0000 (20:46 +0000)]
js: fix tests (qunit -> node-qunit)

6 years agoMerge pull request #10091 from alalek:build_python_reduce_global_symbols
Alexander Alekhin [Thu, 16 Nov 2017 10:17:39 +0000 (10:17 +0000)]
Merge pull request #10091 from alalek:build_python_reduce_global_symbols

6 years agoMerge pull request #10097 from wzw-intel:tuning_time
Alexander Alekhin [Thu, 16 Nov 2017 09:34:42 +0000 (09:34 +0000)]
Merge pull request #10097 from wzw-intel:tuning_time

6 years agodnn(ocl4dnn): Fix wrong measurement for tuning time
Wu Zhiwen [Thu, 16 Nov 2017 02:40:23 +0000 (10:40 +0800)]
dnn(ocl4dnn): Fix wrong measurement for tuning time

convolution kernel use default queue to run, so that ocl::Timer
, to measure the kernel run time, should use the default queue too.
Also remove useless parameter for convolve()

Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
6 years agoimgproc(Canny): eliminate unnecessary operations
Alexander Alekhin [Wed, 15 Nov 2017 18:53:32 +0000 (18:53 +0000)]
imgproc(Canny): eliminate unnecessary operations

drop manual loop unrolling:
- don't block compiler optimizations
- no effect on i5

6 years agofix pkg-config generation for mingw
Amro [Wed, 15 Nov 2017 16:54:46 +0000 (18:54 +0200)]
fix pkg-config generation for mingw

6 years agoMerge pull request #10083 from alalek:core_intrinsics_load_low
Alexander Alekhin [Wed, 15 Nov 2017 16:08:56 +0000 (16:08 +0000)]
Merge pull request #10083 from alalek:core_intrinsics_load_low

6 years agocore(intrinsics): v_load_low
Alexander Alekhin [Mon, 13 Nov 2017 11:14:08 +0000 (14:14 +0300)]
core(intrinsics): v_load_low

6 years agobuild: avoid exporting of unnecessary symbols from Python bindings
Alexander Alekhin [Tue, 14 Nov 2017 16:25:16 +0000 (19:25 +0300)]
build: avoid exporting of unnecessary symbols from Python bindings

6 years agoMerge pull request #10056 from akhilesh-k:master
Akhilesh Kumar [Tue, 14 Nov 2017 10:44:01 +0000 (16:14 +0530)]
Merge pull request #10056 from akhilesh-k:master

Added Python setup docs for Ubuntu Machines (#10056)

6 years agoMerge pull request #10073 from alalek:cmake_fix_overiding_compile_options
Alexander Alekhin [Mon, 13 Nov 2017 11:26:13 +0000 (11:26 +0000)]
Merge pull request #10073 from alalek:cmake_fix_overiding_compile_options

6 years agoMerge pull request #10068 from paroj:fs_doc
Alexander Alekhin [Mon, 13 Nov 2017 09:18:42 +0000 (09:18 +0000)]
Merge pull request #10068 from paroj:fs_doc

6 years agocore:ppc Fix 2 interleave logic errors in vsx_utils.hpp
Simon Guo [Wed, 8 Nov 2017 09:37:29 +0000 (17:37 +0800)]
core:ppc Fix 2 interleave logic errors in vsx_utils.hpp

When elements are 64 bits, the vec_st_interleave()/vec_ld_deinterleave()
doesn't interleave 4 elements correctly.

For vec_st_interleave(), following is saved into mem:
a0 b0 a1 b1 c0 d0 c1 d1
     -> we expected:
a0 b0 c0 d0 a1 b1 c1 d1

for vec_ld_deinterleave(), following is loaded into a b c d for memory
string { 1 2 3 4 5 6 7 8 }:
a: 1 3
b: 2 4
c: 5 7
d: 6 8
   -> we expected:
    a: 1 5
b: 2 6
c: 3 7
d: 4 8

This patch corrects this behavior.

Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
6 years agoreshape mat before doing computation in fc layer
Li Peng [Mon, 13 Nov 2017 01:06:41 +0000 (09:06 +0800)]
reshape mat before doing computation in fc layer

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agocmake: drop amending of compilation options
Alexander Alekhin [Sun, 12 Nov 2017 08:12:27 +0000 (11:12 +0300)]
cmake: drop amending of compilation options

Allow to specify optimization level via CMake.

6 years agoMerge pull request #10072 from sturkmen72:upd_lsd_cpp
Alexander Alekhin [Sun, 12 Nov 2017 07:11:34 +0000 (07:11 +0000)]
Merge pull request #10072 from sturkmen72:upd_lsd_cpp

6 years agoUpdate lsd.cpp
Suleyman TURKMEN [Sat, 11 Nov 2017 08:59:55 +0000 (11:59 +0300)]
Update lsd.cpp

6 years agoMerge pull request #10050 from floe/android-studio-3.3.1
Florian Echtler [Fri, 10 Nov 2017 19:35:32 +0000 (20:35 +0100)]
Merge pull request #10050 from floe/android-studio-3.3.1

Add Android Mat constructor with support for native buffer (#10050)

6 years agoMerge pull request #10057 from LaurentBerger:ParaCalcError
Alexander Alekhin [Fri, 10 Nov 2017 19:04:36 +0000 (19:04 +0000)]
Merge pull request #10057 from LaurentBerger:ParaCalcError

6 years agoFileStorage: use copydoc to add base64 info to constructor
Pavel Rojtberg [Fri, 10 Nov 2017 12:06:36 +0000 (13:06 +0100)]
FileStorage: use copydoc to add base64 info to constructor

6 years agoMerge pull request #10061 from Sahloul:dnn_torch_fix
Alexander Alekhin [Fri, 10 Nov 2017 05:05:52 +0000 (05:05 +0000)]
Merge pull request #10061 from Sahloul:dnn_torch_fix

6 years agoMerge pull request #10062 from alalek:gtest_show_params
Alexander Alekhin [Fri, 10 Nov 2017 05:04:55 +0000 (05:04 +0000)]
Merge pull request #10062 from alalek:gtest_show_params