Home
last modified time | relevance | path

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

12

/external/rust/crates/plotters-backend/src/rasterizer/
Drect.rs6 bottom_right: BackendCoord, in draw_rect()
13 let (upper_left, bottom_right) = ( in draw_rect()
15 upper_left.0.min(bottom_right.0), in draw_rect()
16 upper_left.1.min(bottom_right.1), in draw_rect()
19 upper_left.0.max(bottom_right.0), in draw_rect()
20 upper_left.1.max(bottom_right.1), in draw_rect()
25 if bottom_right.0 - upper_left.0 < bottom_right.1 - upper_left.1 { in draw_rect()
26 for x in upper_left.0..=bottom_right.0 { in draw_rect()
27 check_result!(b.draw_line((x, upper_left.1), (x, bottom_right.1), style)); in draw_rect()
30 for y in upper_left.1..=bottom_right.1 { in draw_rect()
[all …]
/external/chromium-trace/catapult/devil/devil/utils/
Dgeometry.py50 def __new__(cls, top_left, bottom_right): argument
53 if not isinstance(bottom_right, Point):
54 bottom_right = Point(*bottom_right)
55 return super(Rectangle, cls).__new__(cls, top_left, bottom_right)
59 return '[%s, %s]' % (self.top_left, self.bottom_right)
64 return 0.5 * (self.top_left + self.bottom_right)
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/
DPictureParameterSet.java76 public int[] bottom_right; field in PictureParameterSet
102 pps.bottom_right = new int[pps.num_slice_groups_minus1 + 1]; in read()
111 pps.bottom_right[iGroup] = reader in read()
201 int[] bottom_right = new int[1]; in write() local
210 writer.writeUE(bottom_right[iGroup], "PPS: "); in write()
287 result = prime * result + Arrays.hashCode(bottom_right); in hashCode()
326 if (!Arrays.equals(bottom_right, other.bottom_right)) in equals()
399 ",\n bottom_right=" + bottom_right + in toString()
/external/clang/test/Sema/
Ddesignated-initializers.c58 struct point bottom_right; member
65 [4].bottom_right = { .y = 1.0 },
67 [3] = { .top_left = { 1.1, 2.2 }, .bottom_right = { .y = 1.1 } }
/external/llvm-project/clang/test/Sema/
Ddesignated-initializers.c58 struct point bottom_right; member
65 [4].bottom_right = { .y = 1.0 },
67 [3] = { .top_left = { 1.1, 2.2 }, .bottom_right = { .y = 1.1 } }
/external/tensorflow/tensorflow/core/kernels/image/
Dcrop_and_resize_op_gpu.cu.cc112 const float bottom_right(static_cast<float>( in CropAndResizeKernel()
118 const float bottom = bottom_left + (bottom_right - bottom_left) * x_lerp; in CropAndResizeKernel()
304 const float bottom_right(static_cast<float>( in CropAndResizeBackpropBoxesKernel()
312 x_lerp * (bottom_right - top_right); in CropAndResizeBackpropBoxesKernel()
314 y_lerp * (bottom_right - bottom_left); in CropAndResizeBackpropBoxesKernel()
Dresize_bilinear_op.cc109 const float bottom_left, const float bottom_right, in compute_lerp() argument
112 const float bottom = bottom_left + (bottom_right - bottom_left) * x_lerp; in compute_lerp()
165 const float bottom_right = input_(b, ys_[y].upper, xs_[x].upper, c); in operator ()() local
168 return compute_lerp(top_left, top_right, bottom_left, bottom_right, xs_lerp, in operator ()()
Dresize_bilinear_op_gpu.cu.cc156 const float bottom_right( in ResizeBilinearKernel() local
162 const float bottom = bottom_left + (bottom_right - bottom_left) * x_lerp; in ResizeBilinearKernel()
324 const float bottom_right( in LegacyResizeBilinearKernel() local
330 const float bottom = bottom_left + (bottom_right - bottom_left) * x_lerp; in LegacyResizeBilinearKernel()
Dcrop_and_resize_op.cc295 const float bottom_right(static_cast<float>( in operator ()()
299 bottom_left + (bottom_right - bottom_left) * x_lerp; in operator ()()
715 const float bottom_right(static_cast<float>( in operator ()()
719 x_lerp * (bottom_right - top_right); in operator ()()
721 y_lerp * (bottom_right - bottom_left); in operator ()()
Dresize_bilinear_op_test.cc123 const float bottom_right = in ResizeBilinearBaseline() local
127 bottom_left + (bottom_right - bottom_left) * x_lerp; in ResizeBilinearBaseline()
/external/tensorflow/tensorflow/core/kernels/
Dquantization_utils_test.cc827 T_CALC bottom_right, T_CALC x_lerp, T_CALC y_lerp) { in ComputeRefLerp() argument
832 bottom_left * RESOLUTION_POW + (bottom_right - bottom_left) * x_lerp; in ComputeRefLerp()
839 uint8 bottom_right, int16 x_lerp, int16 y_lerp) { in TestComputeLerp8x8() argument
843 uint8x8_t bottom_right8x8 = To8x8(bottom_right); in TestComputeLerp8x8()
855 static_cast<int16>(bottom_left), static_cast<int16>(bottom_right), x_lerp, in TestComputeLerp8x8()
865 << static_cast<int>(bottom_right) << ", " << x_lerp << ", " << y_lerp in TestComputeLerp8x8()
871 int32 bottom_right, int32 x_lerp, int32 y_lerp) { in TestComputeLerp32x2() argument
875 int32x2_t bottom_right32x2 = To32x2(bottom_right); in TestComputeLerp32x2()
885 static_cast<int64>(bottom_left), static_cast<int64>(bottom_right), in TestComputeLerp32x2()
889 << bottom_left << ", " << bottom_right << ", " << x_lerp << ", " in TestComputeLerp32x2()
Dquantized_resize_bilinear_op.cc108 const float bottom_right = QuantizedToFloat<T>(in_bottom_right, min, max); in ComputeLerpReference() local
110 const float bottom = bottom_left + (bottom_right - bottom_left) * x_lerp; in ComputeLerpReference()
123 const T bottom_right, const T_SCALE x_lerp, in ComputeLerp() argument
130 MulOffset<T, T_SCALE, T_CALC>(bottom_right, bottom_left, x_lerp); in ComputeLerp()
259 const T bottom_right = ys_input_upper_ptr[xs_upper + c]; in OutputLerpForChannels() local
261 top_left, top_right, bottom_left, bottom_right, xs_ilerp, ys_ilerp); in OutputLerpForChannels()
502 const T bottom_right = ys_input_upper_ptr[xs_upper + c]; in ResizeImageReference() local
504 top_left, top_right, bottom_left, bottom_right, xs_lerp, ys_lerp, in ResizeImageReference()
Dquantized_resize_bilinear_op_test.cc88 const float bottom_right = QuantizedToFloat<T>(in_bottom_right, min, max); in ComputeLerpReference() local
90 const float bottom = bottom_left + (bottom_right - bottom_left) * x_lerp; in ComputeLerpReference()
136 const float bottom_right = image_data[y_upper_index + xs_upper + c]; in CalcReferenceResizedVal() local
138 ComputeLerpReference<T>(top_left, top_right, bottom_left, bottom_right, in CalcReferenceResizedVal()
/external/llvm-project/clang/test/FixIt/
Dtypo.c13 bottom_right; member
/external/clang/test/FixIt/
Dtypo.c13 bottom_right; member
/external/tensorflow/tensorflow/lite/kernels/perception/
Ddense_image_warp.cc74 float bottom_right = input_data[Offset(input_shape, batch, in DenseImageWarp() local
79 alpha_x * (bottom_right - bottom_left) + bottom_left; in DenseImageWarp()
/external/gemmlowp/internal/
Doutput_sse.h387 RegBlockInt32<4, 4> bottom_right;
388 bottom_right.buf.reg[0] = src.buf.reg[9];
389 bottom_right.buf.reg[1] = src.buf.reg[11];
390 bottom_right.buf.reg[2] = src.buf.reg[13];
391 bottom_right.buf.reg[3] = src.buf.reg[15];
392 const auto transpose_bottom_right = Transpose(bottom_right);
Doutput_msa.h555 RegBlockInt32<4, 4> bottom_right;
556 bottom_right.buf.reg[0] = src.buf.reg[9];
557 bottom_right.buf.reg[1] = src.buf.reg[11];
558 bottom_right.buf.reg[2] = src.buf.reg[13];
559 bottom_right.buf.reg[3] = src.buf.reg[15];
560 const auto transpose_bottom_right = Transpose(bottom_right);
Doutput_neon.h497 RegBlockInt32<4, 4> bottom_right;
498 bottom_right.buf.reg[0] = src.buf.reg[9];
499 bottom_right.buf.reg[1] = src.buf.reg[11];
500 bottom_right.buf.reg[2] = src.buf.reg[13];
501 bottom_right.buf.reg[3] = src.buf.reg[15];
502 const auto transpose_bottom_right = Transpose(bottom_right);
/external/rust/crates/plotters-backend/src/
Dlib.rs153 bottom_right: BackendCoord, in draw_rect()
157 rasterizer::draw_rect(self, upper_left, bottom_right, style, fill) in draw_rect()
/external/rust/crates/plotters/src/element/
Dboxplot.rs228 let bottom_right = (corner1.0.max(corner2.0), corner1.1.max(corner2.1)); in draw() localVariable
229 backend.draw_rect(upper_left, bottom_right, &self.style, false)?; in draw()
/external/XNNPACK/src/f32-ibilinear-chw/
Dwasmsimd.c.in165 // alpha_h * alpha_v * bottom_right.
171 // right = top_right + alpha_v * (bottom_right - top_right).
186 // right_diff = bottom_right - top_right
Dneon.c.in170 // alpha_h * alpha_v * bottom_right.
176 // right = top_right + alpha_v * (bottom_right - top_right).
191 // right_diff = bottom_right - top_right
/external/rust/crates/plotters/src/drawing/backend_impl/
Dmocked.rs172 bottom_right: BackendCoord, in draw_rect()
181 checker(color, style.stroke_width(), fill, upper_left, bottom_right); in draw_rect()
/external/rust/crates/plotters-svg/src/
Dsvg.rs268 bottom_right: BackendCoord, in draw_rect()
287 ("width", &format!("{}", bottom_right.0 - upper_left.0)), in draw_rect()
288 ("height", &format!("{}", bottom_right.1 - upper_left.1)), in draw_rect()

12