Home
last modified time | relevance | path

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

123

/external/chromium-trace/catapult/devil/devil/utils/
Dgeometry.py51 def __new__(cls, top_left, bottom_right): argument
52 if not isinstance(top_left, Point):
53 top_left = Point(*top_left)
56 return super(Rectangle, cls).__new__(cls, top_left, bottom_right)
60 return '[%s, %s]' % (self.top_left, self.bottom_right)
65 return 0.5 * (self.top_left + self.bottom_right)
/external/clang/test/Sema/
Ddesignated-initializers.c57 struct point top_left; member
61 struct rect window = { .top_left.x = 1.0 };
64 [2].top_left = { 1.0, 2.0 },
67 [3] = { .top_left = { 1.1, 2.2 }, .bottom_right = { .y = 1.1 } }
73 [2].top_left = { { .x = 1.1 } }, // expected-error{{designator in initializer for scalar type}}
74 [1].top_left = { .x = 1.1 }
82 [5].windows[3].top_left.x = { 7.0 } // expected-warning{{braces around scalar initializer}}
90 .window = { .top_left = { 1.0, 2.0 } },
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/
DPictureParameterSet.java75 public int[] top_left; field in PictureParameterSet
101 pps.top_left = new int[pps.num_slice_groups_minus1 + 1]; in read()
110 pps.top_left[iGroup] = reader.readUE("PPS: top_left"); in read()
200 int[] top_left = new int[1]; in write() local
209 writer.writeUE(top_left[iGroup], "PPS: "); in write()
311 result = prime * result + Arrays.hashCode(top_left); in hashCode()
369 if (!Arrays.equals(top_left, other.top_left)) in equals()
398 ",\n top_left=" + top_left + in toString()
/external/clang/test/FixIt/
Dtypo.c12 struct Point top_left, // expected-note{{'top_left' declared here}} member
35 r1.top_left.x = 0; in test()
41 r2->top_left.y = 0; in test()
/external/libvpx/libvpx/vpx_dsp/mips/
Dintrapred4_dspr2.c89 int32_t top_left; in vpx_tm_predictor_4x4_dspr2() local
221 [resr] "=&r"(resr), [top_left] "=&r"(top_left) in vpx_tm_predictor_4x4_dspr2()
Dintrapred8_dspr2.c157 int32_t top_left; in vpx_tm_predictor_8x8_dspr2() local
599 [top_left] "=&r"(top_left) in vpx_tm_predictor_8x8_dspr2()
Dintrapred_msa.c388 uint8_t top_left = src_top_ptr[-1]; in intra_predict_tm_4x4_msa() local
393 src_top_left = (v8u16)__msa_fill_h(top_left); in intra_predict_tm_4x4_msa()
416 uint8_t top_left = src_top_ptr[-1]; in intra_predict_tm_8x8_msa() local
424 src_top_left = (v8u16)__msa_fill_h(top_left); in intra_predict_tm_8x8_msa()
448 uint8_t top_left = src_top_ptr[-1]; in intra_predict_tm_16x16_msa() local
454 src_top_left = (v8u16)__msa_fill_h(top_left); in intra_predict_tm_16x16_msa()
497 uint8_t top_left = src_top[-1]; in intra_predict_tm_32x32_msa() local
503 src_top_left = (v8u16)__msa_fill_h(top_left); in intra_predict_tm_32x32_msa()
/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_and_cursor_composer.cc86 DesktopVector target_origin = target_rect.top_left(); in DesktopFrameWithCursor()
93 restore_position_ = target_rect.top_left(); in DesktopFrameWithCursor()
95 restore_frame_->CopyPixelsFrom(*this, target_rect.top_left(), in DesktopFrameWithCursor()
102 DesktopVector origin_shift = target_rect.top_left().subtract(target_origin); in DesktopFrameWithCursor()
Dmouse_cursor_monitor_win.cc120 position = position.subtract(cropped_rect.top_left()); in Capture()
127 position = position.subtract(rect.top_left()); in Capture()
/external/tensorflow/tensorflow/core/kernels/
Dresize_bilinear_op_gpu.cu.cc64 const float top_left( in ResizeBilinearKernel() local
81 const float top = top_left + (top_right - top_left) * x_lerp; in ResizeBilinearKernel()
178 const float top_left( in LegacyResizeBilinearKernel() local
195 const float top = top_left + (top_right - top_left) * x_lerp; in LegacyResizeBilinearKernel()
Dcrop_and_resize_op_gpu.cu.cc97 const float top_left(static_cast<float>( in CropAndResizeKernel()
117 const float top = top_left + (top_right - top_left) * x_lerp; in CropAndResizeKernel()
287 const float top_left(static_cast<float>( in CropAndResizeBackpropBoxesKernel()
309 float image_grad_y = (1 - x_lerp) * (bottom_left - top_left) + in CropAndResizeBackpropBoxesKernel()
311 float image_grad_x = (1 - y_lerp) * (top_right - top_left) + in CropAndResizeBackpropBoxesKernel()
Dquantization_utils_test.cc826 T_CALC ComputeRefLerp(T_CALC top_left, T_CALC top_right, T_CALC bottom_left, in ComputeRefLerp() argument
830 top_left * RESOLUTION_POW + (top_right - top_left) * x_lerp; in ComputeRefLerp()
838 void TestComputeLerp8x8(uint8 top_left, uint8 top_right, uint8 bottom_left, in TestComputeLerp8x8() argument
840 uint8x8_t top_left8x8 = To8x8(top_left); in TestComputeLerp8x8()
854 static_cast<int16>(top_left), static_cast<int16>(top_right), in TestComputeLerp8x8()
862 VLOG(1) << "Lerp(8): " << static_cast<int>(top_left) << ", " in TestComputeLerp8x8()
870 void TestComputeLerp32x2(int32 top_left, int32 top_right, int32 bottom_left, in TestComputeLerp32x2() argument
872 int32x2_t top_left32x2 = To32x2(top_left); in TestComputeLerp32x2()
884 static_cast<int64>(top_left), static_cast<int64>(top_right), in TestComputeLerp32x2()
888 VLOG(1) << "Lerp(32): " << top_left << ", " << top_right << ", " in TestComputeLerp32x2()
Dresize_bilinear_op.cc102 inline float compute_lerp(const float top_left, const float top_right, in compute_lerp() argument
105 const float top = top_left + (top_right - top_left) * x_lerp; in compute_lerp()
190 const float top_left(ys_input_lower_ptr[xs_lower + c]); in resize_image() local
195 compute_lerp(top_left, top_right, bottom_left, bottom_right, in resize_image()
Dquantized_resize_bilinear_op.cc105 const float top_left = QuantizedToFloat<T>(in_top_left, min, max); in ComputeLerpReference() local
109 const float top = top_left + (top_right - top_left) * x_lerp; in ComputeLerpReference()
122 inline T ComputeLerp(const T top_left, const T top_right, const T bottom_left, in ComputeLerp() argument
126 const T_CALC top = static_cast<T_CALC>(top_left) * RESOLUTION_MULT + in ComputeLerp()
127 MulOffset<T, T_SCALE, T_CALC>(top_right, top_left, x_lerp); in ComputeLerp()
256 const T top_left = ys_input_lower_ptr[xs_lower + c]; in OutputLerpForChannels() local
261 top_left, top_right, bottom_left, bottom_right, xs_ilerp, ys_ilerp); in OutputLerpForChannels()
499 const T top_left = ys_input_lower_ptr[xs_lower + c]; in ResizeImageReference() local
504 top_left, top_right, bottom_left, bottom_right, xs_lerp, ys_lerp, in ResizeImageReference()
Dquantized_resize_bilinear_op_test.cc85 const float top_left = QuantizedToFloat<T>(in_top_left, min, max); in ComputeLerpReference() local
89 const float top = top_left + (top_right - top_left) * x_lerp; in ComputeLerpReference()
133 const float top_left = image_data[y_lower_index + xs_lower + c]; in CalcReferenceResizedVal() local
138 ComputeLerpReference<T>(top_left, top_right, bottom_left, bottom_right, in CalcReferenceResizedVal()
/external/libvpx/libvpx/vp8/common/
Dreconintra4x4.c42 unsigned char top_left) { in vp8_intra4x4_predict() argument
72 Above[-1] = top_left; in vp8_intra4x4_predict()
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dintegral_image.h124 const uint32_t top_left = (*this)[y1 - 1][x1 - 1]; in GetRegionSum() local
126 sum = everything - left - top + top_left; in GetRegionSum()
128 everything, left, top, top_left, sum, x1, y1, x2, y2); in GetRegionSum()
/external/tensorflow/tensorflow/contrib/image/python/ops/
Ddense_image_warp.py151 top_left = gather(floors[0], floors[1], 'top_left')
158 interp_top = alphas[1] * (top_right - top_left) + top_left
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dresampler_ops.cc517 XlaOp top_left = xla::ConvertElementType(warp, xla::S32); in Compile() local
519 auto gather_indices = ConcatenateIota(ctx->builder(), top_left, warp_shape); in Compile()
526 XlaOp ratio = warp - xla::ConvertElementType(top_left, data_type); in Compile()
650 XlaOp top_left = xla::ConvertElementType(xla::Floor(warp), xla::S32); in Compile() local
653 XlaOp ratio = warp - xla::ConvertElementType(top_left, warp_type); in Compile()
656 auto gather_indices = ConcatenateIota(ctx->builder(), top_left, warp_shape); in Compile()
/external/libvpx/libvpx/vpx_dsp/arm/
Dintrapred_neon.c880 const uint8x8_t top_left = vld1_dup_u8(above - 1); in vpx_tm_predictor_4x4_neon() local
887 sub = vreinterpretq_s16_u16(vsubl_u8(above_u8, top_left)); in vpx_tm_predictor_4x4_neon()
918 const uint8x8_t top_left = vld1_dup_u8(above - 1); in vpx_tm_predictor_8x8_neon() local
922 const int16x8_t sub = vreinterpretq_s16_u16(vsubl_u8(above_u8, top_left)); in vpx_tm_predictor_8x8_neon()
955 const uint8x16_t top_left = vld1q_dup_u8(above - 1); in vpx_tm_predictor_16x16_neon() local
958 vsubl_u8(vget_low_u8(above_u8), vget_low_u8(top_left))); in vpx_tm_predictor_16x16_neon()
960 vsubl_u8(vget_high_u8(above_u8), vget_high_u8(top_left))); in vpx_tm_predictor_16x16_neon()
1011 const uint8x16_t top_left = vld1q_dup_u8(above - 1); in vpx_tm_predictor_32x32_neon() local
1015 vsubl_u8(vget_low_u8(above_low), vget_low_u8(top_left))); in vpx_tm_predictor_32x32_neon()
1017 vsubl_u8(vget_high_u8(above_low), vget_high_u8(top_left))); in vpx_tm_predictor_32x32_neon()
[all …]
Dhighbd_intrapred_neon.c905 const int16x8_t top_left = vld1q_dup_s16((const int16_t *)(above - 1)); in vpx_highbd_tm_predictor_4x4_neon() local
909 const int16x8_t sub = vsubq_s16(above_s16, top_left); in vpx_highbd_tm_predictor_4x4_neon()
946 const int16x8_t top_left = vld1q_dup_s16((const int16_t *)(above - 1)); in vpx_highbd_tm_predictor_8x8_neon() local
949 const int16x8_t sub = vsubq_s16(above_s16, top_left); in vpx_highbd_tm_predictor_8x8_neon()
991 const int16x8_t top_left = vld1q_dup_s16((const int16_t *)(above - 1)); in vpx_highbd_tm_predictor_16x16_neon() local
994 const int16x8_t sub0 = vsubq_s16(above0, top_left); in vpx_highbd_tm_predictor_16x16_neon()
995 const int16x8_t sub1 = vsubq_s16(above1, top_left); in vpx_highbd_tm_predictor_16x16_neon()
1049 const int16x8_t top_left = vld1q_dup_s16((const int16_t *)(above - 1)); in vpx_highbd_tm_predictor_32x32_neon() local
1054 const int16x8_t sub0 = vsubq_s16(above0, top_left); in vpx_highbd_tm_predictor_32x32_neon()
1055 const int16x8_t sub1 = vsubq_s16(above1, top_left); in vpx_highbd_tm_predictor_32x32_neon()
[all …]
/external/webp/src/dsp/
Dfilters.c219 uint8_t top = prev[0], top_left = top, left = top; in GradientUnfilter_C() local
223 left = in[i] + GradientPredictor_C(left, top, top_left); in GradientUnfilter_C()
224 top_left = top; in GradientUnfilter_C()
Dfilters_mips_dsp_r2.c367 uint8_t top = prev[0], top_left = top, left = top; in GradientUnfilter_MIPSdspR2() local
371 left = in[i] + GradientPredictor_MIPSdspR2(left, top, top_left); in GradientUnfilter_MIPSdspR2()
372 top_left = top; in GradientUnfilter_MIPSdspR2()
/external/tensorflow/tensorflow/contrib/image/python/kernel_tests/
Ddense_image_warp_test.py137 top_left = image[batch_index, floor_y, floor_x, :]
142 interp_top = alpha_x * (top_right - top_left) + top_left
/external/libvpx/libvpx/vp8/encoder/
Dencodeintra.c53 unsigned char top_left = Above[-1]; in vp8_encode_intra4x4block() local
56 16, top_left); in vp8_encode_intra4x4block()

123