Home
last modified time | relevance | path

Searched full:view (Results 1 – 25 of 3036) sorted by relevance

12345678910>>...122

/third_party/boost/boost/gil/concepts/
Dimage_view.hpp52 /// \brief N-dimensional view over immutable values
55 /// concept RandomAccessNDImageViewConcept<Regular View>
60 /// typename const_t; where RandomAccessNDImageViewConcept<View>; // same as View, but over im…
75 /// // Defines the type of a view similar to this type, except it invokes Deref upon dereferenc…
78 /// static type make(const View& v, const Deref& deref);
84 /// View::View(const locator&, const point_type&);
86 /// size_type View::size() const; // total number of elements
87 /// reference operator[](View, const difference_type&) const; // 1-dimensional reference
88 /// iterator View::begin() const;
89 /// iterator View::end() const;
[all …]
/third_party/boost/boost/gil/
Dimage_view_factory.hpp26 /// or n-th channel image view. Derived image views are shallow copies and are fast to construct.
28 /// \defgroup ImageViewConstructors Image View From Raw Data
32 /// \defgroup ImageViewTransformations Image View Transformations
34 /// \brief Methods for constructing one image view from another
42 /// \brief Returns the type of a view that has a dynamic step along both X and Y
44 template <typename View>
46 : dynamic_y_step_type<typename dynamic_x_step_type<View>::type> {};
48 /// \brief Returns the type of a transposed view that has a dynamic step along both X and Y
50 template <typename View>
52 : dynamic_xy_step_type<typename transposed_type<View>::type> {};
[all …]
/third_party/boost/libs/gil/test/core/image_processing/
Dthreshold_truncate.cpp28 //filling original view's upper half part with gray pixels of value 50 in fill_original_gray()
29 //filling original view's lower half part with gray pixels of value 150 in fill_original_gray()
30 gil::fill_pixels(gil::subimage_view(gil::view(original_gray), 0, 0, original_gray.width(), in fill_original_gray()
32 gil::fill_pixels(gil::subimage_view(gil::view(original_gray), 0, original_gray.height() / 2, in fill_original_gray()
38 //filling original_rgb view's upper half part with rgb pixels of value 50, 85, 135 in fill_original_rgb()
39 //filling original_rgb view's lower half part with rgb pixels of value 150, 205, 106 in fill_original_rgb()
40 gil::fill_pixels(gil::subimage_view(gil::view(original_rgb), 0, 0, original_rgb.width(), in fill_original_rgb()
42 gil::fill_pixels(gil::subimage_view(gil::view(original_rgb), 0, original_rgb.height() / 2, in fill_original_rgb()
48 //expected view after thresholding of the original view with threshold value of 100 in threshold_gray_to_gray()
49 //filling expected view's upper half part with gray pixels of value 50 in threshold_gray_to_gray()
[all …]
Dthreshold_binary.cpp29 //filling original_gray view's upper half part with gray pixels of value 50 in fill_original_gray()
30 //filling original_gray view's lower half part with gray pixels of value 150 in fill_original_gray()
31 gil::fill_pixels(gil::subimage_view(gil::view(original_gray), 0, 0, original_gray.width(), in fill_original_gray()
33 gil::fill_pixels(gil::subimage_view(gil::view(original_gray), 0, original_gray.height() / 2, in fill_original_gray()
39 //filling original_rgb view's upper half part with rgb pixels of value 50, 155, 115 in fill_original_rgb()
40 //filling original_rgb view's lower half part with rgb pixels of value 203, 9, 60 in fill_original_rgb()
41 gil::fill_pixels(gil::subimage_view(gil::view(original_rgb), 0, 0, original_rgb.width(), in fill_original_rgb()
43 gil::fill_pixels(gil::subimage_view(gil::view(original_rgb), 0, original_rgb.height() / 2, in fill_original_rgb()
49 … //expected_gray view after thresholding of the original_gray view with threshold_gray value of 100 in binary_gray_to_gray()
50 //filling expected_gray view's upper half part with gray pixels of value 0 in binary_gray_to_gray()
[all …]
Dthreshold_otsu.cpp27 gil::view(original_gray)(0, 0) = gil::gray8_pixel_t(56); in fill_gray()
28 gil::view(original_gray)(1, 0) = gil::gray8_pixel_t(89); in fill_gray()
29 gil::view(original_gray)(0, 1) = gil::gray8_pixel_t(206); in fill_gray()
30 gil::view(original_gray)(1, 1) = gil::gray8_pixel_t(139); in fill_gray()
35 gil::view(original_rgb)(0, 0) = gil::rgb8_pixel_t(15, 158, 150); in fill_rgb()
36 gil::view(original_rgb)(1, 0) = gil::rgb8_pixel_t(200, 175, 150); in fill_rgb()
37 gil::view(original_rgb)(0, 1) = gil::rgb8_pixel_t(230, 170, 150); in fill_rgb()
38 gil::view(original_rgb)(1, 1) = gil::rgb8_pixel_t(25, 248, 150); in fill_rgb()
43 gil::view(expected_gray)(0, 0) = gil::gray8_pixel_t(0); in test_gray_regular()
44 gil::view(expected_gray)(1, 0) = gil::gray8_pixel_t(0); in test_gray_regular()
[all …]
/third_party/boost/libs/gil/test/core/image_view/
Dxy_locator.cpp25 auto view = gil::view(image); in test_xy_at() local
26 BOOST_TEST_EQ(*view.xy_at(0, 0), fixture::gray8_draw_pixel); in test_xy_at()
27 BOOST_TEST_EQ(*view.xy_at(1, 0), fixture::gray8_back_pixel); in test_xy_at()
28 BOOST_TEST_EQ(*view.xy_at(0, 1), fixture::gray8_back_pixel); in test_xy_at()
29 BOOST_TEST_EQ(*view.xy_at(1, 1), fixture::gray8_draw_pixel); in test_xy_at()
33 auto view = gil::view(image); in test_xy_at() local
34 BOOST_TEST_EQ(*view.xy_at(0, 0), fixture::rgb8_draw_pixel); in test_xy_at()
35 BOOST_TEST_EQ(*view.xy_at(1, 0), fixture::rgb8_back_pixel); in test_xy_at()
36 BOOST_TEST_EQ(*view.xy_at(0, 1), fixture::rgb8_back_pixel); in test_xy_at()
37 BOOST_TEST_EQ(*view.xy_at(1, 1), fixture::rgb8_draw_pixel); in test_xy_at()
[all …]
Dx_iterator.cpp25 auto view = gil::view(image); in test_x_at() local
26 BOOST_TEST_EQ(*view.x_at(0, 0), fixture::gray8_draw_pixel); in test_x_at()
27 BOOST_TEST_EQ(*view.x_at(1, 0), fixture::gray8_back_pixel); in test_x_at()
28 BOOST_TEST_EQ(*view.x_at(1, 1), fixture::gray8_draw_pixel); in test_x_at()
29 BOOST_TEST_EQ(*view.x_at(gil::point_t{0, 0}), fixture::gray8_draw_pixel); in test_x_at()
30 BOOST_TEST_EQ(*view.x_at(gil::point_t{0, 1}), fixture::gray8_back_pixel); in test_x_at()
31 BOOST_TEST_EQ(*view.x_at(gil::point_t{1, 1}), fixture::gray8_draw_pixel); in test_x_at()
32 BOOST_TEST_EQ(view.x_at(0, 0), view.row_begin(0)); in test_x_at()
33 BOOST_TEST_EQ(view.x_at(0, 1), view.row_begin(1)); in test_x_at()
34 BOOST_TEST_EQ(view.x_at(2, 0), view.row_end(0)); in test_x_at()
[all …]
Dy_iterator.cpp27 auto view = gil::view(image); in test_y_at() local
28 BOOST_TEST_EQ(*view.y_at(0, 0), fixture::gray8_draw_pixel); in test_y_at()
29 BOOST_TEST_EQ(*view.y_at(1, 0), fixture::gray8_back_pixel); in test_y_at()
30 BOOST_TEST_EQ(*view.y_at(1, 1), fixture::gray8_draw_pixel); in test_y_at()
31 BOOST_TEST_EQ(*view.y_at(gil::point_t{0, 0}), fixture::gray8_draw_pixel); in test_y_at()
32 BOOST_TEST_EQ(*view.y_at(gil::point_t{0, 1}), fixture::gray8_back_pixel); in test_y_at()
33 BOOST_TEST_EQ(*view.y_at(gil::point_t{1, 1}), fixture::gray8_draw_pixel); in test_y_at()
34 BOOST_TEST(view.y_at(0, 0) == view.col_begin(0)); in test_y_at()
35 BOOST_TEST(view.y_at(1, 0) == view.col_begin(1)); in test_y_at()
36 BOOST_TEST(view.y_at(0, 2) == view.col_end(0)); in test_y_at()
[all …]
Diterator.cpp24 auto view = gil::view(image); in test_begin() local
25 BOOST_TEST_EQ(*view.begin(), fixture::gray8_draw_pixel); in test_begin()
29 auto view = gil::view(image); in test_begin() local
30 BOOST_TEST_EQ(*view.begin(), fixture::rgb8_draw_pixel); in test_begin()
38 auto view = gil::view(image); in test_end() local
39 BOOST_TEST(view.begin() == view.end()); in test_end()
43 auto view = gil::view(image); in test_end() local
44 BOOST_TEST(view.begin() == view.end()); in test_end()
52 auto view = gil::view(image); in test_at() local
54 BOOST_TEST_EQ(*view.at(0), fixture::gray8_draw_pixel); in test_at()
[all …]
Dcollection.cpp31 auto view = gil::view(image); in test_begin() local
32 BOOST_TEST_EQ(*view.begin(), gray255); in test_begin()
37 gil::gray8_image_t::view_t view; in test_end() local
38 BOOST_TEST(view.begin() == view.end()); in test_end()
43 gil::gray8_image_t::view_t view; in test_empty() local
44 BOOST_TEST(view.empty()); in test_empty()
47 view = gil::view(image); in test_empty()
48 BOOST_TEST(!view.empty()); in test_empty()
53 gil::gray8_image_t::view_t view; in test_size() local
54 BOOST_TEST_EQ(view.size(), 0); in test_size()
[all …]
/third_party/boost/libs/gil/doc/html/_sources/design/
Dimage_view.rst.txt1 Image View
11 An image view is a generalization of STL range concept to multiple dimensions.
14 For example, a constant image view cannot be resized, but may allow modifying
15 the pixels. For pixel-immutable operations, use constant-value image view
16 (also called non-mutable image view). Most general N-dimensional views satisfy
21 concept RandomAccessNDImageViewConcept<Regular View>
26 …typename const_t; where RandomAccessNDImageViewConcept<View>; // same as View, but over immutable…
41 // Defines the type of a view similar to this type, except it invokes Deref upon dereferencing
44 static type make(const View& v, const Deref& deref);
50 View::View(const locator&, const point_type&);
[all …]
/third_party/boost/libs/gil/doc/design/
Dimage_view.rst1 Image View
11 An image view is a generalization of STL range concept to multiple dimensions.
14 For example, a constant image view cannot be resized, but may allow modifying
15 the pixels. For pixel-immutable operations, use constant-value image view
16 (also called non-mutable image view). Most general N-dimensional views satisfy
21 concept RandomAccessNDImageViewConcept<Regular View>
26 …typename const_t; where RandomAccessNDImageViewConcept<View>; // same as View, but over immutable…
41 // Defines the type of a view similar to this type, except it invokes Deref upon dereferencing
44 static type make(const View& v, const Deref& deref);
50 View::View(const locator&, const point_type&);
[all …]
/third_party/gstreamer/gstplugins_bad/ext/wpe/
DWPEThreadedView.cpp108 auto& view = *static_cast<WPEThreadedView*>(data); in s_viewThread() local
110 view.glib.context = g_main_context_new(); in s_viewThread()
111 view.glib.loop = g_main_loop_new(view.glib.context, FALSE); in s_viewThread()
113 g_main_context_push_thread_default(view.glib.context); in s_viewThread()
119 auto& view = *static_cast<WPEThreadedView*>(data); in s_viewThread() local
120 GMutexHolder lock(view.threading.mutex); in s_viewThread()
121 g_cond_signal(&view.threading.cond); in s_viewThread()
124 &view, nullptr); in s_viewThread()
125 g_source_attach(source, view.glib.context); in s_viewThread()
129 g_main_loop_run(view.glib.loop); in s_viewThread()
[all …]
/third_party/boost/boost/gil/extension/io/tiff/detail/
Dwrite.hpp78 template< typename View >
80 : public is_write_supported< typename get_pixel_type< View >::type
113 template<typename View>
114 void apply( const View& view ) in apply() argument
116 write_view( view ); in apply()
121 template< typename View >
122 void write_view( const View& view ) in write_view() argument
124 using pixel_t = typename View::value_type; in write_view()
131 this->write_header( view ); in write_view()
135 write_data( view in write_view()
[all …]
/third_party/boost/boost/gil/io/
Dread_and_convert_view.hpp24 /// \brief Reads and color-converts an image view. No memory is allocated.
30 template <typename Reader, typename View>
32 void read_and_convert_view(Reader& reader, View const& view, in read_and_convert_view() argument
42 reader.check_image_size(view.dimensions()); in read_and_convert_view()
43 reader.init_view(view, reader._settings); in read_and_convert_view()
44 reader.apply(view); in read_and_convert_view()
47 /// \brief Reads and color-converts an image view. No memory is allocated.
49 /// \param view The image view in which the data is read into.
53 template <typename Device, typename View, typename ColorConverter, typename FormatTag>
57 View const& view, in read_and_convert_view() argument
[all …]
Dread_view.hpp24 /// \brief Reads an image view without conversion. No memory is allocated.
26 /// \param view The image view in which the data is read into.
29 template <typename Reader, typename View>
31 void read_view(Reader reader, View const& view, in read_view() argument
40 typename get_pixel_type<View>::type, in read_view()
46 reader.check_image_size(view.dimensions()); in read_view()
47 reader.init_view(view, reader._settings); in read_view()
48 reader.apply(view); in read_view()
51 /// \brief Reads an image view without conversion. No memory is allocated.
53 /// \param view The image view in which the data is read into.
[all …]
Ddynamic_io_new.hpp47 // Given a predicate IsSupported taking a view type and returning an boolean integral coonstant,
48 // calls the apply method of OpClass with the view if the given view IsSupported, or throws an exce…
55 template <typename View>
56 void apply(View const& view, std::true_type) { _op->apply(view); } in apply() argument
58 template <typename View, typename Info>
59 … void apply(View const& view, Info const & info, const std::true_type) { _op->apply(view, info); } in apply() argument
61 template <typename View>
62 void apply(View const& /* view */, std::false_type) in apply()
64 io_error("dynamic_io: unsupported view type for the given file format"); in apply()
67 template <typename View, typename Info >
[all …]
/third_party/flutter/skia/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieActivity.java16 import android.view.View;
17 import android.view.ViewGroup;
32 public class SkottieActivity extends Activity implements View.OnClickListener {
61 SkottieView view = new SkottieView(this); in populateGrid() local
62 view.setSource(getResources().openRawResource(resId)); in populateGrid()
63 mAnimations.add(view); in populateGrid()
69 SkottieView view = new SkottieView(this); in populateGrid() local
70 view.setSource(inputStream); in populateGrid()
71 mAnimations.add(view); in populateGrid()
94 for (SkottieView view : mAnimations) { in populateGrid()
[all …]
/third_party/node/deps/npm/test/tap/
Dview.js13 var t1dir = path.resolve(tmp, 'view-local-no-pkg')
14 var t2dir = path.resolve(tmp, 'view-local-notmine')
15 var t3dir = path.resolve(tmp, 'view-local-mine')
61 test('npm view . in global mode', function (t) {
63 'view',
68 t.ifError(err, 'view command finished successfully')
70 t.similar(stderr, /Cannot use view command in global mode./m)
75 test('npm view --global', function (t) {
77 'view',
81 t.ifError(err, 'view command finished successfully')
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/platform/
DSingleViewPresentation.java16 import android.view.*;
17 import android.view.accessibility.AccessibilityEvent;
23 import static android.view.View.OnFocusChangeListener;
26 * A presentation used for hosting a single Android view in a virtual display.
29 …* directly to the WindowManager are added as part of the presentation's view hierarchy (to fakeWin…
31 * The view hierarchy for the presentation is as following:
45 …* When an embedded view is resized in Flutterverse we move the Android view to a new virtual displ…
46 …* that has the new size. This class keeps the presentation state that moves with the view to the p…
50 // The Android view we are embedding in the Flutter app.
68 // This is the view id assigned by the Flutter framework to the embedded view, we keep it here
[all …]
/third_party/boost/libs/gil/test/extension/io/
Dtarga_read_test.cpp40 , view( img ) in write()
78 typename rgb8_image_t::x_coord_t width = view( img ).width(); in BOOST_AUTO_TEST_CASE()
79 typename rgb8_image_t::y_coord_t height = view( img ).height(); in BOOST_AUTO_TEST_CASE()
83 BOOST_CHECK( view( img )(0, 0) == rgb8_pixel_t(248, 0, 248) ); in BOOST_AUTO_TEST_CASE()
84 BOOST_CHECK( view( img )(width-1, 0) == rgb8_pixel_t(0, 0, 248) ); in BOOST_AUTO_TEST_CASE()
85 BOOST_CHECK( view( img )(0, height-1) == rgb8_pixel_t(248, 0, 0) ); in BOOST_AUTO_TEST_CASE()
86 BOOST_CHECK( view( img )(width-1, height-1) == rgb8_pixel_t(248, 0, 248) ); in BOOST_AUTO_TEST_CASE()
96 typename rgb8_image_t::x_coord_t width = view( img ).width(); in BOOST_AUTO_TEST_CASE()
97 typename rgb8_image_t::y_coord_t height = view( img ).height(); in BOOST_AUTO_TEST_CASE()
101 BOOST_CHECK( view( img )(0, 0) == rgb8_pixel_t(248, 0, 248) ); in BOOST_AUTO_TEST_CASE()
[all …]
/third_party/weston/libweston-desktop/
Dsurface.c39 struct weston_view *view; member
83 struct weston_desktop_view *view; in weston_desktop_surface_update_view_position() local
100 wl_list_for_each(view, &surface->view_list, link) in weston_desktop_surface_update_view_position()
101 weston_view_set_position(view->view, x, y); in weston_desktop_surface_update_view_position()
106 weston_desktop_view_propagate_layer(struct weston_desktop_view *view);
109 weston_desktop_view_destroy(struct weston_desktop_view *view) in weston_desktop_view_destroy() argument
113 wl_list_for_each_safe(child_view, tmp, &view->children_list, children_link) in weston_desktop_view_destroy()
116 wl_list_remove(&view->children_link); in weston_desktop_view_destroy()
117 wl_list_remove(&view->link); in weston_desktop_view_destroy()
119 weston_view_damage_below(view->view); in weston_desktop_view_destroy()
[all …]
/third_party/boost/boost/gil/extension/io/png/detail/
Dwrite.hpp31 template< typename View >
33 : public is_write_supported< typename get_pixel_type< View >::type
66 template< typename View >
67 void apply( const View& view ) in apply() argument
69 io_error_if( view.width() == 0 && view.height() == 0 in apply()
73 this->write_header( view ); in apply()
75 write_view( view in apply()
76 , typename is_bit_aligned< typename View::value_type >::type() in apply()
82 template<typename View>
83 void write_view( const View& view in write_view() argument
[all …]
/third_party/boost/libs/gil/test/extension/io/targa/
Dtarga_read_test.cpp28 gil::write_view(targa_out + file_name, gil::view(img), gil::targa_tag()); in write()
58 typename gil::rgb8_image_t::x_coord_t width = gil::view(img).width(); in test_read_reference_images()
59 typename gil::rgb8_image_t::y_coord_t height = gil::view(img).height(); in test_read_reference_images()
63 BOOST_TEST_EQ(gil::view(img)(0, 0), gil::rgb8_pixel_t(248, 0, 248)); in test_read_reference_images()
64 BOOST_TEST_EQ(gil::view(img)(width - 1, 0), gil::rgb8_pixel_t(0, 0, 248)); in test_read_reference_images()
65 BOOST_TEST_EQ(gil::view(img)(0, height - 1), gil::rgb8_pixel_t(248, 0, 0)); in test_read_reference_images()
66 BOOST_TEST_EQ(gil::view(img)(width - 1, height - 1), gil::rgb8_pixel_t(248, 0, 248)); in test_read_reference_images()
75 typename gil::rgb8_image_t::x_coord_t width = gil::view(img).width(); in test_read_reference_images()
76 typename gil::rgb8_image_t::y_coord_t height = gil::view(img).height(); in test_read_reference_images()
80 BOOST_TEST_EQ(gil::view(img)(0, 0), gil::rgb8_pixel_t(248, 0, 248)); in test_read_reference_images()
[all …]
/third_party/boost/boost/gil/extension/io/bmp/detail/
Dwrite.hpp31 template< typename View >
33 : public is_write_supported< typename get_pixel_type< View >::type
67 template<typename View>
68 void apply( const View& view ) in apply() argument
70 write( view ); in apply()
77 template< typename View >
78 void write( const View& view ) in write() argument
81 // typename get_pixel_type<View>::type>::type; in write()
83 // using color_space_t = typename color_space_type<View>::type; in write()
90 io_error("Input view type is incompatible with the image type"); in write()
[all …]

12345678910>>...122