/external/libaom/aom_dsp/x86/ |
D | sad_impl_avx2.c | 42 unsigned int half_width = 32; in sad64x32() local 44 src_ptr += half_width; in sad64x32() 45 ref_ptr += half_width; in sad64x32() 61 unsigned int half_width = 64; in aom_sad128x64_avx2() local 63 src_ptr += half_width; in aom_sad128x64_avx2() 64 ref_ptr += half_width; in aom_sad128x64_avx2() 89 const uint32_t half_width = 64; in aom_sad_skip_128x64_avx2() local 91 src_ptr += half_width; in aom_sad_skip_128x64_avx2() 92 ref_ptr += half_width; in aom_sad_skip_128x64_avx2() 159 unsigned int half_width = 64; in aom_sad128x64_avg_avx2() local [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_wide_line.c | 53 const float half_width = 0.5f * stage->draw->rasterizer->line_width; in wideline_line() local 84 pos0[1] = pos0[1] - half_width - bias; in wideline_line() 85 pos1[1] = pos1[1] + half_width - bias; in wideline_line() 86 pos2[1] = pos2[1] - half_width - bias; in wideline_line() 87 pos3[1] = pos3[1] + half_width - bias; in wideline_line() 105 pos0[0] = pos0[0] - half_width + bias; in wideline_line() 106 pos1[0] = pos1[0] + half_width + bias; in wideline_line() 107 pos2[0] = pos2[0] - half_width + bias; in wideline_line() 108 pos3[0] = pos3[0] + half_width + bias; in wideline_line()
|
D | draw_pipe_aaline.c | 415 const float half_width = aaline->half_line_width; in aaline_line() local 431 t_w = half_width; in aaline_line() 478 ASSIGN_4V(tex, -half_width, half_width, -half_length, half_length); in aaline_line() 481 ASSIGN_4V(tex, half_width, half_width, -half_length, half_length); in aaline_line() 484 ASSIGN_4V(tex, -half_width, half_width, half_length, half_length); in aaline_line() 487 ASSIGN_4V(tex, half_width, half_width, half_length, half_length); in aaline_line()
|
/external/libyuv/unit_test/ |
D | convert_test.cc | 1262 int half_width = (width + 1) / 2; in TEST_F() local 1271 align_buffer_page_end(dst_u, half_width * half_height); in TEST_F() 1272 align_buffer_page_end(dst_v, half_width * half_height); in TEST_F() 1274 ret = MJPGToI420(kTest2Jpg, kTest2JpgLen, dst_y, width, dst_u, half_width, in TEST_F() 1275 dst_v, half_width, width, height, width, height); in TEST_F() 1282 uint32_t dst_u_hash = HashDjb2(dst_u, half_width * half_height, 5381); in TEST_F() 1283 uint32_t dst_v_hash = HashDjb2(dst_v, half_width * half_height, 5381); in TEST_F() 1299 int half_width = (width + 1) / 2; in TEST_F() local 1309 align_buffer_page_end(dst_vu, half_width * half_height * 2); in TEST_F() 1313 half_width * 2, width, height, width, height); in TEST_F() [all …]
|
/external/pdfium/core/fxge/ |
D | cfx_path.cpp | 152 float half_width, in UpdateLineJoinPoints() argument 168 float point_y = mid_pos.y + half_width * start_dir; in UpdateLineJoinPoints() 169 rect->UpdateRect(CFX_PointF(mid_pos.x + half_width, point_y)); in UpdateLineJoinPoints() 170 rect->UpdateRect(CFX_PointF(mid_pos.x - half_width, point_y)); in UpdateLineJoinPoints() 179 start_dc = fabsf(half_width * start_len / start_to_mid.x); in UpdateLineJoinPoints() 186 end_dc = fabs(half_width * end_len / end_to_mid.x); in UpdateLineJoinPoints() 191 outside.x += half_width; in UpdateLineJoinPoints() 193 outside.x -= half_width; in UpdateLineJoinPoints() 207 outside.x += half_width; in UpdateLineJoinPoints() 209 outside.x -= half_width; in UpdateLineJoinPoints() [all …]
|
/external/webrtc/test/ |
D | frame_utils.cc | 75 int half_width = (width + 1) / 2; in ReadI420Buffer() local 78 I420Buffer::Create(width, height, width, half_width, half_width)); in ReadI420Buffer() 80 size_t size_uv = static_cast<size_t>(half_width) * ((height + 1) / 2); in ReadI420Buffer()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_generateap.cpp | 223 const float half_width = width / 2.0f; in GenerateBorderAP() local 242 WritePoint(sAppStream, {fLeft + half_width, fBottom + half_width}) in GenerateBorderAP() 244 WritePoint(sAppStream, {fLeft + half_width, fTop - half_width}) in GenerateBorderAP() 246 WritePoint(sAppStream, {fRight - half_width, fTop - half_width}) in GenerateBorderAP() 248 WritePoint(sAppStream, {fRight - half_width, fBottom + half_width}) in GenerateBorderAP() 250 WritePoint(sAppStream, {fLeft + half_width, fBottom + half_width}) in GenerateBorderAP() 259 WritePoint(sAppStream, {fLeft + half_width, fBottom + half_width}) in GenerateBorderAP() 261 WritePoint(sAppStream, {fLeft + half_width, fTop - half_width}) in GenerateBorderAP() 263 WritePoint(sAppStream, {fRight - half_width, fTop - half_width}) in GenerateBorderAP() 272 WritePoint(sAppStream, {fRight - half_width, fTop - half_width}) in GenerateBorderAP() [all …]
|
/external/crosvm/devices/src/virtio/video/ |
D | format.rs | 178 let half_width = (width + 1) / 2; in get_plane_layout() localVariable 203 plane_size: half_width * half_height, in get_plane_layout() 204 stride: half_width, in get_plane_layout() 208 plane_size: half_width * half_height, in get_plane_layout() 209 stride: half_width, in get_plane_layout()
|
/external/mesa3d/src/gallium/frontends/d3d10umd/ |
D | Rasterizer.cpp | 71 float half_width = width / 2.0f; in SetViewports() local 75 states[i].scale[0] = half_width; in SetViewports() 79 states[i].translate[0] = half_width + x; in SetViewports()
|
/external/libyuv/util/ |
D | yuvconvert.cc | 323 int half_width = (dst_width + 1) / 2; in main() local 327 ch_rec + dst_width * dst_height, half_width, in main() 328 ch_rec + dst_width * dst_height + half_width * half_height, in main() 329 half_width, dst_width, dst_height); in main()
|
/external/mesa3d/src/gallium/tests/trivial/ |
D | tri.c | 176 float half_width = (float)WIDTH / 2.0f; in init_prog() local 189 p->viewport.scale[0] = half_width; in init_prog() 193 p->viewport.translate[0] = half_width + x; in init_prog()
|
D | quad-tex.c | 232 float half_width = (float)WIDTH / 2.0f; in init_prog() local 245 p->viewport.scale[0] = half_width; in init_prog() 249 p->viewport.translate[0] = half_width + x; in init_prog()
|
/external/webrtc/test/testsupport/ |
D | yuv_frame_reader.cc | 25 int half_width = (width + 1) / 2; in FrameSizeBytes() local 27 size_t size_uv = static_cast<size_t>(half_width) * ((height + 1) / 2); in FrameSizeBytes()
|
/external/mesa3d/src/intel/compiler/elk/ |
D | elk_fs_builder.h | 519 const unsigned half_width = dispatch_width() / 2; in emit_scan() local 520 const fs_builder ubld = exec_all().group(half_width, 0); in emit_scan() 522 dst_reg right = horiz_offset(tmp, half_width); in emit_scan() 525 if (cluster_size > half_width) { in emit_scan() 527 half_width - 1, 0, half_width, 1); in emit_scan()
|
/external/wpa_supplicant_8/src/ap/ |
D | dfs.c | 1627 int half_width; in hostapd_is_dfs_overlap() local 1638 half_width = 10; in hostapd_is_dfs_overlap() 1641 half_width = 20; in hostapd_is_dfs_overlap() 1645 half_width = 40; in hostapd_is_dfs_overlap() 1648 half_width = 80; in hostapd_is_dfs_overlap() 1666 if (center_freq - chan->freq < half_width && in hostapd_is_dfs_overlap() 1667 chan->freq - center_freq < half_width) in hostapd_is_dfs_overlap() 1672 center_freq - half_width, center_freq + half_width, in hostapd_is_dfs_overlap()
|
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/ |
D | geom.h | 234 const float half_width = GetWidth() / 2.0f; in Scale() local 237 left_ = center.x - half_width * scale_x; in Scale() 238 right_ = center.x + half_width * scale_x; in Scale()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_lower_subgroup_ops.cpp | 200 const unsigned half_width = dispatch_width / 2; in brw_emit_scan() local 201 const fs_builder ubld = bld.exec_all().group(half_width, 0); in brw_emit_scan() 203 brw_reg right = horiz_offset(tmp, half_width); in brw_emit_scan() 206 if (cluster_size > half_width) { in brw_emit_scan() 208 half_width - 1, 0, half_width, 1); in brw_emit_scan()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_textobject.cpp | 335 const float half_width = graph_state().GetLineWidth() / 2; in CalcPositionDataInternal() local 336 rect.Inflate(half_width, half_width); in CalcPositionDataInternal()
|
/external/libgav1/src/dsp/ |
D | film_grain.cc | 245 const int half_width = DivideBy2(width + 1); in ConstructNoiseStripes_C() local 247 assert(half_width > 0); in ConstructNoiseStripes_C() 292 } while (x < half_width); in ConstructNoiseStripes_C() 308 const int half_width = DivideBy2(width + 1); in ConstructNoiseStripesWithOverlap_C() local 310 assert(half_width > 0); in ConstructNoiseStripesWithOverlap_C() 343 for (int x = 16; x < half_width; x += 16) { in ConstructNoiseStripesWithOverlap_C()
|
/external/rust/android-crates-io/crates/plotters-backend/src/rasterizer/ |
D | circle.rs | 11 let half_width = (radius as f64 * radius as f64 in draw_part_a() localVariable 15 let x0 = (-half_width).ceil() as i32; in draw_part_a() 16 let x1 = half_width.floor() as i32; in draw_part_a()
|
/external/mesa3d/src/mesa/main/ |
D | viewport.c | 568 float half_width = 0.5f * ctx->ViewportArray[i].Width; in _mesa_get_viewport_xform() local 573 scale[0] = half_width; in _mesa_get_viewport_xform() 574 translate[0] = half_width + x; in _mesa_get_viewport_xform()
|
/external/llvm-libc/src/__support/ |
D | big_int.h | 34 template <typename T> struct half_width; 35 template <> struct half_width<uint16_t> : cpp::type_identity<uint8_t> {}; 36 template <> struct half_width<uint32_t> : cpp::type_identity<uint16_t> {}; 38 template <> struct half_width<uint64_t> : cpp::type_identity<uint32_t> {}; 40 template <> struct half_width<__uint128_t> : cpp::type_identity<uint64_t> {}; 43 template <typename T> using half_width_t = typename half_width<T>::type;
|
/external/cronet/stable/third_party/llvm-libc/src/src/__support/ |
D | big_int.h | 34 template <typename T> struct half_width; 35 template <> struct half_width<uint16_t> : cpp::type_identity<uint8_t> {}; 36 template <> struct half_width<uint32_t> : cpp::type_identity<uint16_t> {}; 38 template <> struct half_width<uint64_t> : cpp::type_identity<uint32_t> {}; 40 template <> struct half_width<__uint128_t> : cpp::type_identity<uint64_t> {}; 43 template <typename T> using half_width_t = typename half_width<T>::type;
|
/external/cronet/tot/third_party/llvm-libc/src/src/__support/ |
D | big_int.h | 34 template <typename T> struct half_width; 35 template <> struct half_width<uint16_t> : cpp::type_identity<uint8_t> {}; 36 template <> struct half_width<uint32_t> : cpp::type_identity<uint16_t> {}; 38 template <> struct half_width<uint64_t> : cpp::type_identity<uint32_t> {}; 40 template <> struct half_width<__uint128_t> : cpp::type_identity<uint64_t> {}; 43 template <typename T> using half_width_t = typename half_width<T>::type;
|
/external/webrtc/common_video/libyuv/ |
D | webrtc_libyuv.cc | 31 int half_width = (width + 1) >> 1; in CalcBufferSize() local 33 buffer_size = width * height + half_width * half_height * 2; in CalcBufferSize()
|