Alexander Alekhin
d68e350227
OpenCV version++
9 years ago
Tomoaki Teshima
0db4b7cebb
fix build error on CUDA + Aarch64
...
* __fp16 doesn't exist on nvcc, but it slips through ifdef guard
9 years ago
Sean McBride
5357e28a2f
Removed some extra semi-colons
...
Fixes clang -Wextra-semi warnings.
9 years ago
Alexander Alekhin
d855608e6e
instrumentation: fix build on Linux
...
- enable C++11
- fix macro
9 years ago
Alexander Alekhin
10d18a315c
instrumentation: minor refactoring, wrap OpenCL
...
- calculate ticksTotal instead of ticksMean
- local / global width is based on ticksTotal value
- added instrumentation for OpenCL program compilation
- added instrumentation for OpenCL kernel execution
9 years ago
Bernd Kuhls
c7045184ce
types_c.h: Fix compiling VFP assembler code
...
Replace asm by __asm__ according to
https://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html#Alternate-Keywords
as suggested by Arnout Vandecappelle:
http://lists.busybox.net/pipermail/buildroot/2016-September/171491.html
to fix build errors in ffmpeg with opencv2 support detected by
buildroot autobuilders:
http://autobuild.buildroot.net/results/c32/c32a21240a9933796ee850349a62ff3c2314f25c/build-end.log
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
9 years ago
Vladislav Sovrasov
dfe4519c07
Add QR decomposition to HAL
9 years ago
Tomoaki Teshima
903789f7af
use universal intrinsic for FP16
...
* use v_float16x4 (universal intrinsic) instead of raw SSE/NEON implementation
* define v_load_f16/v_store_f16 since v_load can't be distinguished when short pointer passed
* brush up implementation on old compiler (guard correctly)
* add test for v_load_f16 and round trip conversion of v_float16x4
* fix conversion error
9 years ago
Maksim Shabunin
dc704d77ac
Fixed several GCC 5.x warnings
9 years ago
Tomoaki Teshima
7fef96be1e
add 64F intrinsic in HAL NEON
...
* use universal intrinsic for accumulate series using float/double
* accumulate, accumulateSquare, accumulateProduct and accumulateWeighted
* add v_cvt_f64_high in both SSE/NEON
* add test for conversion v_cvt_f64_high in test_intrin.cpp
* improve some existing universal intrinsic by using new instructions in Aarch64
* add workaround for Android build in intrin_neon.hpp
9 years ago
Matthew Self
9678d48e1a
2-channel interleaved load/store for universal intrinsics (float only)
...
* Added 2-channel ops to match existing 3-channel and 4-channel ops
* v_load_deinterleave() and v_store_interleave()
* Implements float32x4 only on SSE (but all types on NEON and CPP)
* Includes tests
* Will be used to vectorize 2D functions, such as estimateAffine2D()
9 years ago
Tomoaki Teshima
c5d7791b67
brush up fp16 implementation
...
* DRY
* switch to Cv32suf and remove fp32Int32
* add Cv16suf
9 years ago
Suleyman TURKMEN
fcc28fecb6
Make Up
9 years ago
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
9 years ago
Pavel Vlasov
680ca88ce0
Outdated ICV restrictions were removed;
9 years ago
Pavel Vlasov
a462d76a95
Implementations instrumentation framework for OpenCV performance system;
9 years ago
Pavel Vlasov
3860b8db02
IPP was enabled in mathfuncs_core;
...
Exp and Log IPP implementations are changed to hal interface;
9 years ago
Ilya Lavrenov
1b3f634843
fixed compilation warning
9 years ago
daB0bby
5cc1ef9022
fix code-style consistency
9 years ago
MYLS
8596e82d98
Add JSON support.
...
a JSON emitter, a parser, tests and some basic doc.
9 years ago
Tomoaki Teshima
2db2d137ce
follow the naming rule as other API
...
* stop using 'CUDA' prefix
* add explanation
9 years ago
Alexander Alekhin
18e7afdfd9
cmake: add OPENCV_ENABLE_NONFREE option and macro
9 years ago
Tomoaki Teshima
87ca607fd4
brush up convertFp16
...
* raise an error when wrong bit depth passed
* raise an build error when wrong depth is specified for cvtScaleHalf_
* remove unnecessary safe check in cvtScaleHalf_
* use intrinsic instead of direct pointer access
* update the explanation
9 years ago
Pavel Rojtberg
15dabc11b5
Mat: use row/ col instead of i0/ i1 for parameter names in 2D case
...
this improves documentation when using an IDE and reflects that Mats are
row major.
9 years ago
Tomoaki Teshima
2974b049e7
cudev: add feature to convert FP32(float) from/to FP16(half) on GPU
...
* add feature of Fp16 on GPU (cudev)
* add test
* leave template function as unimplemented to raise error
9 years ago
MYLS
08911cbfae
change `code` to `snippet` and do some cleaning.
...
- use `@snippet` instead of `@code` in docs.
- remove some functions that were not used.
9 years ago
Tomoaki Teshima
c57f8780e9
show CPU feature correctly when FP16 is available
...
* make sure that CV_FP16 has the correct meaning
* check FP16 feature correctly
9 years ago
Alexander Alekhin
2ec63e4dd1
fix android pack build
9 years ago
MYLS
78ca5ddd45
solve errors and warnings
9 years ago
MYLS
617df09143
Modify Base64 functions and add test and documentation
...
Major changes:
- modify the Base64 functions to compatible with `cvWriteRawData` and so
on.
- add a Base64 flag for FileStorage and outputs raw data in Base64
automatically.
- complete all testing and documentation.
9 years ago
Philippe FOUBERT
d99821aa44
Resolves issue #6931
9 years ago
catree
7f64f31f66
Fix NAryMatIterator code example.
9 years ago
Philippe FOUBERT
d9a56f6590
Resolves issue #6931
9 years ago
Ilya Lavrenov
0af3947468
added note about cv::reduce output type for MIN/MAX
9 years ago
Ilya Lavrenov
c634e39299
removed extra semicolon
9 years ago
Vladislav Vinogradov
bfd6ae77f5
Add note that cv::cuda::Stream class is not thread safe
9 years ago
Vladislav Vinogradov
112903c2bd
increase minimal supported CUDA toolkit to 6.5
9 years ago
Vladislav Sovrasov
a2ec23c112
Update cv::log documentation
9 years ago
Alexander Smorkalov
f29fd63f13
Enabled build with LLVM libc++ for Android.
9 years ago
Alexander Alekhin
8184535de1
samples: repair viz tutorial
9 years ago
Vitaliy Lyudvichenko
c3dc7266d1
Fixing of AutoBuffer::allocate(nsz) method
...
AutoBuffer::allocate(nsz) didn't work properly when
(sz < nsz < fixed_size). In this case sz remained unchanged.
9 years ago
Vitaliy Lyudvichenko
930d96f684
Fixing of AutoBuffer::allocate(nsz) method
...
AutoBuffer::allocate(nsz) didn't work properly when
(sz < nsz < fixed_size). In this case sz remained unchanged.
9 years ago
MYLS
7c92ee2e6e
Split `cvWriteRawData_Base64` into three functions
...
The three new functions:
```cpp
void cvStartWriteRawData_Base64(::CvFileStorage * fs, const char* name,
int len, const char* dt);
void cvWriteRawData_Base64(::CvFileStorage *
fs, const void* _data, int len);
void
cvEndWriteRawData_Base64(::CvFileStorage * fs);
```
Test is also updated. (And it's remarkable that there is a bug in
`cvWriteReadData`.)
9 years ago
Suleyman TURKMEN
d2bad6febb
cv::TickMeter class addition
9 years ago
MYLS
29921d055d
change the parameter to `CvMat` and `CvMatND`
...
```cpp
cvWriteMat_Base64(::cv::FileStorage & fs, ::cv::String const & name,
::cv::Mat const & mat)
```
becomes:
```cpp
CV_EXPORTS void cvWriteMat_Base64(::CvFileStorage* fs, const char* name,
const ::CvMat* mat);
CV_EXPORTS void
cvWriteMatND_Base64(::CvFileStorage* fs, const char* name, const
::CvMatND* mat);
```
9 years ago
MYLS
ecd827fc8e
Add Base64 support for FileStorage
...
[GSoC] FileStorage:
Add base64 support for reading and writting XML\YML file.
The two new functions:
```
void cvWriteRawData_Base64(cv::FileStorage & fs, const void* _data, int
len, const char* dt);
void cvWriteMat_Base64(cv::FileStorage & fs, cv::String const & name,
cv::Mat const & mat);
```
9 years ago
Philipp Nordhus
4a529cd641
Return reference on iterator indirection/subscript
9 years ago
Tomoaki Teshima
4239bac4ed
fix warning of doc
...
* update the comment to real header
9 years ago
Tomoaki Teshima
eccf2fa4c3
follow other interface
...
* remove useHW option
* update test
9 years ago
Vladislav Sovrasov
a2d0cc878c
Implement internal HAL for GEMM and matrix decompositions
9 years ago