1 Star 0 Fork 12

hehedaddd/libraw

forked from openKylin/libraw 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.RawSpeed.txt 2.30 KB
一键复制 编辑 原始数据 按行查看 历史
LLL 提交于 2022-06-27 14:42 . Import Upstream version 0.19.5
================= Compile LibRaw with RawSpeed support ========================
0) RawSpeed version:
LibRaw supports 'master' version of RawSpeed library: https://github.com/darktable-org/rawspeed/tree/master
Although this version is really outdated, newer versions does not looks stable enough for production
use (for example, this critical issue not fixed for 10+ months: https://github.com/darktable-org/rawspeed/issues/100 )
1) Prerequisites
To build RawSpeed you need libxml2, iconv, and JPEG library installed on your
system.
2) Build RawSpeed:
-- consult http://rawstudio.org/blog/?p=800 for details
-- Win32: you need POSIX Threads for Win32 installed on your system
(http://sources.redhat.com/pthreads-win32/)
-- you may use qmake .pro files supplied in LibRaw distribution
(RawSpeed/rawspeed.qmake-pro-files.patch)
Adjust path to libraries/includes according to your setup.
-- Win32: you need to add __declspec(..) to external C++ classes.
Use patch provided with LibRaw (RawSpeed/rawspeed.win32-dll.patch)
-- Unix: you need to define rawspeed_get_number_of_processor_cores() call
For most unix systems (Linux, MacOS X 10.4+, FreeBSD) patch provided
with LibRaw (RawSpeed/rawspeed.cpucount-unix.patch) should work.
3) Build LibRaw with RawSpeed support:
Win32:
--Uncomment CFLAGS_RAWSPEED and LDFLAGS_RAWSPEED lines in
Makefile.msvc. Adjust paths to libraries/includes if needed.
-- run nmake -f Makefile.msvc
Unix/MacOS:
-- Uncomment CFLAGS/LDADD lines in RawSpeed section in Makefile.dist
-- Uncomment RAWSPEED_DATA line if you wish to rebuild
internal copy of RawSpeed's cameras.xml
-- run make -f Makefile.dist
Compile options:
-- You may specify -DNOSONY_RAWSPEED define if you do not want to use
RawSpeed's Sony formats decoder (because result of this decoder is
different from LibRaw's built-in decoder)
4) Build/run your Apps with LibRaw+RawSpeed
-- Build as usual, no changes required in your apps unless you
access LibRaw::imgdata.rawdata.raw_image[] directly
-- you may turn off RawSpeed support on runtime by setting
imgdata.params.use_rawspeed to 0.
-- You'll need all shared libraries you linked to at runtime (libxml2,
iconv, LibJPEG, and posix threads on Win32).
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hehedaddd/libraw.git
git@gitee.com:hehedaddd/libraw.git
hehedaddd
libraw
libraw
openkylin/yangtze

搜索帮助