/aosp_15_r20/external/coreboot/util/kconfig/lxdialog/ |
H A D | inputbox.c | 34 int i, x, y, box_y, box_x, box_width; in dialog_inputbox() local 75 box_width = width - 6; in dialog_inputbox() 78 box_x = (width - box_width) / 2; in dialog_inputbox() 79 draw_box(dialog, y + 1, box_x - 1, 3, box_width + 2, in dialog_inputbox() 91 if (len >= box_width) { in dialog_inputbox() 92 show_x = len - box_width + 1; in dialog_inputbox() 93 input_x = box_width - 1; in dialog_inputbox() 94 for (i = 0; i < box_width - 1; i++) in dialog_inputbox() 135 for (i = 0; i < box_width; i++) { in dialog_inputbox() 153 for (i = 0; i < box_width; i++) { in dialog_inputbox() [all …]
|
/aosp_15_r20/external/toybox/kconfig/lxdialog/ |
H A D | inputbox.c | 47 int i, x, y, box_y, box_x, box_width; in dialog_inputbox() local 87 box_width = width - 6; in dialog_inputbox() 90 box_x = (width - box_width) / 2; in dialog_inputbox() 91 draw_box(dialog, y + 1, box_x - 1, 3, box_width + 2, in dialog_inputbox() 102 if (input_x >= box_width) { in dialog_inputbox() 103 scroll = input_x - box_width + 1; in dialog_inputbox() 104 input_x = box_width - 1; in dialog_inputbox() 105 for (i = 0; i < box_width - 1; i++) in dialog_inputbox() 133 scroll = scroll < box_width - 1 ? 0 : scroll - (box_width - 1); in dialog_inputbox() 135 for (i = 0; i < box_width; i++) in dialog_inputbox() [all …]
|
/aosp_15_r20/external/ComputeLibrary/tests/validation/reference/ |
H A D | PriorBoxLayer.cpp | 73 float box_width; in prior_box_layer() local 78 box_width = min_size; in prior_box_layer() 81 result[idx++] = (center_x - box_width / 2.f) / img_width; in prior_box_layer() 83 result[idx++] = (center_x + box_width / 2.f) / img_width; in prior_box_layer() 89 box_width = sqrt(min_size * max_size); in prior_box_layer() 90 box_height = box_width; in prior_box_layer() 93 result[idx++] = (center_x - box_width / 2.f) / img_width; in prior_box_layer() 95 result[idx++] = (center_x + box_width / 2.f) / img_width; in prior_box_layer() 107 box_width = min_size * sqrt(ar); in prior_box_layer() 111 result[idx++] = (center_x - box_width / 2.f) / img_width; in prior_box_layer() [all …]
|
/aosp_15_r20/external/ComputeLibrary/src/core/NEON/kernels/ |
H A D | NEPriorBoxLayerKernel.cpp | 84 …nst int offset, const float center_x, const float center_y, const float box_width, const float box… in store_coordinates() argument 87 float xmin = (center_x - box_width / 2.f) / width; in store_coordinates() 89 float xmax = (center_x + box_width / 2.f) / width; in store_coordinates() 141 float box_width; in calculate_prior_boxes() local 149 box_width = min_size; in calculate_prior_boxes() 151 … store_coordinates(out, offset, center_x, center_y, box_width, box_height, img_width, img_height); in calculate_prior_boxes() 157 box_width = std::sqrt(min_size * max_size); in calculate_prior_boxes() 158 box_height = box_width; in calculate_prior_boxes() 160 … store_coordinates(out, offset, center_x, center_y, box_width, box_height, img_width, img_height); in calculate_prior_boxes() 172 box_width = min_size * sqrt(ar); in calculate_prior_boxes() [all …]
|
H A D | NEPriorBoxLayerKernel.h | 87 …nst int offset, const float center_x, const float center_y, const float box_width, const float box…
|
/aosp_15_r20/external/ComputeLibrary/src/core/CL/cl_kernels/nchw/ |
H A D | prior_box_layer.cl | 39 * @param[in] box_width Prior box width 43 …min_max_nchw(Image *out, int idx, float center_x, float center_y, float box_width, float box_heigh… 45 float xmin = (center_x - box_width / 2.f) / WIDTH; 47 float xmax = (center_x + box_width / 2.f) / WIDTH; 80 float box_width = min_size; 82 calculate_xy_min_max_nchw(out, idx, center_x, center_y, box_width, box_height); 87 box_width = sqrt(min_size * max[min_idx]); 88 box_height = box_width; 89 calculate_xy_min_max_nchw(out, idx, center_x, center_y, box_width, box_height); 98 box_width = min_size * sqrt(aspect_ratios[i]); [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/ |
H A D | integral_image.h | 167 const int box_width = (x2 - x1) / 2; in GetCode() local 168 const int left_sum = GetRegionSum(x1, y1, x1 + box_width, y2); in GetCode() 169 const int right_sum = GetRegionSum(x2 - box_width, y1, x2, y2); in GetCode()
|
/aosp_15_r20/external/rust/android-crates-io/crates/criterion-plot/src/ |
D | lib.rs | 410 box_width: Option<f64>, field 428 box_width: None, in new() 452 if let Some(width) = self.box_width { in script() 624 self.box_width = Some(width); in set()
|
/aosp_15_r20/external/ComputeLibrary/cl_kernels/nchw/ |
H A D | prior_box_layer.clembed | 1250 …min_max_nchw(Image *out, int idx, float center_x, float center_y, float box_width, float box_heigh… 1252 float xmin = (center_x - box_width / 2.f) / WIDTH; 1254 float xmax = (center_x + box_width / 2.f) / WIDTH; 1274 float box_width = min_size; 1276 calculate_xy_min_max_nchw(out, idx, center_x, center_y, box_width, box_height); 1281 box_width = sqrt(min_size * max[min_idx]); 1282 box_height = box_width; 1283 calculate_xy_min_max_nchw(out, idx, center_x, center_y, box_width, box_height); 1292 box_width = min_size * sqrt(aspect_ratios[i]); 1295 calculate_xy_min_max_nchw(out, idx, center_x, center_y, box_width, box_height);
|