Home
last modified time | relevance | path

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

/third_party/boost/libs/gil/test/extension/numeric/
Dkernel.cpp32 BOOST_TEST_EQ(k.center_y(), 0); in test_kernel_2d_default_constructor()
56 BOOST_TEST_EQ(k.center_y(), 4); in test_kernel_2d_parameterized_constructor()
81 BOOST_TEST_EQ(k.center_y(), 4); in test_kernel_2d_parameterized_constructor_with_iterator()
107 BOOST_TEST_EQ(k.center_y(), 4); in test_kernel_2d_copy_constructor()
109 BOOST_TEST_EQ(k.center_y(), d.center_y()); in test_kernel_2d_copy_constructor()
137 BOOST_TEST_EQ(k.center_y(), 4); in test_kernel_2d_assignment_operator()
139 BOOST_TEST_EQ(k.center_y(), d.center_y()); in test_kernel_2d_assignment_operator()
165 BOOST_TEST_EQ(d.center_y(), 2); in test_kernel_2d_reverse_kernel()
172 BOOST_TEST_EQ(k.center_y(), d.right_size()); in test_kernel_2d_reverse_kernel()
173 BOOST_TEST_EQ(k.center_y(), 2); in test_kernel_2d_reverse_kernel()
Dkernel_fixed.cpp33 BOOST_TEST_EQ(k.center_y(), 0); in test_kernel_2d_fixed_default_constructor()
56 BOOST_TEST_EQ(k.center_y(), 4); in test_kernel_2d_fixed_parameterized_constructor()
84 BOOST_TEST_EQ(k.center_y(), 4); in test_kernel_2d_fixed_parameterized_constructor_with_iterator()
113 BOOST_TEST_EQ(k.center_y(), 4); in test_kernel_2d_fixed_copy_constructor()
115 BOOST_TEST_EQ(k.center_y(), d.center_y()); in test_kernel_2d_fixed_copy_constructor()
145 BOOST_TEST_EQ(k.center_y(), 4); in test_kernel_2d_fixed_assignment_operator()
147 BOOST_TEST_EQ(k.center_y(), d.center_y()); in test_kernel_2d_fixed_assignment_operator()
/third_party/boost/boost/gil/extension/numeric/
Dkernel.hpp167 explicit kernel_2d_adaptor(std::size_t center_y, std::size_t center_x) in kernel_2d_adaptor() argument
168 : center_(center_x, center_y) in kernel_2d_adaptor()
173 kernel_2d_adaptor(std::size_t size, std::size_t center_y, std::size_t center_x) in kernel_2d_adaptor() argument
174 : Core(size * size), square_size(size), center_(center_x, center_y) in kernel_2d_adaptor()
220 auto center_y() -> std::size_t& in center_y() function in boost::gil::detail::kernel_2d_adaptor
226 auto center_y() const -> std::size_t const& in center_y() function in boost::gil::detail::kernel_2d_adaptor
278 kernel_2d(std::size_t size,std::size_t center_y, std::size_t center_x) in kernel_2d() argument
279 : parent_t(size, center_y, center_x) in kernel_2d()
283 kernel_2d(FwdIterator elements, std::size_t size, std::size_t center_y, std::size_t center_x) in kernel_2d() argument
284 : parent_t(static_cast<int>(std::sqrt(size)), center_y, center_x) in kernel_2d()
[all …]
Dconvolve.hpp368 row_boundary = view_row + (kernel.center_y() - flip_ker_row); in convolve_2d_impl()
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglfilterglass.c80 gint width, gint height, guint texture, gfloat center_x, gfloat center_y,
310 gfloat center_x, gfloat center_y, in gst_gl_filter_glass_draw_video_plane() argument
316 gfloat topy = reversed ? center_y - 1.0f : center_y + 1.0f; in gst_gl_filter_glass_draw_video_plane()
317 gfloat bottomy = reversed ? center_y + 1.0f : center_y - 1.0f; in gst_gl_filter_glass_draw_video_plane()
/third_party/flutter/engine/flutter/lib/ui/painting/
Dgradient.cc62 double center_y, in initRadial() argument
81 SkPoint::Make(center_x, center_y), radius, in initRadial()
87 double center_y, in initSweep() argument
107 center_x, center_y, reinterpret_cast<const SkColor*>(colors.data()), in initSweep()
Dgradient.h42 double center_y,
50 double center_y,
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultiDrawTest.cpp317 uint32_t center_y = y * kTilePixelSize[1] + kTilePixelSize[1] / 2; in CheckDrawResult() local
327 center_y / 2 - kPixelCheckSize[1] / 4, in CheckDrawResult()
330 center_y / 2 - kPixelCheckSize[1] / 4, in CheckDrawResult()
333 center_y / 2 - kPixelCheckSize[1] / 4 + kHeight / 2, in CheckDrawResult()
336 center_y / 2 - kPixelCheckSize[1] / 4 + kHeight / 2, in CheckDrawResult()
342 center_y - kPixelCheckSize[1] / 2, kPixelCheckSize[0], in CheckDrawResult()
/third_party/skia/third_party/externals/freetype/include/freetype/
Dftcolor.h1171 FT_Fixed center_y; member
1216 FT_Fixed center_y; member
1267 FT_Fixed center_y; member
/third_party/boost/boost/gil/image_processing/
Dhessian.hpp30 || weights.center_x() != weights.center_y()) in compute_hessian_responses()
45 auto center = weights.center_y(); in compute_hessian_responses()
/third_party/boost/libs/geometry/test/robustness/overlay/areal_areal/
Drandom_ellipses_stars.cpp29 double center_y; member
36 , center_y(y) in star_params()
77 coordinate_type y = p.center_y + cy + (even ? b1 : b2) * c; in make_star()
/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_mouse.c209 int center_x = 0, center_y = 0; local
210 SDL_GetWindowSize(window, &center_x, &center_y);
212 center_y /= 2;
213 if (x == center_x && y == center_y) {
215 mouse->last_y = center_y;
218 SDL_WarpMouseInWindow(window, center_x, center_y);
/third_party/gstreamer/gstplugins_bad/sys/winscreencap/
Ddxgicapture.c1089 int center_y; in _set_verteces() local
1158 center_y = (int) dst_desc->Height / 2; in _set_verteces()
1162 (float) (dst_rect->bottom - center_y) / (float) center_y *-1.0f, 0.0f}; in _set_verteces()
1165 (float) (dst_rect->top - center_y) / (float) center_y *-1.0f, 0.0f}; in _set_verteces()
1168 (float) (dst_rect->bottom - center_y) / (float) center_y *-1.0f, 0.0f}; in _set_verteces()
1173 (float) (dst_rect->top - center_y) / (float) center_y *-1.0f, 0.0f}; in _set_verteces()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultiDrawTest.cpp373 uint32_t center_y = y * kTilePixelSize[1] + kTilePixelSize[1] / 2; in CheckDrawResult() local
383 center_y / 2 - kPixelCheckSize[1] / 4, in CheckDrawResult()
386 center_y / 2 - kPixelCheckSize[1] / 4, in CheckDrawResult()
389 center_y / 2 - kPixelCheckSize[1] / 4 + kHeight / 2, in CheckDrawResult()
392 center_y / 2 - kPixelCheckSize[1] / 4 + kHeight / 2, in CheckDrawResult()
398 center_y - kPixelCheckSize[1] / 2, kPixelCheckSize[0], in CheckDrawResult()
DDrawBaseVertexVariantsTest.cpp321 uint32_t center_y = y * kTilePixelSize[1] + kTilePixelSize[1] / 2; in checkDrawResult() local
327 center_y - kPixelCheckSize[1] / 2, color[0], color[1], color[2], in checkDrawResult()
DDrawBaseVertexBaseInstanceTest.cpp407 uint32_t center_y = y * kTilePixelSize[1] + kTilePixelSize[1] / 2; in checkDrawResult() local
410 center_y - kPixelCheckSize[1] / 2, in checkDrawResult()
/third_party/libinput/tools/
Dlibinput-debug-gui.c191 int center_x, center_y; in draw_evdev_rel() local
196 center_y = w->height/2; in draw_evdev_rel()
198 cairo_arc(cr, center_x, center_y, 10, 0, 2 * M_PI); in draw_evdev_rel()
206 center_y - 20); in draw_evdev_rel()
219 center_y + (i + 1) * 20 * dir); in draw_evdev_rel()
237 int center_x, center_y; in draw_evdev_abs() local
245 center_y = w->height/2; in draw_evdev_abs()
281 y += center_y - outline_height/2; in draw_evdev_abs()
294 y += center_y - outline_height/2; in draw_evdev_abs()
303 center_y - outline_height/2, in draw_evdev_abs()
/third_party/boost/boost/polygon/detail/
Dvoronoi_structures.hpp262 circle_event& y(coordinate_type center_y) { in y() argument
263 center_y_ = center_y; in y()
/third_party/ffmpeg/libavfilter/
Dvf_deshake.c244 int center_x = 0, center_y = 0; in find_motion() local
273 center_y += mv.y; in find_motion()
281 center_y /= pos; in find_motion()
303 p_y = (center_y - height / 2.0); in find_motion()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttcolr.c637 apaint->u.scale.center_y = INT_TO_FIXED( FT_NEXT_SHORT ( p ) ); in read_paint()
642 apaint->u.scale.center_y = 0; in read_paint()
665 apaint->u.rotate.center_y = INT_TO_FIXED( FT_NEXT_SHORT( p ) ); in read_paint()
670 apaint->u.rotate.center_y = 0; in read_paint()
692 apaint->u.skew.center_y = INT_TO_FIXED( FT_NEXT_SHORT( p ) ); in read_paint()
697 apaint->u.skew.center_y = 0; in read_paint()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLimits.cpp2864 const unsigned int center_y = (y1 + y2 + y3) / 3; in verifyResultOfMultipleInvocationsPass() local
2866 …bool is_pixel_valid = comparePixel(result_image, center_x, center_y, m_texture_width, m_texture_he… in verifyResultOfMultipleInvocationsPass()
2873 << center_x << ";" << center_y << "]! " in verifyResultOfMultipleInvocationsPass()
2923 const unsigned int center_y = (y1 + y2 + y3) / 3; in verifyResultOfSingleInvocationPass() local
2925 …bool is_pixel_valid = comparePixel(result_image, center_x, center_y, m_texture_width, m_texture_he… in verifyResultOfSingleInvocationPass()
2930 … m_testCtx.getLog() << tcu::TestLog::Message << "Invalid pixel at [" << center_x << ";" << center_y in verifyResultOfSingleInvocationPass()
2970 const unsigned int center_y = (y1 + y2 + y3) / 3; in verifyResultOfSingleInvocationPass() local
2972 …bool is_pixel_valid = comparePixel(result_image, center_x, center_y, m_texture_width, m_texture_he… in verifyResultOfSingleInvocationPass()
2977 … m_testCtx.getLog() << tcu::TestLog::Message << "Invalid pixel at [" << center_x << ";" << center_y in verifyResultOfSingleInvocationPass()
/third_party/flutter/glfw/examples/
Dheightmap.c289 static void generate_heightmap__circle(float* center_x, float* center_y, in generate_heightmap__circle() argument
295 *center_y = (MAP_SIZE * rand()) / (1.0f * RAND_MAX); in generate_heightmap__circle()
/third_party/skia/include/core/
DSkPathBuilder.h197 SkPathBuilder& addCircle(SkScalar center_x, SkScalar center_y, SkScalar radius,
DSkPath.h74 static SkPath Circle(SkScalar center_x, SkScalar center_y, SkScalar radius,
/third_party/skia/src/ports/
DSkFontHost_FreeType_common.cpp825 -SkFixedToScalar(colrv1_paint.u.scale.center_y)); in colrv1_transform()
832 -SkFixedToScalar(colrv1_paint.u.rotate.center_y))); in colrv1_transform()
852 -SkFixedToFloat(colrv1_paint.u.skew.center_y)); in colrv1_transform()