lib_raw 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +5 -0
- data/LICENSE.txt +22 -0
- data/README.md +30 -0
- data/Rakefile +6 -0
- data/ext/lib_raw/extconf.rb +31 -0
- data/ext/lib_raw/lib_raw.cpp +1114 -0
- data/ext/lib_raw/lib_raw.h +105 -0
- data/lib/lib_raw/version.rb +3 -0
- data/lib/lib_raw.rb +5 -0
- data/lib_raw.gemspec +24 -0
- metadata +85 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: bf2f96ea10537e5d4740822619592ce3070bbbd7
|
4
|
+
data.tar.gz: c797b83b2e26407a2be28d131779e819e9a27b8a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7a8023122bedeb21edb2939cf0d05b41ef53089f3f28b5d833147d6c513ee27b39fa3d576b6eed699b719f4bd20e0eea48ea109cabc2630aec71b986416c1816
|
7
|
+
data.tar.gz: eba82ebba2bc067ebeb9e6628c315924c62bde9c7cedf22735cbbfaac1e5baee05345e90c54a6fe1b020b439a0c53a3715ba797034e57a6caaad21941c73dbaa
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2016 yoshida
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# LibRaw
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'lib_raw'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
# brew install libraw
|
18
|
+
$ gem install lib_raw
|
19
|
+
|
20
|
+
## Usage
|
21
|
+
|
22
|
+
TODO: Write usage instructions here
|
23
|
+
|
24
|
+
## Contributing
|
25
|
+
|
26
|
+
1. Fork it
|
27
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
28
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
29
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
30
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
require "mkmf"
|
2
|
+
|
3
|
+
have_library("stdc++")
|
4
|
+
have_library("raw_r")
|
5
|
+
|
6
|
+
|
7
|
+
#$CFLAGS << " -I#{File.dirname(__FILE__)}/src"
|
8
|
+
#$CFLAGS << " -I#{File.dirname(__FILE__)}/internal"
|
9
|
+
|
10
|
+
#try_link("#{File.dirname(__FILE__)}/src/libraw_cxx.cpp")
|
11
|
+
|
12
|
+
=begin
|
13
|
+
$srcs = %w{
|
14
|
+
./lib_raw.cpp
|
15
|
+
./internal/aahd_demosaic.cpp
|
16
|
+
./internal/dcraw_common.cpp
|
17
|
+
./internal/dcraw_fileio.cpp
|
18
|
+
./internal/demosaic_packs.cpp
|
19
|
+
./internal/dht_demosaic.cpp
|
20
|
+
./internal/libraw_x3f.cpp
|
21
|
+
./internal/wf_filtering.cpp
|
22
|
+
./src/libraw_c_api.cpp
|
23
|
+
./src/libraw_cxx.cpp
|
24
|
+
./src/libraw_datastream.cpp
|
25
|
+
}
|
26
|
+
p $srcs
|
27
|
+
=end
|
28
|
+
|
29
|
+
#have_library("libraw_r")
|
30
|
+
|
31
|
+
create_makefile("lib_raw/lib_raw")
|