Home
last modified time | relevance | path

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

/third_party/toybox/kconfig/lxdialog/
Dinputbox.c47 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 …]
/third_party/boost/libs/compute/example/
Dqimage_blur.cpp34 compute::uint_ box_width, in box_filter_image() argument
46 uint box_width) in box_filter_image()
52 int k = box_width; in box_filter_image()
84 kernel.set_arg(3, box_width); in box_filter_image()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dcut_out_op.cc33 CutOutOp::CutOutOp(int32_t box_height, int32_t box_width, int32_t num_patches, bool random_color, u… in CutOutOp() argument
37 box_width_(box_width), in CutOutOp()
Dcut_out_op.h49 …CutOutOp(int32_t box_height, int32_t box_width, int32_t num_patches, bool random_color = kDefRando…
Dimage_utils.cc1225 …int32_t box_width, int32_t num_patches, bool bounded, bool random_color, std::mt19937 *rnd, uint8_… in Erase() argument
1242 if (box_height > image_h || box_width > image_w) { in Erase()
1245 … "box weight: " + std::to_string(box_width) + ", and image height: " + std::to_string(image_h) + in Erase()
1252 std::uniform_int_distribution<int> width_distribution_bound(0, image_w - box_width); in Erase()
1254 std::uniform_int_distribution<int> width_distribution_unbound(0, image_w + box_width); in Erase()
1263 …tart = (bounded) ? width_distribution_bound(*rnd) : (width_distribution_unbound(*rnd) - box_width); in Erase()
1265 int32_t max_width = (w_start + box_width > image_w) ? image_w : w_start + box_width; in Erase()
Dimage_utils.h289 … int32_t box_width, int32_t num_patches, bool bounded, bool random_color, std::mt19937 *rnd,
/third_party/ffmpeg/libavcodec/
Dproresenc_anatoliy.c479 int box_width = FFMIN(width - x, dst_width); in subimage_with_fill_template() local
496 for (j = 0; j < box_width; ++j) { in subimage_with_fill_template()