Home
last modified time | relevance | path

Searched refs:x_coord_t (Results 1 – 25 of 32) sorted by relevance

12

/third_party/boost/boost/gil/image_processing/
Dscaling.hpp40 typename ImageView::x_coord_t source_x, in lanczos_at()
42 typename ImageView::x_coord_t target_x, in lanczos_at()
46 using x_coord_t = typename ImageView::x_coord_t; in lanczos_at() typedef
60 auto x_zero = static_cast<x_coord_t>(0); in lanczos_at()
61 auto x_one = static_cast<x_coord_t>(1); in lanczos_at()
69 for (x_coord_t x_i = (std::max)(source_x - static_cast<x_coord_t>(a) + x_one, x_zero); in lanczos_at()
70 x_i <= (std::min)(source_x + static_cast<x_coord_t>(a), input_view.width() - x_one); in lanczos_at()
102 using x_coord_t = typename ImageView::x_coord_t; in scale_lanczos() typedef
106 for (x_coord_t x = 0; x < output_view.width(); ++x) in scale_lanczos()
/third_party/boost/boost/gil/
Dlocator.hpp129 using x_coord_t = typename point_t::template axis<0>::coord_t; typedef in boost::gil::pixel_2d_locator_base
134 …x_iterator x_at(x_coord_t dx, y_coord_t dy) const { Loc tmp=concrete(); tmp+=point_t(dx,dy… in x_at()
136 …y_iterator y_at(x_coord_t dx, y_coord_t dy) const { Loc tmp=concrete(); tmp+=point_t(dx,dy… in y_at()
138 …Loc xy_at(x_coord_t dx, y_coord_t dy) const { Loc tmp=concrete(); tmp+=point_t(dx,dy… in xy_at()
145 reference operator()(x_coord_t dx, y_coord_t dy) const { return *x_at(dx,dy); } in operator ()()
159 …cached_location_t cache_location(x_coord_t dx, y_coord_t dy)const { return difference_type(dx,dy);… in cache_location()
239 using x_coord_t = typename parent_t::x_coord_t; typedef in boost::gil::memory_based_2d_locator
274 …x_iterator x_at (x_coord_t dx, y_coord_t dy) const { return memunit_advanced(x(), offset(dx,… in x_at()
276 …this_t xy_at (x_coord_t dx, y_coord_t dy) const { return this_t(x_at( dx , dy ), row_size… in xy_at()
278 …reference operator()(x_coord_t dx, y_coord_t dy) const { return memunit_advanced_ref(x(),offset(… in operator ()()
[all …]
Dimage_view.hpp81 using x_coord_t = typename xy_locator::x_coord_t; typedef in boost::gil::image_view
107 : _dimensions(x_coord_t(width), y_coord_t(height)), _pixels(loc) in image_view()
162 auto width() const -> x_coord_t in width()
260 auto at(x_coord_t x, y_coord_t y) const -> iterator in at()
278 auto operator()(x_coord_t x, y_coord_t y) const -> reference in operator ()()
294 auto xy_at(x_coord_t x, y_coord_t y) const -> xy_locator in xy_at()
313 auto x_at(x_coord_t x, y_coord_t y) const -> x_iterator in x_at()
342 auto y_at(x_coord_t x, y_coord_t y) const -> y_iterator in y_at()
356 auto col_begin(x_coord_t x) const -> y_iterator in col_begin()
362 auto col_end(x_coord_t x) const -> y_iterator in col_end()
Dvirtual_locator.hpp52 using x_coord_t = typename parent_t::x_coord_t; typedef in boost::gil::virtual_2d_locator
114 auto y_distance_to(this_t const& it2, x_coord_t) const -> y_coord_t in y_distance_to()
122 bool is_1d_traversable(x_coord_t) const { return false; } in is_1d_traversable()
Dimage.hpp54 using x_coord_t = coord_t; typedef in boost::gil::image
58 x_coord_t width() const { return _view.width(); } in width()
74 image(x_coord_t width, y_coord_t height, in image()
91 image(x_coord_t width, y_coord_t height, in image()
259 void recreate(x_coord_t width, y_coord_t height, std::size_t alignment = 0) in recreate()
284 void recreate( x_coord_t width, y_coord_t height, const Pixel& p_in, std::size_t alignment = 0 ) in recreate()
310 void recreate(x_coord_t width, y_coord_t height, std::size_t alignment, const Alloc alloc_in) in recreate()
335 …void recreate(x_coord_t width, y_coord_t height, const Pixel& p_in, std::size_t alignment, const A… in recreate()
428 std::size_t get_row_size_in_memunits(x_coord_t width) const { // number of units per row in get_row_size_in_memunits()
Ddeprecated.hpp39 void resize_clobber_image(Img& img, const typename Img::x_coord_t& width, const typename Img::y_coo… in resize_clobber_image()
43 template <typename T> typename T::x_coord_t get_width(const T& a) { return a.width(); } in get_width()
/third_party/boost/libs/gil/test/extension/io/
Dtarga_read_test.cpp78 typename rgb8_image_t::x_coord_t width = view( img ).width(); in BOOST_AUTO_TEST_CASE()
96 typename rgb8_image_t::x_coord_t width = view( img ).width(); in BOOST_AUTO_TEST_CASE()
116 typename rgba8_image_t::x_coord_t width = view( img ).width(); in BOOST_AUTO_TEST_CASE()
134 typename rgba8_image_t::x_coord_t width = view( img ).width(); in BOOST_AUTO_TEST_CASE()
154 typename rgb8_image_t::x_coord_t width = view( img ).width(); in BOOST_AUTO_TEST_CASE()
172 typename rgb8_image_t::x_coord_t width = view( img ).width(); in BOOST_AUTO_TEST_CASE()
190 typename rgba8_image_t::x_coord_t width = view( img ).width(); in BOOST_AUTO_TEST_CASE()
208 typename rgba8_image_t::x_coord_t width = view( img ).width(); in BOOST_AUTO_TEST_CASE()
Dcmp_view.hpp21 typename View1::x_coord_t width = v1.width(); in cmp_view()
29 for (typename View1::x_coord_t x = 0; x < width; ++x) in cmp_view()
/third_party/boost/libs/gil/doc/html/_sources/design/
Dimage.rst.txt48 typename x_coord_t = const_view_t::x_coord_t;
51 Img::Img(x_coord_t width, y_coord_t height, std::size_t alignment=0);
52 Img::Img(x_coord_t width, y_coord_t height, value_type fill_value, std::size_t alignment);
54 x_coord_t Img::width() const;
57 void Img::recreate(x_coord_t width, y_coord_t height, std::size_t alignment=1);
58 …void Img::recreate(x_coord_t width, y_coord_t height, value_type fill_value, std::size_t alignment…
Dpixel_locator.rst.txt82 typename x_coord_t = axis<0>::coord_t;
89 //Loc::Loc(const Loc& loc, x_coord_t, y_coord_t, bool transposed=false);
101 x_iterator Loc::x_at(x_coord_t, y_coord_t) const;
102 y_iterator Loc::y_at(x_coord_t, y_coord_t) const;
103 Loc Loc::xy_at(x_coord_t, y_coord_t) const;
104 reference operator()(const Loc&, x_coord_t, y_coord_t);
105 cached_location_t Loc::cache_location(x_coord_t, y_coord_t) const;
107 bool Loc::is_1d_traversable(x_coord_t width) const;
108 y_coord_t Loc::y_distance_to(const Loc& loc2, x_coord_t x_diff) const;
153 where x_coord_t == y_coord_t;
[all …]
Dimage_view.rst.txt83 typename x_coord_t = axis<0>::coord_t;
87 x_coord_t View::width() const;
97 y_iterator View::col_begin(x_coord_t) const;
98 y_iterator View::col_end (x_coord_t) const;
104 View::View(x_coord_t,y_coord_t,const locator&);
105 iterator View::at(x_coord_t,y_coord_t) const;
106 reference operator()(View,x_coord_t,y_coord_t) const;
107 xy_locator View::xy_at(x_coord_t,y_coord_t) const;
108 x_iterator View::x_at(x_coord_t,y_coord_t) const;
109 y_iterator View::y_at(x_coord_t,y_coord_t) const;
[all …]
Ddynamic_image.rst.txt59 typedef std::ptrdiff_t x_coord_t;
75 x_coord_t width() const;
85 typedef std::ptrdiff_t x_coord_t;
98 void recreate(x_coord_t width, y_coord_t height, unsigned alignment=1);
102 x_coord_t width() const;
/third_party/boost/libs/gil/doc/design/
Dimage.rst48 typename x_coord_t = const_view_t::x_coord_t;
51 Img::Img(x_coord_t width, y_coord_t height, std::size_t alignment=0);
52 Img::Img(x_coord_t width, y_coord_t height, value_type fill_value, std::size_t alignment);
54 x_coord_t Img::width() const;
57 void Img::recreate(x_coord_t width, y_coord_t height, std::size_t alignment=1);
58 …void Img::recreate(x_coord_t width, y_coord_t height, value_type fill_value, std::size_t alignment…
Dpixel_locator.rst82 typename x_coord_t = axis<0>::coord_t;
89 //Loc::Loc(const Loc& loc, x_coord_t, y_coord_t, bool transposed=false);
101 x_iterator Loc::x_at(x_coord_t, y_coord_t) const;
102 y_iterator Loc::y_at(x_coord_t, y_coord_t) const;
103 Loc Loc::xy_at(x_coord_t, y_coord_t) const;
104 reference operator()(const Loc&, x_coord_t, y_coord_t);
105 cached_location_t Loc::cache_location(x_coord_t, y_coord_t) const;
107 bool Loc::is_1d_traversable(x_coord_t width) const;
108 y_coord_t Loc::y_distance_to(const Loc& loc2, x_coord_t x_diff) const;
153 where x_coord_t == y_coord_t;
[all …]
Dimage_view.rst83 typename x_coord_t = axis<0>::coord_t;
87 x_coord_t View::width() const;
97 y_iterator View::col_begin(x_coord_t) const;
98 y_iterator View::col_end (x_coord_t) const;
104 View::View(x_coord_t,y_coord_t,const locator&);
105 iterator View::at(x_coord_t,y_coord_t) const;
106 reference operator()(View,x_coord_t,y_coord_t) const;
107 xy_locator View::xy_at(x_coord_t,y_coord_t) const;
108 x_iterator View::x_at(x_coord_t,y_coord_t) const;
109 y_iterator View::y_at(x_coord_t,y_coord_t) const;
[all …]
Ddynamic_image.rst59 typedef std::ptrdiff_t x_coord_t;
75 x_coord_t width() const;
85 typedef std::ptrdiff_t x_coord_t;
98 void recreate(x_coord_t width, y_coord_t height, unsigned alignment=1);
102 x_coord_t width() const;
/third_party/boost/libs/gil/test/extension/io/targa/
Dtarga_read_test.cpp58 typename gil::rgb8_image_t::x_coord_t width = gil::view(img).width(); in test_read_reference_images()
75 typename gil::rgb8_image_t::x_coord_t width = gil::view(img).width(); in test_read_reference_images()
94 typename gil::rgba8_image_t::x_coord_t width = gil::view(img).width(); in test_read_reference_images()
111 typename gil::rgba8_image_t::x_coord_t width = gil::view(img).width(); in test_read_reference_images()
130 typename gil::rgb8_image_t::x_coord_t width = gil::view(img).width(); in test_read_reference_images()
147 typename gil::rgb8_image_t::x_coord_t width = gil::view(img).width(); in test_read_reference_images()
164 typename gil::rgba8_image_t::x_coord_t width = gil::view(img).width(); in test_read_reference_images()
181 typename gil::rgba8_image_t::x_coord_t width = gil::view(img).width(); in test_read_reference_images()
/third_party/boost/boost/gil/concepts/
Dimage.hpp114 using x_coord_t = typename Image::x_coord_t; in constraints() typedef
120 x_coord_t w=image.width(); in constraints()
153 static_assert(std::is_same<coord_t, typename Image::x_coord_t>::value, ""); in constraints()
Dpixel_locator.hpp237 using x_coord_t = typename Loc::x_coord_t; in constraints() typedef
240 x_coord_t xd = 0; ignore_unused_variable_warning(xd); in constraints()
299 static_assert(std::is_same<typename Loc::x_coord_t, typename Loc::y_coord_t>::value, ""); in constraints()
338 typename Loc::x_coord_t xd = 0; ignore_unused_variable_warning(xd); in constraints()
Dimage_view.hpp236 using x_coord_t = typename View::x_coord_t; in constraints() typedef
240 x_coord_t xd = 0; ignore_unused_variable_warning(xd); in constraints()
384 static_assert(std::is_same<typename View::x_coord_t, typename View::y_coord_t>::value, ""); in constraints()
440 typename View::x_coord_t xd = 0; ignore_unused_variable_warning(xd); in constraints()
/third_party/boost/boost/graph/
Dis_straight_line_drawing.hpp98 typedef std::size_t x_coord_t; in is_straight_line_drawing() typedef
100 typedef boost::tuple< edge_t, x_coord_t, y_coord_t > edge_event_t; in is_straight_line_drawing()
103 typedef tuple< y_coord_t, y_coord_t, x_coord_t, x_coord_t > in is_straight_line_drawing()
/third_party/boost/boost/gil/extension/dynamic_image/
Dany_image_view.hpp80 using x_coord_t = std::ptrdiff_t; typedef in boost::gil::any_image_view
119 x_coord_t width() const { return dimensions().x; } in width()
/third_party/boost/boost/gil/extension/numeric/
Dconvolve.hpp72 using x_coord_t = typename SrcView::x_coord_t; in correlate_rows_impl() typedef
75 x_coord_t const width = src_view.width(); in correlate_rows_impl()
86 if (width < static_cast<x_coord_t>(kernel.size())) in correlate_rows_impl()
/third_party/boost/libs/gil/test/legacy/
Drecreate_image.cpp48 std::size_t get_row_size_in_memunits( typename View::x_coord_t width) in get_row_size_in_memunits()
/third_party/boost/boost/gil/extension/toolbox/image_types/
Dindexed_image.hpp264 using x_coord_t = typename indices_t::coord_t; typedef in boost::gil::indexed_image
271 indexed_image( const x_coord_t width = 0 in indexed_image()

12