Searched refs:dist_y (Results 1 – 5 of 5) sorted by relevance
/external/autotest/client/site_tests/firmware_TouchMTB/geometry/ |
D | elements.py | 62 dist_y = p.y - self.y 63 return (dist_x ** 2 + dist_y ** 2 ) ** 0.5
|
/external/tensorflow/tensorflow/contrib/bayesflow/python/kernel_tests/ |
D | hmc_test.py | 820 dist_y = independent_lib.Independent( 825 return dist_x.log_prob(x) + dist_y.log_prob(y) 826 x0 = [dist_x.sample(seed=1), dist_y.sample(seed=2)] 837 expected_means = [dist_x.mean(), dist_y.mean()] 838 expected_vars = [dist_x.variance(), dist_y.variance()]
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
D | ilo_state_raster.c | 874 const int8_t dist_y = (int8_t) in[i].y - 8; in sample_pattern_get_gen6_packed_offsets() local 875 const uint8_t dist = dist_x * dist_x + dist_y * dist_y; in sample_pattern_get_gen6_packed_offsets()
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
D | mtb.py | 578 dist_y = y1 - y0 579 return math.sqrt(dist_x * dist_x + dist_y * dist_y)
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_rdopt.c | 2833 int64_t dist_y = 0, dist_uv = 0; in vp9_rd_pick_intra_mode_sb() local 2844 if (rd_pick_intra_sby_mode(cpi, x, &rate_y, &rate_y_tokenonly, &dist_y, in vp9_rd_pick_intra_mode_sb() 2852 &dist_y, best_rd) >= best_rd) { in vp9_rd_pick_intra_mode_sb() 2865 rd_cost->dist = dist_y + dist_uv; in vp9_rd_pick_intra_mode_sb() 2869 rd_cost->dist = dist_y + dist_uv; in vp9_rd_pick_intra_mode_sb()
|