Added OpenJPEG source code as a part of 3rdparty#18194
Added OpenJPEG source code as a part of 3rdparty#18194opencv-pushbot merged 2 commits intoopencv:masterfrom
Conversation
|
I hope we would consider using modern methods of adding 3rdparty dependencies: |
|
Current approach is fine for non-huge 3rdparty projects. Modern methods require additional investigation:
@VadimLevin Please squash commits onto one, we don't need to keep whole history (at least removed files). |
Yes and we have our own downloader |
9067da5 to
2edb13c
Compare
|
@VadimLevin Please add temporary test commit with enabled option here (will be removed before merge through Please add |
Done (warnings are not related to OpenJPEG) Unfortunately, build fails on Windows and it confuses me, because linker string looks correct and all libraries are built. It fails to find all symbols from |
73b2b3f to
6884dc6
Compare
|
@alalek I fixed all configuration and build errors related to the OpenJPEG built from sources, can you proceed with review, please? |
alalek
left a comment
There was a problem hiding this comment.
Please squash all non-test commits into one to keep small patch (we don't need whole history with added/removed files).
47119d7 to
5a07119
Compare
|
@alalek Thank you for review, I've reverted changes in 3rdparty code and suppressed warnings, everything should pass smoothly. |
- https://github.com/uclouvain/openjpeg/releases/tag/v2.3.1 - src/lib/openjp2 - readme files
- adopted build scripts - OpenJPEG build warnings are suppressed
|
After cleanup of dead files:
I believe we can bypass |
OpenJPEG support for JPEG 2000 was added via #16494 and next step is to add OpenJPEG source code to 3rdparty as it is done for other libraries used by the imgcodecs module.
This patch adds OpenJPEG 2.3.1 to 3rdparty.
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.