Sean McBride
5fb3869775
Merge pull request #23109 from seanm:misc-warnings
...
* Fixed clang -Wnewline-eof warnings
* Fixed all trivial clang -Wextra-semi and -Wc++98-compat-extra-semi warnings
* Removed trailing semi from various macros
* Fixed various -Wunused-macros warnings
* Fixed some trivial -Wdocumentation warnings
* Fixed some -Wdocumentation-deprecated-sync warnings
* Fixed incorrect indentation
* Suppressed some clang warnings in 3rd party code
* Fixed QRCodeEncoder::Params documentation.
---------
Co-authored-by: Alexander Smorkalov <alexander.smorkalov@xperience.ai>
1 year ago
Stanley Mwangi
a5ba18c20e
popcnt is not a windows ARM intrinsic.
1 year ago
Alexander Smorkalov
2f805ff7ad
Fixed OpenJPEG 2000 compiler warning for some GCC versions ( #23710 ).
2 years ago
Alexander Smorkalov
a63636171e
Re-integrated OpenJPEG 2.5.0 to OpenCV.
2 years ago
Alexander Smorkalov
dbd1811d53
OpenJPEG 2000 update to version 2.5.0
2 years ago
Alex
a2fc479c0b
Fix Heap-buffer-overflow READ in opj_jp2_apply_pclr
...
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47342
The read overflow triggered by reading `src[j]` in
```cpp
for (j = 0; j < max; ++j) {
dst[j] = src[j];
}
```
The max is calculated as `new_comps[pcol].w * new_comps[pcol].h`, however the `src = old_comps[cmp].data;` which may have different `w` and `h` dimensions.
2 years ago
Andrey Senyaev
ccfc34b13f
Disabled compiling warnings in case of symbols in cmake for 4.x
2 years ago
Kumataro
602caa9cd6
Merge pull request #21937 from Kumataro:4.x-fix-21911
...
* Fix warnings for clang15
* Fix warnings: Remove unnecessary code
* Fix warnings: Remove unnecessary code
3 years ago
Alexander Alekhin
51fd26b19b
3rdparty: update openjpeg 2.3.1 => 2.4.0
...
- https://github.com/uclouvain/openjpeg/releases/tag/v2.4.0
4 years ago
Alexander Alekhin
5c987e4c75
Merge pull request #18924 from alalek:4.x-xcode12
...
(4.x) build: Xcode 12 support
* build: xcode 12 support, cmake fixes
* ts: eliminate clang 11 warnigns
* 3rdparty: clang 11 warnings
* features2d: eliminate build warnings
* test: warnings
* gapi: warnings from 18928
4 years ago
Vadim Levin
0384eb7d8c
3rdparty: integrate OpenJPEG build to the OpenCV CMake
...
- adopted build scripts
- OpenJPEG build warnings are suppressed
4 years ago
Vadim Levin
0c84b91dde
3rdparty: add OpenJPEG library source code (tag v2.3.1)
...
- https://github.com/uclouvain/openjpeg/releases/tag/v2.3.1
- src/lib/openjp2
- readme files
4 years ago