Home
last modified time | relevance | path

Searched refs:bottom_right (Results 1 – 23 of 23) sorted by relevance

/third_party/boost/boost/geometry/algorithms/detail/distance/
Dsegment_to_box.hpp356 BoxPoint const& bottom_right, in apply()
375 if (less_equal(geometry::get<1>(bottom_right), geometry::get<1>(p0))) in apply()
386 return cast::apply(ps_strategy.apply(high, bottom_right, top_right)); in apply()
390 return cast::apply(ps_strategy.apply(p0, bottom_right, top_right)); in apply()
400 return cast::apply(ps_strategy.apply(bottom_right, p0, p1)); in apply()
462 BoxPoint const& bottom_right, in apply()
472 >::apply(p0, p1, bottom_right, top_right, in apply()
500 BoxPoint const& bottom_right, in apply()
515 bottom_left, bottom_right); in apply()
576 BoxPoint const& bottom_right, in non_negative_slope_segment() argument
[all …]
/third_party/boost/boost/geometry/strategies/spherical/
Ddistance_segment_box.hpp52 BoxPoint const& bottom_right, in segment_below_of_box()
164 >(p1, p0, p_max, bottom_right, sb_strategy); in segment_below_of_box()
173 BPoint& bottom_right, in mirror()
181 BPoint br = bottom_right; in mirror()
186 geometry::set<1>(bottom_right, geometry::get<1>(top_right) * -1); in mirror()
274 BoxPoint const& bottom_right) const in segment_below_of_box()
287 >(p0,p1,top_left,top_right,bottom_left,bottom_right, in segment_below_of_box()
299 BPoint& bottom_right, in mirror()
305 bottom_left, bottom_right, in mirror()
Ddistance_cross_track_point_box.hpp69 box_point_type bottom_left, bottom_right, top_left, top_right; in apply() local
71 bottom_left, bottom_right, in apply()
179 : ps_strategy.apply(point, bottom_right, top_right); in apply()
/third_party/boost/boost/geometry/strategies/geographic/
Ddistance_segment_box.hpp138 BoxPoint const& bottom_right) const in segment_below_of_box()
160 >(p0,p1,top_left,top_right,bottom_left,bottom_right, in segment_below_of_box()
172 BPoint& bottom_right, in mirror()
178 bottom_left, bottom_right, in mirror()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dcrop_and_resize_cpu_kernel.cc161 const float bottom_right = static_cast<float>( in Launch() local
165 const float bottom = bottom_left + (bottom_right - bottom_left) * (target_x - left_x_index); in Launch()
200 const float bottom_right = static_cast<float>( in Launch() local
204 output[pos] = top_left * (1 - y_lerp) * (1 - x_lerp) + bottom_right * y_lerp * x_lerp + in Launch()
Dresize_bilinear_cpu_kernel.cc135 const float bottom_right(ys_input_upper_ptr[xs_upper]); in LaunchKernel() local
137 ComputeLerp(top_left, top_right, bottom_left, bottom_right, xs_lerp, ys_lerp); in LaunchKernel()
/third_party/ffmpeg/libavfilter/
Dvf_deshake_opencl.c190 cl_float2 bottom_right; member
1016 cl_float2 bottom_right = transformed_point(frame_width, frame_height, transform); in update_needed_crop() local
1020 if (crop->bottom_right.s[0] == 0) { in update_needed_crop()
1022 crop->bottom_right.s[0] = frame_width; in update_needed_crop()
1023 crop->bottom_right.s[1] = frame_height; in update_needed_crop()
1038 crop->bottom_right.s[0] = FFMIN3( in update_needed_crop()
1039 crop->bottom_right.s[0], in update_needed_crop()
1040 bottom_right.s[0], in update_needed_crop()
1044 crop->bottom_right.s[1] = FFMIN3( in update_needed_crop()
1045 crop->bottom_right.s[1], in update_needed_crop()
[all …]
/third_party/boost/boost/geometry/strategies/cartesian/
Ddistance_segment_box.hpp103 BoxPoint const& bottom_right) const in segment_below_of_box()
116 >(p1, p0, bottom_right, *this); in segment_below_of_box()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dcrop_and_resize_impl.cu84 const float bottom_right = static_cast<float>( in CropAndResize() local
88 const float bottom = bottom_left + (bottom_right - bottom_left) * x_lerp; in CropAndResize()
/third_party/weston/ivi-shell/
Divi-layout.c428 struct weston_vector bottom_right; in calc_inverse_matrix_transform() local
447 bottom_right.f[0] = rect_input->x + rect_input->width; in calc_inverse_matrix_transform()
448 bottom_right.f[1] = rect_input->y + rect_input->height; in calc_inverse_matrix_transform()
449 bottom_right.f[2] = 0.0f; in calc_inverse_matrix_transform()
450 bottom_right.f[3] = 1.0f; in calc_inverse_matrix_transform()
453 weston_matrix_transform(&m, &bottom_right); in calc_inverse_matrix_transform()
455 if (top_left.f[0] < bottom_right.f[0]) { in calc_inverse_matrix_transform()
457 rect_output->width = bottom_right.f[0] - rect_output->x; in calc_inverse_matrix_transform()
459 rect_output->x = bottom_right.f[0]; in calc_inverse_matrix_transform()
463 if (top_left.f[1] < bottom_right.f[1]) { in calc_inverse_matrix_transform()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/
Dcommon_utils.h132 inline T ComputeLerp(T top_left, T top_right, T bottom_left, T bottom_right, T x_lerp, T y_lerp) { in ComputeLerp() argument
134 T bottom = bottom_left + (bottom_right - bottom_left) * x_lerp; in ComputeLerp()
/third_party/ffmpeg/libavfilter/opencl/
Ddeshake.cl575 float2 bottom_right,
580 float crop_width = bottom_right.x - top_left.x;
581 float crop_height = bottom_right.y - top_left.y;
587 ret.y = (height_norm * crop_height) + ((float)orig_dim.y - bottom_right.y);
597 float2 bottom_right
607 cropped_point((float2)(loc.x, loc.y), top_left, bottom_right, get_image_dim(dst))
/third_party/skia/third_party/externals/freetype/include/freetype/
Dftcolor.h1441 FT_Vector bottom_right; member
/third_party/mindspore/mindspore/dataset/vision/
Dpy_transforms_util.py759bottom_right = img.crop((img_width - crop_width, img_height - crop_height, img_width, img_height))
761 return top_left, top_right, bottom_left, bottom_right, center
921 bottom_right = (random.randint(img_width - distorted_half_width - 1, img_width - 1),
927 end_points = [top_left, top_right, bottom_right, bottom_left]
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstgltransformation.c592 graphene_point3d_t bottom_left, bottom_right, top_left, top_right; in _init_world_video_plane() local
599 graphene_point3d_init (&bottom_right, transformation->aspect, -1., 0.); in _init_world_video_plane()
604 &bottom_right, &world_bottom_right); in _init_world_video_plane()
/third_party/ffmpeg/libavcodec/
Dcbs_h264.h184 uint16_t bottom_right[H264_MAX_SLICE_GROUPS]; member
Dcbs_h264_syntax_template.c446 ues(bottom_right[iGroup], in FUNC()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgsth264parser.h797 guint32 bottom_right[8]; member
Dgsth264parser.c2094 READ_UE (&nr, pps->bottom_right[i]); in gst_h264_parse_pps()
/third_party/skia/src/ports/
DSkFontHost_FreeType_common.cpp1049 {SkFDot6ToScalar(colrGlyphClipBox.bottom_right.x), in GetClipBoxPath()
1050 -SkFDot6ToScalar(colrGlyphClipBox.bottom_right.y)}}, in GetClipBoxPath()
DSkFontHost_FreeType.cpp1123 colrGlyphBbox.bottom_right}) { in generateMetrics()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttcolr.c921 clip_box->bottom_right = corners[3]; in tt_face_get_color_glyph_clipbox()
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch20729 + gfx::PointF bottom_right = rect.bottom_right();
20732 + bottom_right.SetToMin(client_bounds.bottom_right());
20734 + gfx::Vector2dF diagonal = bottom_right - origin;
252186 closest_point_in_rect.SetToMin(rect.bottom_right());