Accepting request 127641 from home:NicoK:branches:graphics

update to 0.14.7

OBS-URL: https://build.opensuse.org/request/show/127641
OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=56
This commit is contained in:
Marcus Meissner 2012-07-11 16:21:03 +00:00 committed by Git OBS Bridge
parent 8e3419d2e8
commit 20f2b83a9c
4 changed files with 179 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7e554d5fd6ca6f430d74e4c7084086cf57bd0c478268412920c0ce2940b86fe8
size 1314431

3
LibRaw-0.14.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7307a607249043bb544f3ab3b3a999e1923d72fbed12e4e2239d172e522143da
size 1366794

View File

@ -1,3 +1,174 @@
-------------------------------------------------------------------
Wed Jul 11 11:08:57 UTC 2012 - lists.nico.k@googlemail.com
- update to 0.14.7
* Imported dcraw 9.15 (1.449):
- New cameras supported: Canon 5D Mark III, G1 X, 1D X and
Powershot SX200; Nikon D4,D800/D800E and D3200; Fuji X-S1 and
HS30EXR; Casio EX-Z8; Olympus E-M5; Panasonic GF5;
Sony NEX-F3, SLT-A37 and SLT-A57; Samsung NX20 and NX210;
- Support for updated Samsung NX200 firmware.
* Makefile.msvc: easy additional compiler flag editing.
- update to 0.14.6
* Casio EX-Z500 support
* (possible) I/O exceptions on file open catched in
open_datastream
* Fixed possible read-after-buffer in Sony ARW2 decoder
* Fixed mingw32 errors when compiling LibRaw_windows_datastream
* Makefile.msvc: support of OpenMP and LCMS (uncomment to use)
* Fixed decoding of some Leaf Aptus II files
- update to 0.14.5
* Fixed bug (uninitialized variable) in SMAL format decoding.
* Imported new dcraw 9.12 (1.446): support for Leica V-LUX 3,
updated color data for Canon S100, Fujifilm X10, Nikon 1 J1/V1,
Panasonic GX1, Samsung NX200, Sony NEX-7
- update to 0.14.4
* Fixes to Panasonic/Leica file parser to prevent crash on
broken jpegs.
* Fixes to include order in src/libraw_datastream.cpp to better
compile with KDEWIN
* Floating-point DNGs are rejected on early processing stage.
* Support for new cameras: Canon S100, Fuji X10, Panasonic GX1,
Samsung NX200, Sony NEX-7.
- update to 0.14.3
* Bug fixes in black level subtraction code for PhaseOne files
* New API call LibRaw::get_internal_data_pointer() for developers
who need access to libraw_internal_data fields
(i.e. Fuji SuperCCD layout).
* doc/API-overview fixes to reflect 0.14 changes
- update to 0.14.2
* Fixed bug in Canon 1D and 1Ds files decoding.
* New decoder information bit DECODER_HASRAWCURVE
- update to 0.14.1
* 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.
- update to 0.14.0
* 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.
- update to 0.13.8
* 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
* Bugfix: green matching is turned off if output image is
shrinked due to wavelet filtering or aberration correction.
- update to 0.13.7
* Changes in cropping code:
- cropping is now works for Fuji files (instead of crash)
- bad pixels map and dark frame subtraction is turned off if
cropping enabled
- for technical reasons, coordinates of top-left corner of crop
box are rounded to multiple of 4 for Fuji files.
* ./configure stuff fixes:
- install static libraries only when --enable-static is set
- compiled samples are dynamically linked if shared library not
disabled.
* OpenMP enabled for Visual Studio 2008 SP1+, but not for RTM
- update to 0.13.6
* Cosmetic cleanup in Libraw_memmgr code
* Permit OpenMP support on MS VS2008
* More general mem_image interface:
- New call get_mem_image_format returns bitmap size and bit depth
- New call copy_mem_image can copy bitmap into buffer with
different color order (RGB/BGR) and line stride
- dcraw_make_mem_image() uses calls mentioned above
- see documentation for info on these function parameters.
* libraw/librawwindows.h implements LibRaw_datastream class based
on Windows memory mapped files.Win32/64-only Thanks to
Linc Brookes.
* Fixed parallel make errors in configure/Makefile.am
-------------------------------------------------------------------
Wed Mar 14 19:29:33 UTC 2012 - dimstar@opensuse.org

View File

@ -19,7 +19,7 @@
%define tar_name LibRaw
Name: libraw
Version: 0.13.5
Version: 0.14.7
Release: 0
Summary: Library for reading RAW files obtained from digital photo cameras
License: CDDL-1.0 or LGPL-2.1
@ -29,6 +29,7 @@ Source: http://www.libraw.org/data/%{tar_name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM libraw-gcc47.patch dimstar@opensuse.org -- Fix build with gcc 4.7.
Patch0: libraw-gcc47.patch
BuildRequires: gcc-c++
BuildRequires: libjasper-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms2-devel
BuildRequires: pkg-config
@ -98,7 +99,7 @@ against LibRaw. LibRaw does not provide dynamic libraries.
CXXFLAGS="%{optflags} -fPIC" \
%configure
# build env is too broken for parallel build
make
make %{?_smp_mflags}
%install
mv doc manual
@ -127,6 +128,8 @@ rm -rf %{buildroot}
%{_bindir}/raw-identify
%{_bindir}/simple_dcraw
%{_bindir}/unprocessed_raw
%{_bindir}/multirender_test
%{_bindir}/postprocessing_benchmark
%files devel
%defattr(-,root,root,-)