/third_party/boost/libs/gil/test/extension/numeric/ |
D | kernel.cpp | 33 BOOST_TEST_EQ(k.center_x(), 0); in test_kernel_2d_default_constructor() 57 BOOST_TEST_EQ(k.center_x(), 4); in test_kernel_2d_parameterized_constructor() 82 BOOST_TEST_EQ(k.center_x(), 4); in test_kernel_2d_parameterized_constructor_with_iterator() 108 BOOST_TEST_EQ(k.center_x(), 4); in test_kernel_2d_copy_constructor() 110 BOOST_TEST_EQ(k.center_x(), d.center_x()); in test_kernel_2d_copy_constructor() 138 BOOST_TEST_EQ(k.center_x(), 4); in test_kernel_2d_assignment_operator() 140 BOOST_TEST_EQ(k.center_x(), d.center_x()); in test_kernel_2d_assignment_operator() 164 BOOST_TEST_EQ(d.center_x(), 0); in test_kernel_2d_reverse_kernel() 169 BOOST_TEST_EQ(k.center_x(), d.lower_size()); in test_kernel_2d_reverse_kernel() 170 BOOST_TEST_EQ(k.center_x(), 0); in test_kernel_2d_reverse_kernel()
|
D | kernel_fixed.cpp | 32 BOOST_TEST_EQ(k.center_x(), 0); in test_kernel_2d_fixed_default_constructor() 55 BOOST_TEST_EQ(k.center_x(), 4); in test_kernel_2d_fixed_parameterized_constructor() 85 BOOST_TEST_EQ(k.center_x(), 4); in test_kernel_2d_fixed_parameterized_constructor_with_iterator() 112 BOOST_TEST_EQ(k.center_x(), 4); in test_kernel_2d_fixed_copy_constructor() 114 BOOST_TEST_EQ(k.center_x(), d.center_x()); in test_kernel_2d_fixed_copy_constructor() 144 BOOST_TEST_EQ(k.center_x(), 4); in test_kernel_2d_fixed_assignment_operator() 146 BOOST_TEST_EQ(k.center_x(), d.center_x()); in test_kernel_2d_fixed_assignment_operator()
|
/third_party/boost/boost/gil/extension/numeric/ |
D | kernel.hpp | 167 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() 232 auto center_x() -> std::size_t& in center_x() function in boost::gil::detail::kernel_2d_adaptor 238 auto center_x() const -> std::size_t const& in center_x() 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 …]
|
D | convolve.hpp | 369 col_boundary = view_col + (kernel.center_x() - flip_ker_col); in convolve_2d_impl()
|
/third_party/gstreamer/gstplugins_base/ext/gl/ |
D | gstglfilterglass.c | 80 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 322 center_x-1.6, topy, 0.0, 0.0, 1.0, 1.0, 1.0, 1.0, start_alpha, in gst_gl_filter_glass_draw_video_plane() 323 center_x+1.6, topy, 0.0, 1.0, 1.0, 1.0, 1.0, 1.0, start_alpha, in gst_gl_filter_glass_draw_video_plane() 324 center_x+1.6, bottomy, 0.0, 1.0, 0.0, 1.0, 1.0, 1.0, stop_alpha, in gst_gl_filter_glass_draw_video_plane() 325 center_x-1.6, bottomy, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, stop_alpha, in gst_gl_filter_glass_draw_video_plane()
|
/third_party/flutter/engine/flutter/lib/ui/painting/ |
D | gradient.cc | 61 void CanvasGradient::initRadial(double center_x, in initRadial() argument 81 SkPoint::Make(center_x, center_y), radius, in initRadial() 86 void CanvasGradient::initSweep(double center_x, in initSweep() argument 107 center_x, center_y, reinterpret_cast<const SkColor*>(colors.data()), in initSweep()
|
D | gradient.h | 41 void initRadial(double center_x, 49 void initSweep(double center_x,
|
/third_party/flutter/glfw/examples/ |
D | heightmap.c | 289 static void generate_heightmap__circle(float* center_x, float* center_y, in generate_heightmap__circle() argument 294 *center_x = (MAP_SIZE * rand()) / (1.0f * RAND_MAX); in generate_heightmap__circle() 311 float center_x; in update_map() local 316 generate_heightmap__circle(¢er_x, ¢er_z, &circle_size, &disp); in update_map() 320 GLfloat dx = center_x - map_vertices[0][ii]; in update_map()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | MultiDrawTest.cpp | 316 uint32_t center_x = x * kTilePixelSize[0] + kTilePixelSize[0] / 2; in CheckDrawResult() local 326 EXPECT_PIXEL_RECT_EQ(center_x / 2 - kPixelCheckSize[0] / 4, in CheckDrawResult() 329 EXPECT_PIXEL_RECT_EQ(center_x / 2 - kPixelCheckSize[0] / 4 + kWidth / 2, in CheckDrawResult() 332 EXPECT_PIXEL_RECT_EQ(center_x / 2 - kPixelCheckSize[0] / 4, in CheckDrawResult() 335 EXPECT_PIXEL_RECT_EQ(center_x / 2 - kPixelCheckSize[0] / 4 + kWidth / 2, in CheckDrawResult() 341 EXPECT_PIXEL_RECT_EQ(center_x - kPixelCheckSize[0] / 2, in CheckDrawResult()
|
/third_party/skia/third_party/externals/freetype/include/freetype/ |
D | ftcolor.h | 1170 FT_Fixed center_x; member 1215 FT_Fixed center_x; member 1266 FT_Fixed center_x; member
|
/third_party/boost/libs/geometry/test/robustness/overlay/areal_areal/ |
D | random_ellipses_stars.cpp | 28 double center_x; member 35 , center_x(x) in star_params() 76 coordinate_type x = p.center_x + cx + (even ? a1 : a2) * s; in make_star()
|
/third_party/flutter/skia/third_party/externals/sdl/src/events/ |
D | SDL_mouse.c | 209 int center_x = 0, center_y = 0; local 210 SDL_GetWindowSize(window, ¢er_x, ¢er_y); 211 center_x /= 2; 213 if (x == center_x && y == center_y) { 214 mouse->last_x = center_x; 218 SDL_WarpMouseInWindow(window, center_x, center_y);
|
/third_party/gstreamer/gstplugins_bad/sys/winscreencap/ |
D | dxgicapture.c | 1088 int center_x; in _set_verteces() local 1157 center_x = (int) dst_desc->Width / 2; in _set_verteces() 1161 (float) (dst_rect->left - center_x) / (float) center_x, in _set_verteces() 1164 (float) (dst_rect->left - center_x) / (float) center_x, in _set_verteces() 1167 (float) (dst_rect->right - center_x) / (float) center_x, in _set_verteces() 1172 (float) (dst_rect->right - center_x) / (float) center_x, in _set_verteces()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | MultiDrawTest.cpp | 372 uint32_t center_x = x * kTilePixelSize[0] + kTilePixelSize[0] / 2; in CheckDrawResult() local 382 EXPECT_PIXEL_RECT_EQ(center_x / 2 - kPixelCheckSize[0] / 4, in CheckDrawResult() 385 EXPECT_PIXEL_RECT_EQ(center_x / 2 - kPixelCheckSize[0] / 4 + kWidth / 2, in CheckDrawResult() 388 EXPECT_PIXEL_RECT_EQ(center_x / 2 - kPixelCheckSize[0] / 4, in CheckDrawResult() 391 EXPECT_PIXEL_RECT_EQ(center_x / 2 - kPixelCheckSize[0] / 4 + kWidth / 2, in CheckDrawResult() 397 EXPECT_PIXEL_RECT_EQ(center_x - kPixelCheckSize[0] / 2, in CheckDrawResult()
|
D | DrawBaseVertexVariantsTest.cpp | 320 uint32_t center_x = x * kTilePixelSize[0] + kTilePixelSize[0] / 2; in checkDrawResult() local 326 EXPECT_PIXEL_NEAR(center_x - kPixelCheckSize[0] / 2, in checkDrawResult()
|
D | DrawBaseVertexBaseInstanceTest.cpp | 406 uint32_t center_x = x * kTilePixelSize[0] + kTilePixelSize[0] / 2; in checkDrawResult() local 409 EXPECT_PIXEL_NEAR(center_x - kPixelCheckSize[0] / 2, in checkDrawResult()
|
/third_party/libinput/tools/ |
D | libinput-debug-gui.c | 191 int center_x, center_y; in draw_evdev_rel() local 195 center_x = w->width/2 - 400; in draw_evdev_rel() 198 cairo_arc(cr, center_x, center_y, 10, 0, 2 * M_PI); in draw_evdev_rel() 205 center_x + (i + 1) * 20 * dir, in draw_evdev_rel() 218 center_x - 20, in draw_evdev_rel() 237 int center_x, center_y; in draw_evdev_abs() local 244 center_x = w->width/2 + 400; in draw_evdev_abs() 280 x += center_x - outline_width/2; in draw_evdev_abs() 293 x += center_x - outline_width/2; in draw_evdev_abs() 302 center_x - outline_width/2, in draw_evdev_abs()
|
/third_party/boost/boost/polygon/detail/ |
D | voronoi_structures.hpp | 253 circle_event& x(coordinate_type center_x) { in x() argument 254 center_x_ = center_x; in x()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_deshake.c | 244 int center_x = 0, center_y = 0; in find_motion() local 272 center_x += mv.x; in find_motion() 280 center_x /= pos; in find_motion() 302 p_x = (center_x - width / 2.0); in find_motion()
|
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
D | ttcolr.c | 636 apaint->u.scale.center_x = INT_TO_FIXED( FT_NEXT_SHORT ( p ) ); in read_paint() 641 apaint->u.scale.center_x = 0; in read_paint() 664 apaint->u.rotate.center_x = INT_TO_FIXED( FT_NEXT_SHORT( p ) ); in read_paint() 669 apaint->u.rotate.center_x = 0; in read_paint() 691 apaint->u.skew.center_x = INT_TO_FIXED( FT_NEXT_SHORT( p ) ); in read_paint() 696 apaint->u.skew.center_x = 0; in read_paint()
|
/third_party/boost/boost/gil/image_processing/ |
D | hessian.hpp | 30 || weights.center_x() != weights.center_y()) in compute_hessian_responses()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderLimits.cpp | 2863 const unsigned int center_x = (x1 + x2 + x3) / 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() 2922 const unsigned int center_x = (x1 + x2 + x3) / 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() 2969 const unsigned int center_x = (x1 + x2 + x3) / 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/skia/include/core/ |
D | SkPathBuilder.h | 197 SkPathBuilder& addCircle(SkScalar center_x, SkScalar center_y, SkScalar radius,
|
D | SkPath.h | 74 static SkPath Circle(SkScalar center_x, SkScalar center_y, SkScalar radius,
|
/third_party/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 824 SkFixedToScalar(colrv1_paint.u.scale.center_x), in colrv1_transform() 831 SkPoint::Make(SkFixedToScalar(colrv1_paint.u.rotate.center_x), in colrv1_transform() 851 SkFixedToScalar(colrv1_paint.u.skew.center_x), in colrv1_transform()
|