Home
last modified time | relevance | path

Searched refs:half_size (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_median_filter.c167 int half_size; in generate_offsets() local
174 half_size = size >> 1; in generate_offsets()
202 for (v.x = -half_size; v.x <= half_size; ++v.x) in generate_offsets()
203 for (v.y = -half_size; v.y <= half_size; ++v.y) in generate_offsets()
209 for (v.x = -half_size; v.x <= half_size; ++v.x) in generate_offsets()
213 for (v.y = -half_size; v.y <= half_size; ++v.y) in generate_offsets()
219 for (v.x = v.y = -half_size; v.x <= half_size; ++v.x, ++v.y) in generate_offsets()
222 for (v.x = -half_size, v.y = half_size; v.x <= half_size; ++v.x, --v.y) in generate_offsets()
229 for (v.x = -half_size; v.x <= half_size; ++v.x) in generate_offsets()
235 for (v.y = -half_size; v.y <= half_size; ++v.y) in generate_offsets()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_wide_point.c130 float half_size; in widepoint_point() local
148 half_size = header->v[0]->data[wide->psize_slot][0]; in widepoint_point()
149 half_size *= 0.5f; in widepoint_point()
152 half_size = wide->half_point_size; in widepoint_point()
155 left_adj = -half_size + wide->xbias; in widepoint_point()
156 right_adj = half_size + wide->xbias; in widepoint_point()
157 bot_adj = half_size + wide->ybias; in widepoint_point()
158 top_adj = -half_size + wide->ybias; in widepoint_point()
/external/vboot_reference/cgpt/
Dcgpt_create.c66 size_t half_size = in GptCreate() local
68 if (half_size < required_min_size) { in GptCreate()
74 (half_size - required_headers_size) / h->size_of_entry; in GptCreate()
Dcgpt_nor.c171 uint64_t half_size = stat.st_size / 2; in split_gpt() local
174 if (read_write(fd, half_size, source, 1) != 0 || in split_gpt()
175 read_write(fd, half_size, source, 2) != 0) { in split_gpt()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dprng.cc118 const int64 half_size = CeilOfRatio<int64>(size, 2); in StatelessRngUniformU32() local
119 const bool size_is_odd = (half_size * 2 != size); in StatelessRngUniformU32()
120 ThreeFry2x32State inputs = GetInputs(half_size, builder); in StatelessRngUniformU32()
123 outputs[1] = Slice(outputs[1], {0}, {half_size - 1}, {1}); in StatelessRngUniformU32()
/external/eigen/unsupported/test/
Dcxx11_tensor_of_strings.cpp97 const Eigen::DSizes<ptrdiff_t, 2> half_size(2, 3); in test_slices() local
101 Tensor<std::string, 2> t1 = data.slice(first_half, half_size); in test_slices()
102 Tensor<std::string, 2> t2 = data.slice(second_half, half_size); in test_slices()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dstateful_random_ops.cc55 const int64 half_size = xla::CeilOfRatio<int64>(size, 2); in StatefulRngUniformU32() local
56 const bool size_is_odd = (half_size * 2 != size); in StatefulRngUniformU32()
57 auto inputs_counter = GetInputsFromCounter(counter, half_size); in StatefulRngUniformU32()
62 outputs[1] = Slice(outputs[1], {0}, {half_size - 1}, {1}); in StatefulRngUniformU32()