summaryrefslogtreecommitdiff
path: root/graphics/libraw
AgeCommit message (Collapse)AuthorFilesLines
2016-12-17Deal with Jasper's dependency on the limit macros.joerg1-1/+4
2016-06-19Update libraw to 0.17.2markd4-12/+98
plus gcc6 fix to dcraw_common.cpp LibRaw 0.17.2 * strncpy usage was not compatible with glibc bounds check LibRaw 0.17.1 * fixed two errors found by AlphaFuzzer * phase_one_correct always returns value; handle P1 return codes in postprocessing LibRaw 0.17.0 * Fixed dcraw.c ljpeg_start possibly buffer overrun * fixed several bugs detected by using American Fuzzy Lop * C-API extension to support 3DLut Creator * More metadata parsing/extraction: XMP packet extracted (if exists) DNG Color information parsed GPS data (partially) parsed EXIF/Makernotes parsed for used optics (for both RAW files and DNG converted by Adobe convertor). * Exif/Makernotes parser callback (called for each processed tag) * Sony ARW2.3 decoder: params.sony_arw2_hack removed, decoded data are always in 0...17k range (note the difference with dcraw!) Additional processing options for Sony lossy compression techincal analysis. * Dcraw 9.26 imported (but some changes not approved because Libraw do it better) with some exceptions: no Pentax K3-II frame selection code no built-in JPEG decompressor * Many improvements in data decoding/processing: Correct decoding of black level values from metadata for many formats, LibRaw do not rely on hardcoded black levels. * 224 camera models added to supported camera list. Some of them are new (released since LibRaw 0.16 come out), some was supported before, but missed from the list. * Fujifilm F700/S20Pro second frame support
2015-11-03Add SHA512 digests for distfiles for graphics categoryagc1-1/+2
Problems found with existing digests: Package fotoxx distfile fotoxx-14.03.1.tar.gz ac2033f87de2c23941261f7c50160cddf872c110 [recorded] 118e98a8cc0414676b3c4d37b8df407c28a1407c [calculated] Package ploticus-examples distfile ploticus-2.00/plnode200.tar.gz 34274a03d0c41fae5690633663e3d4114b9d7a6d [recorded] da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated] Problems found locating distfiles: Package AfterShotPro: missing distfile AfterShotPro-1.1.0.30/AfterShotPro_i386.deb Package pgraf: missing distfile pgraf-20010131.tar.gz Package qvplay: missing distfile qvplay-0.95.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-10-05patches to undefine DS if sys/regset.h is pulled in on SunOSrichard3-1/+36
2015-07-18Changes 0.16.2:adam6-33/+24
Fixed several bugs detected by running American Fuzzy Lop
2014-11-17Don't force linking against libstdc++, it might not exist. Bumpjoerg5-2/+43
revision.
2013-05-26Changes 0.15.1:adam2-14/+12
Incorrect data maximum calculations for Panasonic files were fixed. A possible buffer overrun in exposure correction code is now checked.
2012-10-10switch to lcms2, bump PKGREVdrochner2-4/+5
2012-10-06Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-08-04update to 0.14.7drochner3-7/+8
This switches to the new major release. The most significant change of this version is multiple rendering of same RAW data without re-opening RAW file. So, it is possible to implement near-realtime preview of entire image in half-resolution mode and realtime preview of selected area (e.g. around mouse pointer position) in full-resolution mode. +Support for more cameras
2011-10-24Revert previous to unbreak graphics/shotwell.gls2-6/+6
2011-10-22Upgrade graphics/libraw to 0.14.2gls2-6/+6
Upstream changes: LibRaw 0.14.2 (19-10-2011) Fixed bug in Canon 1D and 1Ds files decoding. New decoder information bit DECODER_HASRAWCURVE LibRaw 0.14.1 (11-10-2011) Imported dcraw 9.11/1.445: Support for new cameras added: Fujifilm F600EXR, Nikon P7100, Olympus E-PL3 and E-PM1, Panasonic DMC-FZ150, Sony NEX-5N, A65 and A77. Updated color data for: Olympus E-P3, Panasonic G3 and GF3, PhaseOne H25, P40 and P65, Sony NEX-C3, NEX-5, NEX-3, A35 and A55. Support for dark frame extraction on Sony cameras. DCB demosaicing: reserving 6 pixels instead of 3 to suppress colored image frame. LibRaw 0.14.0 (21-09-2011) Multiple rendering (LibRaw::dcraw_process() calls) allowed without re-opening RAW file thrfough the sequence of open()/unpack() calls. You should be able to change any processing parameters (except shot_select parameter) between dcraw_process() calls. New sample in samples/multirender_test.cpp: renders data 4 times: in half and full modes with different white balance settings. Unprocessed RAW data is stored in separate data buffer: (2 bytes per pixel for all Bayer-pattern images, 8 bytes per pixel for Foveon, sRAW, and other full-color raw formats), so now LibRaw uses 25% more memory for full processing of most common Bayer images; while for just unpack memory is reduced 4 times. New call LibRaw::raw2image() fills imgdata.image array with fresh copy of data. There is no need to call raw2image() separately if you use dcraw_process() or dcraw_document_mode_processing() calls. New call LibRaw::get_decoder_info() to determine raw data storage layout. See samples/unprocessed_raw.cpp for an example of how to use it. New call LibRaw::free_image(), deallocates imgdata.image buffer. Use this call if current postprocessing results are not needed, but it is to early to call recycle() because dcraw_process() may be called later. New C-API calls libraw_raw2image() - C API for LibRaw::raw2image() libraw_free_image() - C API for LibRaw::free_image() libraw_get_decoder_info() - C API for LibRaw::get_decoder_info() If your code uses usual open()/unpack()/dcraw_process() call sequence, then NOTHING CHANGED: your program should produce same results. For interactive programs you may skip open()/unpack() calls after adjusting processing parameters, so user should see image refreshed much faster. If your code uses raw data (open+unpack calls), you need to call LibRaw::raw2image(), and imgdata.image will contain same bitmap as in LibRaw 0.13.x If you code uses access to masked borders data, you need to rewrite it. See samples/unprocessed_raw.cpp as a sample. Other changes: No separate imgdata.masked_pixels buffers, Bayer raw formats are read to buffer with borders. So, no ugly add_masked_border_to_bitmap() call. No filtering_mode parameter. Raw tone curve is applied at unpack() stage; zero pixels removed on postprocesing stage. unprocessed_raw and 4colors samples are adjusted to use new RAW data storage layout. OpenMP speedup of postprocessing steps (up to 50% for half mode and 4-core machine) Most of LibRaw_datastream function bodies are moved to separate source file LibRaw_windows_datastream is merged to main source tree Imported dcraw 9.10 (1.444), support for new cameras added: ARRIRAW format, Canon SX30 IS, Leica D-LUX 5 and V-LUX2, Olympus E-P3, Panasonic G3 and GF3, Sony NEX-C3 and SLT-A35 Support for RedOne digital movie cameras (R3D format). To enable this support you need to: install libjasper JPEG2000 support library compile LibRaw with -DUSE_JASPER compiler switch (./configure will do it for you) If you use own LibRaw_datastream implementation, you should implement make_jas_stream() call for your datastream. See bottom of src/libraw_cxx.cpp for implementations in datafile and mem-buffer LibRaw streams. Bugfix: green matching is turned off if output image is shrinked due to wavelet filtering or aberration correction. Removed imgdata.sizes.bottom_margin and right_margin data fields use imgdata.sizes.raw_width - width - left_margin to get right one, the same with bottom_margin. Minor ./configure cleanup Qmake files and Visual Studio Project files are updated. New version check macroses. Documentation changed to reflect 0.14 changes. Removed LibRaw::rotate_fuji_raw() call and corresponding C-API call. The LibRaw::adjust_sizes_info_only() call may be called repeated and mixed with dcraw_process() calls. Postprocessing speedup and optimization, especially if cropping set. Cropping works for FujiCCD raws. For the technical reasons, the position of top-left corner of crop area will be rounded to the nearest multiple of 4 (the corner is shifted top-left). New sample samples/postprocessing_benchmark.cpp This sample measures postprocessing speed. All demosaic methods, averaged white balance, median filtering, wavelet filtration, highlight recovery, and cropping are supported. all client code should be recompiled due to internals change.
2011-09-12update to 0.13.8drochner2-6/+6
changes: -Imported dcraw 9.10 (1.444) -Bugfix: green matching is turned off if output image is shrinked due to wavelet filtering or aberration correction
2011-07-31Update graphics/libraw to 0.13.7.gls2-6/+6
Upstream changes: * Changes in cropping code: o cropping is now works for Fuji files (instead of crash) o bad pixels map and dark frame subtraction is turned off if cropping enable o for technical reasons, coordinates of top-left corner of crop box are rounded to multiple of 4 for Fuji files. * ./configure stuff fixes: o install static libraries only when --enable-static is set o compiled samples are dynamically linked if shared library not disabled. * OpenMP enabled for Visual Studio 2008 SP1+, but not for RTM
2011-07-12update to 0.13.6drochner2-6/+6
changes: several minor and cosmetic changes
2011-05-29Update graphics/libraw to 0.13.5gls2-6/+6
LibRaw 0.13.5 add supports for several new cameras. Changelog: * Imported new dcraw 9.08/1.443: o New color data for Canon 600D and 1100D, Fuji S200EXR o New cameras supported: Fuji HS20EXR and F550EXR, Kodak Z990, Nikon D5100, Olympus E-PL1s and XZ-1, Samsung NX11, Sony A230 and 290.
2011-04-05update to 0.13.4drochner2-6/+6
changes: -imported dcraw 9.07/1.442, support for more cameras -bugfixes
2011-03-09update to 0.13.2drochner3-9/+10
changes: -shared library support -Sony A390 support -Fixes for Leica D-LUX 4 and some Sony cameras approved by Guillaume Lasmayous
2011-02-16Updated graphics/libraw to 0.13.1gls2-6/+6
Upstream changes: LibRaw 0.13.1 (2011-02-08) * dcraw_emu documentation updated * ./configure stuff changed for correct linking on some systems * FBDD denoising is disabled for full-color images and 4-color bayer data (including forced 4-color via four_color_rgb option) LibRaw 0.13.0 (since 0.12.x) (2011-02-06) * New low-level buffering code for Huffman decompression. Canon CR2 files are opened about 1.5x times faster than on LibRaw 0.12, other huffman-comressed files unpacks in 1.2-1.3 times faster. * New exposure correction code based on linear-cubic root combination. Correction range is from 0.25 (-2 stops) to 8 (+3 stops) * All 0.12.x features, including new cameras support and half-size/green-matching fixes. * Changes and additions in demosaic-pack-GPL3 (all imported from RawTherapee): o Banding suppression code. o High-frequency noise suppression. o Green channels local averaging to suppress maze artifacts. o OpenMP speed-up in median filters (demosaic pack GPL2) o OpenMP speed-up in green equilibration (demosaic pack GPL3) * Bug fixes and improvements: o Better parsing of unknown command-line params in dcraw_emu sample o Brigtness table in ahd_demosaic is calculated in reversed order to prevent possible (very unlikely) multithreaded app problem. o Fixed file extension in half_mt.c sample. o Fixed incomplete data fields reset in LibRaw::recycle() o Patches for ./configure system for better LCMS2 support o math.h included before any other includes to make KDE compile with Visual C++ happy o Fuji FinePix S5500 size adjusted to ignore (rare?) garbage at top of frame. LibRaw 0.12.4 (2011-02-05) * Fixed green matching/half-size incompatibility.
2011-02-03Update graphics/libraw to 0.12.4gls2-6/+6
Upstream changes: Imported dcraw 9.06/1.440: * Added camera support for: Canon S95, Casio EX-Z1080, Panasonic GF2 and GH2, Samsung NX100, Sony A-580 * Updated color data for: Canon G12, Nikon D3100, D7000 and P7000, Olympus E-5, Pentax K-r and K-5, Samsung NX10 and WB2000
2011-01-11Update to 0.12.3gls3-15/+11
Upstream changes: Changes in ./configure system for better LCMS2 support
2010-12-22Update to 0.12.1gls2-6/+6
This version fixes crashes on files from Sigma DPx compact cameras.
2010-12-18Not make-jobs-safe. (Wants to link against libraw before it is completelywiz1-1/+2
built when run with -j16.)
2010-12-14Add lcms to bl3gls1-1/+3
2010-12-13Update libraw to 0.12.0gls5-37/+22
Complete changelist: * DCB interpolation and FBDD denoising integrated into main LibRaw. * Two addtional demosaic packs: o GPL2-licensed: AFD, LMMSE, VCD, Modified AHD and AHD+VCD interpolations. Additional median filters from 'Modified DCRAW' package. Foveon support also included in this pack. o GPL3-licensed: AMaZE interpolation and chromatic aberrations correction from RawTherapee * LCMS 2.x support * New ./configure script, based on GNU autotools. * Bugfixes: o Fix in green_matching code to support nonstandard Bayer pattern o Fixed bug in add_masked_borders_to_bitmap() call for cameras with masked border composed of odd number of pixels. * New command line options for unprocessed_raw sample: -B - subtract black level, -M - add masked pixels to bitmap.
2010-12-02Update to 0.11.3:wiz2-6/+6
2010-11-17 Alex Tutubalin <lexa@lexa.ru> * Nikon P7000: color matrix data and black level patch for ISO >=400 Thanks to Gunnar Thorburn * Support for several industrial cameras based on Sony ICX 625/655 sensor: JAI BB500CL/GE, SVS625CL, ptGrey GRAS-50S5C Thanks to kaare * LibRaw 0.11.3
2010-11-15fix "vi" artefactdrochner1-2/+2
2010-11-15Import libraw 0.11.2 into the NetBSD Packages collection.gls6-0/+88
LibRaw is a library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others). LibRaw is based on the source codes of the dcraw utility, where part of drawbacks have already been eliminated and part will be fixed in future. The users of the library are provided with API to be built into their software programs.