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
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
krodyush
1ae71fe205
intel device guard was added because of perf degradation on some non intel platform.
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
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
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 Smorkalov
eab7603096
Warning fixes and suppression in ocl module for gcc 4.6 from Android NDK.
11 years ago
Philippe FOUBERT
ec6f2e1c4d
Using cv::String instead of std::string.
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
Ilya Lavrenov
8a23646897
RGB[A] <- RGB5x5
11 years ago
Ilya Lavrenov
81b9c9c104
RGB[A] -> RGB5x5
11 years ago
Ilya Lavrenov
ab9b883c69
RGB[A] <-> XYZ
11 years ago
Ilya Lavrenov
65ee06eb2b
RGB[A] <-> XYZ
11 years ago
Ilya Lavrenov
506c19616d
YCrCb -> RGB[A]
11 years ago
Roman Donchenko
2fed668390
Fixed build errors.
11 years ago
Roman Donchenko
dd817857b4
Replaced most of the instances of "s = s +" with "s +=".
...
This resynchronizes master code with 2.4. I say "most", because I might
have missed some due to different spacing; I'll deal with those
instances later if I find them.
11 years ago
Alexander Smorkalov
514e97223c
Some hacks to build and run OpenCL on Qualcomm S800.
...
Some of functions were enabled on Qualcomm S800 by changing grid size;
OpenCL kernel grid size unification for different platfroms;
Test pass rate improvements by inclreasing threshold;
Some tests were disabled for Android;
run.py was adopted for devices with brackets in in name.
11 years ago
Alexander Alekhin
d650efc069
ocl: multi-threading: opencl buffer memory guard
11 years ago
Alexander Alekhin
96a4a7b339
ocl: multi-threading: fix bug in intialization
11 years ago
Ilya Lavrenov
60b59eeb73
workaround for AMD bug: UNREACHABLE EXECUTED
11 years ago
Ilya Lavrenov
198cd1a40d
added area fast mode to ocl::resize
11 years ago
Ilya Lavrenov
c0456df611
workaround for ocl::absSum (eliminated error: unreachable executed)
11 years ago
Ilya Lavrenov
f70d63e4c9
added INTER_AREA interpolation to ocl::resize
11 years ago
Konstantin Matskevich
327d9f274b
fixed Split for device version equals 78712
11 years ago
Konstantin Matskevich
0e1717c14c
fixing bugs for Intel platform CPU device
11 years ago
Alexander Alekhin
0a698bf145
ocl: fix cvtColor XYZ: variables on stack
11 years ago
Ilya Lavrenov
cc237b7aba
generalized ocl::resize for all data types (INTER_NEAREST mode)
11 years ago