1ef70158d 0.21.2 release 62f042366 tag type => tag size mapping fixed ee087e3fe cubic_spline: better handling of non-integer data af755b991 extra metadata check in arq_load_raw 0fadd8819 Better incorrect data handling in cubic_spline d7fb66053 skip invalid pattern in xtrans_interpolate d059ed280 Check HL recovery coeffs before processing 104730519 limit wavelet denoise minimum size cae09838e raw-identify: use fallback if PATH_MAX not available d6c677608 additional check against corrupted ljpeg layout 1001a6ac1 Disable color conversion for Canon 16-bit thumbnails a5130b01b docs/changelog: explained the case when no thumbnail is found in specific file 600c0c63d rename swapXX to libraw_swapXX to avoid name conflict 299c8a11b Check against corrupted LJPEG header in Canon sRAW decoder ec8671ad9 Limit embedded color profile allocation/read size 5229d5942 Wrong alloc result check for 16-bit bitmap thumbnail b278b775f check pana_data/buffer offset before use 7f4b8d3af Check P1 quadrant linearization coeff[15] against zero e942a7db6 avoid integer overflow in buffer space check f6a57cfb8 prevent buffer overrun in buffer_datastream::scanf_one 3e62ed304 ensure correct T.tlength for 16b bitmap thumbnails(2) 8e52d81cd ensure correct T.tlength for 16b bitmap thumbnails 8e1af15e2 Do not run sraw decoder on (crafted) bayer files 0ace959c2 better striped thumbnails handling 477e0719f do not set shrink flag for 3/4 component images c8efae6c5 allow more decoders for fuji-rotated RAWs git-subtree-dir: rtengine/libraw git-subtree-split: 1ef70158d7fde1ced6aaddb0b9443c32a7121d3d
64 lines
2.4 KiB
C++
64 lines
2.4 KiB
C++
/* -*- C++ -*-
|
|
* File: libraw_version.h
|
|
* Copyright 2008-2021 LibRaw LLC (info@libraw.org)
|
|
* Created: Mon Sept 8, 2008
|
|
*
|
|
* LibRaw C++ interface
|
|
*
|
|
|
|
LibRaw is free software; you can redistribute it and/or modify
|
|
it under the terms of the one of two licenses as you choose:
|
|
|
|
1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1
|
|
(See the file LICENSE.LGPL provided in LibRaw distribution archive for details).
|
|
|
|
2. COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
|
|
(See the file LICENSE.CDDL provided in LibRaw distribution archive for details).
|
|
|
|
*/
|
|
|
|
#ifndef __VERSION_H
|
|
#define __VERSION_H
|
|
|
|
#define LIBRAW_MAJOR_VERSION 0
|
|
#define LIBRAW_MINOR_VERSION 21
|
|
#define LIBRAW_PATCH_VERSION 2
|
|
#define LIBRAW_VERSION_TAIL Release
|
|
|
|
#define LIBRAW_SHLIB_CURRENT 23
|
|
#define LIBRAW_SHLIB_REVISION 0
|
|
#define LIBRAW_SHLIB_AGE 0
|
|
|
|
#define _LIBRAW_VERSION_MAKE(a, b, c, d) #a "." #b "." #c "-" #d
|
|
#define LIBRAW_VERSION_MAKE(a, b, c, d) _LIBRAW_VERSION_MAKE(a, b, c, d)
|
|
|
|
#define LIBRAW_VERSION_STR \
|
|
LIBRAW_VERSION_MAKE(LIBRAW_MAJOR_VERSION, LIBRAW_MINOR_VERSION, \
|
|
LIBRAW_PATCH_VERSION, LIBRAW_VERSION_TAIL)
|
|
|
|
#define LIBRAW_MAKE_VERSION(major, minor, patch) \
|
|
(((major) << 16) | ((minor) << 8) | (patch))
|
|
|
|
#define LIBRAW_VERSION \
|
|
LIBRAW_MAKE_VERSION(LIBRAW_MAJOR_VERSION, LIBRAW_MINOR_VERSION, \
|
|
LIBRAW_PATCH_VERSION)
|
|
|
|
#define LIBRAW_CHECK_VERSION(major, minor, patch) \
|
|
(LibRaw::versionNumber() >= LIBRAW_MAKE_VERSION(major, minor, patch))
|
|
|
|
#define LIBRAW_RUNTIME_CHECK_VERSION_EXACT() \
|
|
((LibRaw::versionNumber() & 0xffff00) == \
|
|
LIBRAW_MAKE_VERSION(LIBRAW_MAJOR_VERSION, LIBRAW_MINOR_VERSION, 0))
|
|
|
|
#define LIBRAW_RUNTIME_CHECK_VERSION_NOTLESS() \
|
|
((LibRaw::versionNumber() & 0xffff00) >= \
|
|
LIBRAW_MAKE_VERSION(LIBRAW_MAJOR_VERSION, LIBRAW_MINOR_VERSION, 0))
|
|
|
|
#define LIBRAW_COMPILE_CHECK_VERSION(major, minor) \
|
|
(LIBRAW_MAKE_VERSION(major, minor, 0) == (LIBRAW_VERSION & 0xffff00))
|
|
|
|
#define LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(major, minor) \
|
|
(LIBRAW_MAKE_VERSION(major, minor, 0) <= (LIBRAW_VERSION & 0xffff00))
|
|
|
|
#endif
|