/usr/include/boost/gil
NameSizeModeActions
concepts/-0755rm
detail/-0755rm
extension/-0755rm
image_processing/-0755rm
io/-0755rm
algorithm.hpp413330644editdlrm
bit_aligned_pixel_iterator.hpp92000644editdlrm
bit_aligned_pixel_reference.hpp140960644editdlrm
channel.hpp299130644editdlrm
channel_algorithm.hpp230810644editdlrm
cmyk.hpp12960644editdlrm
color_base.hpp220100644editdlrm
color_base_algorithm.hpp298890644editdlrm
color_convert.hpp138510644editdlrm
concepts.hpp8970644editdlrm
deprecated.hpp24770644editdlrm
device_n.hpp35910644editdlrm
dynamic_step.hpp8930644editdlrm
gray.hpp6190644editdlrm
image.hpp204520644editdlrm
image_view.hpp140460644editdlrm
image_view_factory.hpp246250644editdlrm
iterator_from_2d.hpp66480644editdlrm
locator.hpp187860644editdlrm
metafunctions.hpp311860644editdlrm
packed_pixel.hpp92140644editdlrm
pixel.hpp98660644editdlrm
pixel_iterator.hpp53070644editdlrm
pixel_iterator_adaptor.hpp90710644editdlrm
planar_pixel_iterator.hpp100590644editdlrm
planar_pixel_reference.hpp99160644editdlrm
point.hpp68990644editdlrm
position_iterator.hpp50050644editdlrm
premultiply.hpp35210644editdlrm
promote_integral.hpp61850644editdlrm
rgb.hpp14580644editdlrm
rgba.hpp16740644editdlrm
step_iterator.hpp142260644editdlrm
typedefs.hpp134150644editdlrm
utilities.hpp81610644editdlrm
virtual_locator.hpp62880644editdlrm
Edit: /usr/include/boost/gil/typedefs.hpp (13415B)
// // Copyright 2005-2007 Adobe Systems Incorporated // Copyright 2018 Mateusz Loskot // // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_GIL_TYPEDEFS_HPP #define BOOST_GIL_TYPEDEFS_HPP #include #include #include #include #include #include #include #include // B - bits size/signedness, CM - channel model, CS - colour space, LAYOUT - pixel layout // Example: B = '8', CM = 'uint8_t', CS = 'bgr, LAYOUT='bgr_layout_t' #define BOOST_GIL_DEFINE_BASE_TYPEDEFS_INTERNAL(B, CM, CS, LAYOUT) \ template struct pixel; \ template struct planar_pixel_reference; \ template struct planar_pixel_iterator; \ template class memory_based_step_iterator; \ template class point; \ template class memory_based_2d_locator; \ template class image_view; \ template class image; \ using CS##B##_pixel_t = pixel; \ using CS##B##c_pixel_t = pixel const; \ using CS##B##_ref_t = pixel&; \ using CS##B##c_ref_t = pixel const&; \ using CS##B##_ptr_t = CS##B##_pixel_t*; \ using CS##B##c_ptr_t = CS##B##c_pixel_t*; \ using CS##B##_step_ptr_t = memory_based_step_iterator; \ using CS##B##c_step_ptr_t = memory_based_step_iterator; \ using CS##B##_loc_t \ = memory_based_2d_locator>; \ using CS##B##c_loc_t \ = memory_based_2d_locator>; \ using CS##B##_step_loc_t \ = memory_based_2d_locator>; \ using CS##B##c_step_loc_t \ = memory_based_2d_locator>; \ using CS##B##_view_t = image_view; \ using CS##B##c_view_t = image_view; \ using CS##B##_step_view_t = image_view; \ using CS##B##c_step_view_t = image_view; \ using CS##B##_image_t = image>; // Example: B = '8', CM = 'uint8_t', CS = 'bgr' CS_FULL = 'rgb_t' LAYOUT='bgr_layout_t' #define BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(B, CM, CS, CS_FULL, LAYOUT) \ BOOST_GIL_DEFINE_BASE_TYPEDEFS_INTERNAL(B, CM, CS, LAYOUT) \ using CS##B##_planar_ref_t = planar_pixel_reference; \ using CS##B##c_planar_ref_t = planar_pixel_reference; \ using CS##B##_planar_ptr_t = planar_pixel_iterator; \ using CS##B##c_planar_ptr_t = planar_pixel_iterator; \ using CS##B##_planar_step_ptr_t = memory_based_step_iterator; \ using CS##B##c_planar_step_ptr_t \ = memory_based_step_iterator; \ using CS##B##_planar_loc_t \ = memory_based_2d_locator>; \ using CS##B##c_planar_loc_t \ = memory_based_2d_locator>; \ using CS##B##_planar_step_loc_t \ = memory_based_2d_locator>; \ using CS##B##c_planar_step_loc_t \ = memory_based_2d_locator>; \ using CS##B##_planar_view_t = image_view; \ using CS##B##c_planar_view_t = image_view; \ using CS##B##_planar_step_view_t = image_view; \ using CS##B##c_planar_step_view_t = image_view; \ using CS##B##_planar_image_t \ = image>; #define BOOST_GIL_DEFINE_BASE_TYPEDEFS(B, CM, CS) \ BOOST_GIL_DEFINE_BASE_TYPEDEFS_INTERNAL(B, CM, CS, CS##_layout_t) #define BOOST_GIL_DEFINE_ALL_TYPEDEFS(B, CM, CS) \ BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(B, CM, CS, CS##_t, CS##_layout_t) namespace boost { namespace gil { // forward declarations template struct scoped_channel_value; template struct float_point_zero; template struct float_point_one; ////////////////////////////////////////////////////////////////////////////////////////// /// Built-in channel models ////////////////////////////////////////////////////////////////////////////////////////// /// \ingroup ChannelModel /// \brief 8-bit unsigned integral channel type (alias from uint8_t). Models ChannelValueConcept using std::uint8_t; /// \ingroup ChannelModel /// \brief 16-bit unsigned integral channel type (alias from uint16_t). Models ChannelValueConcept using std::uint16_t; /// \ingroup ChannelModel /// \brief 32-bit unsigned integral channel type (alias from uint32_t). Models ChannelValueConcept using std::uint32_t; /// \ingroup ChannelModel /// \brief 8-bit signed integral channel type (alias from int8_t). Models ChannelValueConcept using std::int8_t; /// \ingroup ChannelModel /// \brief 16-bit signed integral channel type (alias from int16_t). Models ChannelValueConcept using std::int16_t; /// \ingroup ChannelModel /// \brief 32-bit signed integral channel type (alias from int32_t). Models ChannelValueConcept using std::int32_t; /// \ingroup ChannelModel /// \brief 32-bit floating point channel type with range [0.0f ... 1.0f]. Models ChannelValueConcept using float32_t = scoped_channel_value, float_point_one>; /// \ingroup ChannelModel /// \brief 64-bit floating point channel type with range [0.0f ... 1.0f]. Models ChannelValueConcept using float64_t = scoped_channel_value, float_point_one>; BOOST_GIL_DEFINE_BASE_TYPEDEFS(8, uint8_t, gray) BOOST_GIL_DEFINE_BASE_TYPEDEFS(8s, int8_t, gray) BOOST_GIL_DEFINE_BASE_TYPEDEFS(16, uint16_t, gray) BOOST_GIL_DEFINE_BASE_TYPEDEFS(16s, int16_t, gray) BOOST_GIL_DEFINE_BASE_TYPEDEFS(32, uint32_t, gray) BOOST_GIL_DEFINE_BASE_TYPEDEFS(32s, int32_t, gray) BOOST_GIL_DEFINE_BASE_TYPEDEFS(32f, float32_t, gray) BOOST_GIL_DEFINE_BASE_TYPEDEFS(8, uint8_t, bgr) BOOST_GIL_DEFINE_BASE_TYPEDEFS(8s, int8_t, bgr) BOOST_GIL_DEFINE_BASE_TYPEDEFS(16, uint16_t, bgr) BOOST_GIL_DEFINE_BASE_TYPEDEFS(16s, int16_t, bgr) BOOST_GIL_DEFINE_BASE_TYPEDEFS(32, uint32_t, bgr) BOOST_GIL_DEFINE_BASE_TYPEDEFS(32s, int32_t, bgr) BOOST_GIL_DEFINE_BASE_TYPEDEFS(32f, float32_t, bgr) BOOST_GIL_DEFINE_BASE_TYPEDEFS(8, uint8_t, argb) BOOST_GIL_DEFINE_BASE_TYPEDEFS(8s, int8_t, argb) BOOST_GIL_DEFINE_BASE_TYPEDEFS(16, uint16_t, argb) BOOST_GIL_DEFINE_BASE_TYPEDEFS(16s, int16_t, argb) BOOST_GIL_DEFINE_BASE_TYPEDEFS(32, uint32_t, argb) BOOST_GIL_DEFINE_BASE_TYPEDEFS(32s, int32_t, argb) BOOST_GIL_DEFINE_BASE_TYPEDEFS(32f, float32_t, argb) BOOST_GIL_DEFINE_BASE_TYPEDEFS(8, uint8_t, abgr) BOOST_GIL_DEFINE_BASE_TYPEDEFS(8s, int8_t, abgr) BOOST_GIL_DEFINE_BASE_TYPEDEFS(16, uint16_t, abgr) BOOST_GIL_DEFINE_BASE_TYPEDEFS(16s, int16_t, abgr) BOOST_GIL_DEFINE_BASE_TYPEDEFS(32, uint32_t, abgr) BOOST_GIL_DEFINE_BASE_TYPEDEFS(32s, int32_t, abgr) BOOST_GIL_DEFINE_BASE_TYPEDEFS(32f, float32_t, abgr) BOOST_GIL_DEFINE_BASE_TYPEDEFS(8, uint8_t, bgra) BOOST_GIL_DEFINE_BASE_TYPEDEFS(8s, int8_t, bgra) BOOST_GIL_DEFINE_BASE_TYPEDEFS(16, uint16_t, bgra) BOOST_GIL_DEFINE_BASE_TYPEDEFS(16s, int16_t, bgra) BOOST_GIL_DEFINE_BASE_TYPEDEFS(32, uint32_t, bgra) BOOST_GIL_DEFINE_BASE_TYPEDEFS(32s, int32_t, bgra) BOOST_GIL_DEFINE_BASE_TYPEDEFS(32f, float32_t, bgra) BOOST_GIL_DEFINE_ALL_TYPEDEFS(8, uint8_t, rgb) BOOST_GIL_DEFINE_ALL_TYPEDEFS(8s, int8_t, rgb) BOOST_GIL_DEFINE_ALL_TYPEDEFS(16, uint16_t, rgb) BOOST_GIL_DEFINE_ALL_TYPEDEFS(16s, int16_t, rgb) BOOST_GIL_DEFINE_ALL_TYPEDEFS(32, uint32_t, rgb) BOOST_GIL_DEFINE_ALL_TYPEDEFS(32s, int32_t, rgb) BOOST_GIL_DEFINE_ALL_TYPEDEFS(32f, float32_t, rgb) BOOST_GIL_DEFINE_ALL_TYPEDEFS(8, uint8_t, rgba) BOOST_GIL_DEFINE_ALL_TYPEDEFS(8s, int8_t, rgba) BOOST_GIL_DEFINE_ALL_TYPEDEFS(16, uint16_t, rgba) BOOST_GIL_DEFINE_ALL_TYPEDEFS(16s, int16_t, rgba) BOOST_GIL_DEFINE_ALL_TYPEDEFS(32, uint32_t, rgba) BOOST_GIL_DEFINE_ALL_TYPEDEFS(32s, int32_t, rgba) BOOST_GIL_DEFINE_ALL_TYPEDEFS(32f, float32_t, rgba) BOOST_GIL_DEFINE_ALL_TYPEDEFS(8, uint8_t, cmyk) BOOST_GIL_DEFINE_ALL_TYPEDEFS(8s, int8_t, cmyk) BOOST_GIL_DEFINE_ALL_TYPEDEFS(16, uint16_t, cmyk) BOOST_GIL_DEFINE_ALL_TYPEDEFS(16s, int16_t, cmyk) BOOST_GIL_DEFINE_ALL_TYPEDEFS(32, uint32_t, cmyk) BOOST_GIL_DEFINE_ALL_TYPEDEFS(32s, int32_t, cmyk) BOOST_GIL_DEFINE_ALL_TYPEDEFS(32f, float32_t, cmyk) template struct devicen_t; template struct devicen_layout_t; BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(8, uint8_t, dev2n, devicen_t<2>, devicen_layout_t<2>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(8s, int8_t, dev2n, devicen_t<2>, devicen_layout_t<2>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(16, uint16_t, dev2n, devicen_t<2>, devicen_layout_t<2>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(16s, int16_t, dev2n, devicen_t<2>, devicen_layout_t<2>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(32, uint32_t, dev2n, devicen_t<2>, devicen_layout_t<2>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(32s, int32_t, dev2n, devicen_t<2>, devicen_layout_t<2>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(32f, float32_t, dev2n, devicen_t<2>, devicen_layout_t<2>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(8, uint8_t, dev3n, devicen_t<3>, devicen_layout_t<3>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(8s, int8_t, dev3n, devicen_t<3>, devicen_layout_t<3>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(16, uint16_t, dev3n, devicen_t<3>, devicen_layout_t<3>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(16s, int16_t, dev3n, devicen_t<3>, devicen_layout_t<3>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(32, uint32_t, dev3n, devicen_t<3>, devicen_layout_t<3>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(32s, int32_t, dev3n, devicen_t<3>, devicen_layout_t<3>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(32f, float32_t, dev3n, devicen_t<3>, devicen_layout_t<3>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(8, uint8_t, dev4n, devicen_t<4>, devicen_layout_t<4>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(8s, int8_t, dev4n, devicen_t<4>, devicen_layout_t<4>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(16, uint16_t, dev4n, devicen_t<4>, devicen_layout_t<4>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(16s, int16_t, dev4n, devicen_t<4>, devicen_layout_t<4>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(32, uint32_t, dev4n, devicen_t<4>, devicen_layout_t<4>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(32s, int32_t, dev4n, devicen_t<4>, devicen_layout_t<4>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(32f, float32_t, dev4n, devicen_t<4>, devicen_layout_t<4>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(8, uint8_t, dev5n, devicen_t<5>, devicen_layout_t<5>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(8s, int8_t, dev5n, devicen_t<5>, devicen_layout_t<5>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(16, uint16_t, dev5n, devicen_t<5>, devicen_layout_t<5>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(16s, int16_t, dev5n, devicen_t<5>, devicen_layout_t<5>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(32, uint32_t, dev5n, devicen_t<5>, devicen_layout_t<5>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(32s, int32_t, dev5n, devicen_t<5>, devicen_layout_t<5>) BOOST_GIL_DEFINE_ALL_TYPEDEFS_INTERNAL(32f, float32_t, dev5n, devicen_t<5>, devicen_layout_t<5>) }} // namespace boost::gil #endif