Ilya Lavrenov
5abfd40989
added perf test for cv::goodFeaturesToTrack
11 years ago
Ilya Lavrenov
52ed6d0d27
ported cv::goodFeaturesToTrack to T-API
11 years ago
Ilya Lavrenov
37789f015a
deleted excess semicolons, commas
11 years ago
ahb
49dfa5a17f
Fix the following error for ocl::getOpenCLPlatforms() on Ubuntu 12.04 with gcc 4.8
...
OpenCV Error: Unknown error code -6 (OpenCL function is not available: [clGetPlatformIDs]) in opencl_check_fn, file /home/ahb/software/opencv/modules/ocl/src/cl_runtime/cl_runtime.cpp, line 83
The issue results from modules/ocl/src/cl_runtime/cl_runtime.cpp checking for
"linux" instead of "__linux__" (cp. http://sourceforge.net/p/predef/wiki/OperatingSystems/ )
Adjust all other occurrences of "defined(linux)" as well.
11 years ago
Andrey Pavlenko
4c99196399
adding `finish()` to flush CL queue, renaming the test to match 'master' branch
11 years ago
Andrey Pavlenko
a7821c60e5
refactoring the test as it should be in 2.4
11 years ago
Andrey Pavlenko
4d28e8243c
'master'-like Haar perf test
11 years ago
Ilya Lavrenov
6b9ebcbf3d
deleted extra semicolons
11 years ago
Ilya Lavrenov
d014cb8fb4
fixed warning [-Wempty-body]
11 years ago
Peng Xiao
0ccc903647
fixed a buffer overrun of ocl canny
...
the `map` buffer does not have the same size with CUDA and index starts at [1, 1] instead of [0, 0].
11 years ago
Peter Andreas Entschev
07c5e33023
OCL: included ORB featured detector/descriptor extractor.
11 years ago
Alexander Smorkalov
4f6f6e8cac
static function qualifier replaced on inline to enable kernel compilation with OpenCL 1.1 embedded profile.
11 years ago
Ilya Lavrenov
5b3520fa46
fixed warning [ -Wreorder ]
11 years ago
Alexander Alekhin
e49065b1dc
core/ocl: temporary move device selection from ocl module
11 years ago
krodyush
e8dd31aacd
change code according reviewer suggesions
11 years ago
krodyush
27c1bd2762
Improve ocl cvt_color performance for the following conversions: RGB<->BGR, RGB->Gray, RGB<->XYZ, RGB<->YCrCb, RGB<->YUV, and mRGBA<->RGBA.
...
The improvement was done basically by processing more than 1 pixel by each work-item and using vector's operations.
new performance tests were added
11 years ago
Ilya Lavrenov
c8cbfe5382
added cv::dft T-API test
11 years ago
Andrey Pavlenko
96f8ff2ab8
adding LICENSE file and a sample of its reference in ocl.hpp
11 years ago
krodyush
1ae71fe205
intel device guard was added because of perf degradation on some non intel platform.
11 years ago
krodyush
34c630faf4
update doc to be consisted with headers
11 years ago
krodyush
ea0c9b7f5c
GFFT fix for linux build
11 years ago
krodyush
dfe7c98090
optimize separable filter by
...
Added "sep_filter_singlepass" kernel that performs separable filtering in one kernel call
Added appropriate host part - sepFilter2D_SinglePass function and SingleStepSeparableFilterEngine_GPU class
Changed function declarations to enable their usage
11 years ago
krodyush
f3ee1c3d2f
Changes the datatype of the angle of the gradient for Intel platforms.
11 years ago
krodyush
917b883cf0
remove extra calculations from haar to be consistent with native implementation
11 years ago
krodyush
a63576e76d
HOST side optimization for GFFT
11 years ago
krodyush
de431609db
optimize Dx and Dy calcualtion to make it as single opencl kernel
11 years ago
Matthias Bady
b7c97f6e30
fixed init of clCxt
11 years ago
Alexander Alekhin
17ca7f9545
ocl: add support for initialization from user-provided OpenCL handles
11 years ago
Peter Andreas Entschev
5bc9f15dda
OCL: included sqrt matrix operation.
11 years ago
Peter Andreas Entschev
41bec1b112
OCL: including FAST feature detector.
11 years ago
Alexander Alekhin
740b1f235e
ocl: implemented per-thread OpenCL command queue
11 years ago
Alexander Alekhin
5ecf759742
core/ocl: update dynamic runtime
11 years ago
Alexander Alekhin
381d7851b7
core/ocl: move opencl dynamic runtime from ocl module
11 years ago
Peter Andreas Entschev
def17f2baa
Removing ocl::oclMat::ptr() method.
...
The method ocl::oclMat::ptr() is being removed because it returns a pointer to a row of oclMat::data. The data attribute is a cl_mem structure and cannot be iterated outside an OpenCL kernel.
11 years ago
Peter Andreas Entschev
3bc952ed34
ocl::BruteForceMatcher fix wrong use of oclMat::ptr().
...
The oclMat::ptr() method was mistakenly used in ocl::BruteForceMatcher to pass a pointer to a oclMat object. The ptr() method returns a uchar pointer to the cl_mem data structure and this method will be removed.
11 years ago
Alexander Alekhin
3dcddad88a
ocl: added workaround into Haar kernels
11 years ago
Zhigang Gong
6ce03b0484
Fixed some implicitly type conversions between vector and scalar data type.
...
There are some mixed implicitly/explicitly type conversion between
scalar and vector. Although the spec allows those conversion, I prefer
to make them consistent and use explicitly all the cases.
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
11 years ago
Vadim Pisarevsky
ff87385201
refactored CascadeClassifier to hide implementation details (take 2)
11 years ago
Alexander Alekhin
7b551af424
ocl: try to disable clFinish workaround
11 years ago
Alexander Alekhin
fe01bc21c0
perf: test-based metrics collection strategy
11 years ago
Alexander Alekhin
c962a9d61c
ocl:perf: fix moments test for plain impl
11 years ago
Vadim Pisarevsky
161c3b71e6
hopefully, now opencv_test_imgproc should pass
11 years ago
Alexander Smorkalov
eab7603096
Warning fixes and suppression in ocl module for gcc 4.6 from Android NDK.
11 years ago
Vadim Pisarevsky
d7f4a223cf
fixed several compile errors/warnings; reacted on the PR comments
11 years ago
Philippe FOUBERT
ec6f2e1c4d
Using cv::String instead of std::string.
11 years ago
Vadim Pisarevsky
6da5d21331
fixed many bugs related to Mat::getUMat(), asynchronous kernel execution etc. Also, played a bit with ocl::cvtColor vs cv::cvtColor performance
11 years ago
Philippe FOUBERT
c056e7fc61
Correction to be able to compile using the directive PRINT_KERNEL_RUN_TIME
11 years ago
Ilya Lavrenov
41d046a2db
restored ocl_cvtcolor.cl
11 years ago
Ilya Lavrenov
f771a0ba81
RGB[A] <-> HLS
11 years ago
Ilya Lavrenov
0b900b54e5
RGB[A] <-> HSV
11 years ago