You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Letu Ren
4546f40d8b
Refine logic of parsing PNG version
...
Currently, if `PNG_FOUND`, cmake scripts will check include and parse
header while we can use `PNG_VERSION_STRING` conveniently. If
`BUILD_PNG`, parse version from `PNG_LIBPNG_VER_STRING` directly is more
convenient than parsing major, minor and patch and concatenate them.
The comment of png.h also supports this.
```
/* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
```
https://github.com/glennrp/libpng/blob/libpng16/png.h#L287
This patch also modifies `ocv_parse_header_version` macro to receive
another parameter to make it more general.
The reason why changing `PNG_VERSION` to `PNG_VERSION_STRING` is to be
consistent with cmake's FindPNG.
This patch removes `HAVE_LIBPNG_PNG_H` variable because `PNG_INCLUDE_DIR`
is where to find png.h, etc according to
https://cmake.org/cmake/help/latest/module/FindPNG.html .
This patch also removes `PNG_PNG_INCLUDE_DIR` variable which is an
advanced variable used in cmake's FindPNG and is not used in opencv.
1 year ago
..
apple_conversions.h
CHange import order to avoid apple check error
4 years ago
apple_conversions.mm
Merge pull request #18547 from mtfrctl:objc-conversions-macosx
4 years ago
bitstrm.cpp
imgcodecs: fix RBaseStream::setPos() outside of current block
6 years ago
bitstrm.hpp
…
exif.cpp
Merge pull request #23109 from seanm:misc-warnings
1 year ago
exif.hpp
Exif parsing for PNG files to support Exif orientation tag. Moved decoder specific Exif parsing to JPEG and PNG decoders, respectively. Issue 16579
4 years ago
grfmt_avif.cpp
Make sure AVIF decoder is destroyed in case of failure
1 year ago
grfmt_avif.hpp
Merge pull request #23596 from vrabaud:libavif
2 years ago
grfmt_base.cpp
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
4 years ago
grfmt_base.hpp
Exif parsing for PNG files to support Exif orientation tag. Moved decoder specific Exif parsing to JPEG and PNG decoders, respectively. Issue 16579
4 years ago
grfmt_bmp.cpp
Merge pull request #23446 from tantei3:bmp_fix
2 years ago
grfmt_bmp.hpp
Merge pull request #23446 from tantei3:bmp_fix
2 years ago
grfmt_exr.cpp
Merge pull request #22790 from reunanen:add-capability-to-set-DWA-compression-level-in-OpenEXR-encoding
2 years ago
grfmt_exr.hpp
cmake: use find_package(OpenEXR) to support OpenEXR 3+
3 years ago
grfmt_gdal.cpp
…
grfmt_gdal.hpp
…
grfmt_gdcm.cpp
…
grfmt_gdcm.hpp
…
grfmt_hdr.cpp
imgcodecs: ensure parameters are key-value pairs, fix HDR encoder
2 years ago
grfmt_hdr.hpp
imgcodecs: ensure parameters are key-value pairs, fix HDR encoder
2 years ago
grfmt_jpeg.cpp
release png,jpeg resources in destructor
3 years ago
grfmt_jpeg.hpp
Exif parsing for PNG files to support Exif orientation tag. Moved decoder specific Exif parsing to JPEG and PNG decoders, respectively. Issue 16579
4 years ago
grfmt_jpeg2000.cpp
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
5 years ago
grfmt_jpeg2000.hpp
…
grfmt_jpeg2000_openjpeg.cpp
imgcodecs: add runtime checks to validate input
3 years ago
grfmt_jpeg2000_openjpeg.hpp
Merge pull request #19109 from tailsu:sd/imdecode-jp2k-codestream
4 years ago
grfmt_pam.cpp
Merge pull request #23055 from seanm:sprintf2
2 years ago
grfmt_pam.hpp
…
grfmt_pfm.cpp
Fix modules/ typos
6 years ago
grfmt_pfm.hpp
Merge pull request #12192 from pasbi:pfm
7 years ago
grfmt_png.cpp
Refine logic of parsing PNG version
1 year ago
grfmt_png.hpp
…
grfmt_pxm.cpp
Use OpenCV logging instead of std::cerr.
2 years ago
grfmt_pxm.hpp
…
grfmt_spng.cpp
SPNG integration warning fixes.
1 year ago
grfmt_spng.hpp
spng encoder/decoder added as optional png codec
3 years ago
grfmt_sunras.cpp
imgcodecs(sunras): avoid undefined shift
6 years ago
grfmt_sunras.hpp
…
grfmt_tiff.cpp
Merge pull request #23109 from seanm:misc-warnings
1 year ago
grfmt_tiff.hpp
imgcodecs(tiff): sanitize tiff decoder
6 years ago
grfmt_webp.cpp
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2 years ago
grfmt_webp.hpp
imgcodecs(webp): multiple fixes
7 years ago
grfmts.hpp
Merge pull request #23596 from vrabaud:libavif
2 years ago
ios_conversions.mm
Merge pull request #18547 from mtfrctl:objc-conversions-macosx
4 years ago
loadsave.cpp
Merge pull request #24405 from kochanczyk:4.x
1 year ago
macosx_conversions.mm
CHange import order to avoid apple check error
4 years ago
precomp.hpp
fix legacy constants
3 years ago
rgbe.cpp
Change program type in hdr format files to modern value: RADIANCE so
5 years ago
rgbe.hpp
…
utils.cpp
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
5 years ago
utils.hpp
imgcodecs(tiff): sanitize tiff decoder
6 years ago