2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-19 02:22:09 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
Mateusz Loskot
ed67f9a571 Replace bitsN[s] aliases with C++11 fixed width integer types
Import the selection of integer types into boost::gil namespace,
  and move from channel.hpp to typedefs.hpp for easier access.
Replace bits32f with float32_t and bits64f with float64_t
  - kept as alias of scoped_channel_value.
Move float64_t (bits64f) to typedefs.hpp.
Replace the four {float|double}_{zero|one} min/max channel values
  with float_point_zero and float_point_one templates.
Replace <boost/cstdint,hpp> with C++11 <cstdint>.

Introduce preference of using declaration instead of typedef.
Reformat typedefs.hpp to take advantage of the using declaration
  - works much better for left-to-right reading, alias name as
    most important detail comes first.
Add some of missing #include typedefs.hpp, sort some headers.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
1e89c764b2 [cmake] Replicate GCC/clang compile flags from Jamfile
Add headers to target sources, so they are included in generate
makefiles, scanned and inspected as regular sources.

[ci skip]
2018-06-27 00:02:27 -04:00
Stefan Seefeld
1f0bc35012 Introduce top-level gil.hpp header. (#70)
Introduce top-level boost/gil.hpp header.
2018-06-27 00:02:27 -04:00
Mateusz Loskot
a37469e3ad Extend GCC and clang cxxflags for detailed warnings
Bump MSVC warning level to W4
Preparing for detailed warnings clean up based on:
https://svn.boost.org/trac10/wiki/Guidelines/WarningsGuidelines
Group compilation flags and defines in common top-level Jamfile
- relies on Boost.Build feature of referring parent Jamfile-s.
2018-06-27 00:02:27 -04:00
Christian Henning
d881a3c8db Fixed issues raised by reviewer 2018-06-27 00:02:27 -04:00
Christian Henning
9a7bfe8f71 generate indexed_image_view from two views 2018-06-27 00:02:27 -04:00
Mateusz Loskot
fab99207f2 Add basic CMake configuration for Boost.GIL
First stab at collection of CMakeLists.txt for Boost.GIL
  - Allow building and testing boostorg/gil against Boost from
    cloned superproject or installed distribution.
Add CMakeSettings.json config file for VS2017 integration with CMake
  - Defines build configurations for VS and Ninja generators.
  - Can be used as is or as a template ready to customise.
Add conanfile.txt for Conan package manager (eg. for cmake -DGIL_USE_CONAN=ON).
Add .editignore file to with basic encoding of CMake and CI scripts.
Update .appveyor.yml with two extra CMake-based builds (allowed to fail).
2018-06-27 00:02:27 -04:00
Stefan Seefeld
2ae1c629a1 Add more build options. 2018-06-27 00:02:27 -04:00
Stefan Seefeld
b5098d802a Add fabscripts for IO and Toolbox tests. 2018-06-27 00:02:27 -04:00
Stefan Seefeld
0232add43c Add toolbox tests. 2018-06-27 00:02:27 -04:00
Christian Henning
e388f8bfa2 More tests for subchroma image.
[SVN r84091]
2018-06-27 00:02:27 -04:00
Christian Henning
ac53ba14d6 Renamed test suite.
[SVN r84080]
2018-06-27 00:02:27 -04:00
Christian Henning
671625f4e4 Added support for different kinds of subchroma image types.
[SVN r84079]
2018-06-27 00:02:27 -04:00
Christian Henning
8c2b315fd8 Added sub-image factors as template parameters.
[SVN r83883]
2018-06-27 00:02:27 -04:00
Christian Henning
c9267d3ffe Change to more appropriate image type name.
[SVN r83876]
2018-06-27 00:02:27 -04:00
Christian Henning
3ec46ced05 Test cases for subsampled_image and ycbcr color space.
[SVN r83606]
2018-06-27 00:02:27 -04:00
Christian Henning
b1d81008e0 Some subsampled_image tests.
[SVN r83502]
2018-06-27 00:02:27 -04:00
Christian Henning
fc6b74a8e3 Added Missing Copyright and License notices.
[SVN r83194]
2018-06-27 00:02:27 -04:00
Christian Henning
75342fedd2 Added more specializations for get_num_bits.
[SVN r82882]
2018-06-27 00:02:27 -04:00
Christian Henning
f0f63aa242 Updated some tests to reflect recent changes.
[SVN r82856]
2018-06-27 00:02:27 -04:00
Christian Henning
d5ac812333 Fixed compiler errors for gcc and clang.
[SVN r82775]
2018-06-27 00:02:27 -04:00
Christian Henning
b884d1e755 Toolbox tests and documentation.
[SVN r82768]
2018-06-27 00:02:27 -04:00