Home
last modified time | relevance | path

Searched refs:image_h (Results 1 – 22 of 22) sorted by relevance

/third_party/mesa3d/src/broadcom/common/
Dv3d_tiling.c92 v3d_get_lt_pixel_offset(uint32_t cpp, uint32_t image_h, uint32_t x, uint32_t y) in v3d_get_lt_pixel_offset() argument
134 v3d_get_ublinear_2_column_pixel_offset(uint32_t cpp, uint32_t image_h, in v3d_get_ublinear_2_column_pixel_offset() argument
141 v3d_get_ublinear_1_column_pixel_offset(uint32_t cpp, uint32_t image_h, in v3d_get_ublinear_1_column_pixel_offset() argument
155 v3d_get_uif_pixel_offset(uint32_t cpp, uint32_t image_h, uint32_t x, uint32_t y, in v3d_get_uif_pixel_offset() argument
175 uint32_t mb_h = align(image_h, 1 << log2_mb_height) >> log2_mb_height; in v3d_get_uif_pixel_offset()
199 v3d_get_uif_xor_pixel_offset(uint32_t cpp, uint32_t image_h, in v3d_get_uif_xor_pixel_offset() argument
202 return v3d_get_uif_pixel_offset(cpp, image_h, x, y, true); in v3d_get_uif_xor_pixel_offset()
206 v3d_get_uif_no_xor_pixel_offset(uint32_t cpp, uint32_t image_h, in v3d_get_uif_no_xor_pixel_offset() argument
209 return v3d_get_uif_pixel_offset(cpp, image_h, x, y, false); in v3d_get_uif_no_xor_pixel_offset()
219 int cpp, uint32_t image_h, in v3d_move_pixels_unaligned() argument
[all …]
Dv3d_tiling.h72 uint32_t image_h,
77 uint32_t image_h,
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_android.c268 VkImage image_h) in tu_import_memory_from_gralloc_handle() argument
274 image = tu_image_from_handle(image_h); in tu_import_memory_from_gralloc_handle()
282 .image = image_h in tu_import_memory_from_gralloc_handle()
306 .image = image_h, in tu_import_memory_from_gralloc_handle()
317 tu_DestroyImage(device_h, image_h, alloc); in tu_import_memory_from_gralloc_handle()
477 VkImage image_h, in tu_AcquireImageANDROID() argument
Dtu_clear_blit.c2147 VkImage image_h, in tu_CmdClearColorImage() argument
2154 TU_FROM_HANDLE(tu_image, image, image_h); in tu_CmdClearColorImage()
2162 VkImage image_h, in tu_CmdClearDepthStencilImage() argument
2169 TU_FROM_HANDLE(tu_image, image, image_h); in tu_CmdClearDepthStencilImage()
Dtu_private.h1527 VkImage image_h);
/third_party/mindspore/tests/st/model_zoo_tests/yolov3_darknet53/src/
Dtransforms.py278 def _choose_candidate_by_constraints(max_trial, input_w, input_h, image_w, image_h, jitter, box, us… argument
318 t_box[:, [1, 3]] = t_box[:, [1, 3]] * float(nh) / float(image_h) + dy
331 image_h, flip, box, box_data, allow_outside_center): argument
342 t_box[:, [1, 3]] = t_box[:, [1, 3]] * float(nh) / float(image_h) + dy
384 image_w, image_h = image.size
398 image_h=image_h,
405 image_h=image_h,
/third_party/mindspore/mindspore/lite/minddata/example/
Dtestlitecv.cpp61 constexpr int32_t image_h = 0; in main() local
64 LiteMat lite_mat_rgb(image.Shape()[image_w], image.Shape()[image_h], image.Shape()[image_c], in main()
/third_party/mesa3d/src/amd/vulkan/
Dradv_android.c119 VkImage image_h = VK_NULL_HANDLE; in radv_image_from_gralloc() local
190 alloc, &image_h); in radv_image_from_gralloc()
195 image = radv_image_from_handle(image_h); in radv_image_from_gralloc()
201 .image = image_h, in radv_image_from_gralloc()
209 *out_image_h = image_h; in radv_image_from_gralloc()
381 radv_AcquireImageANDROID(VkDevice device_h, VkImage image_h, int nativeFenceFd, VkSemaphore semapho… in radv_AcquireImageANDROID() argument
Dradv_meta_clear.c2422 radv_CmdClearColorImage(VkCommandBuffer commandBuffer, VkImage image_h, VkImageLayout imageLayout, in radv_CmdClearColorImage() argument
2427 RADV_FROM_HANDLE(radv_image, image, image_h); in radv_CmdClearColorImage()
2450 radv_CmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage image_h, in radv_CmdClearDepthStencilImage() argument
2456 RADV_FROM_HANDLE(radv_image, image, image_h); in radv_CmdClearDepthStencilImage()
/third_party/mindspore/tests/ut/python/pynative_mode/nn/
Dtest_cell.py88 image_h = 224 variable in ConvNet
100 int(ConvNet.image_h * ConvNet.image_w * ConvNet.output_ch / (4 * 4)),
306 np.random.randint(0, 255, [1, 3, net.image_h, net.image_w]).astype(np.float32))
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/base/
Dprior_box.cc67 …const int image_h = prior_box_param_->image_size_h > 0 ? prior_box_param_->image_size_h : in_tenso… in GeneratePriorBox() local
74 … prior_box_param_->step_h > 0.0f ? prior_box_param_->step_h : static_cast<float>(image_h) / fmap_h; in GeneratePriorBox()
/third_party/mindspore/mindspore/dataset/vision/
Dpy_transforms_util.py973 image_c, image_h, image_w = np_img.shape
974 area = image_h * image_w
983 if erase_h < image_h and erase_w < image_w:
985 i = random.randint(0, image_h - erase_h)
992 y = random.randint(0, image_h)
995 y1 = clip(y - erase_h // 2, 0, image_h)
996 y2 = clip(y + erase_h // 2, 0, image_h)
1014 return 0, 0, image_h, image_w, np_img
Dpy_transforms.py1133 _, image_h, image_w = np_img.shape
1134 scale = (self.length * self.length) / (image_h * image_w)
/third_party/mindspore/tests/ut/python/nn/
Dtest_cell.py81 image_h = 224 variable in ConvNet
93 int(ConvNet.image_h * ConvNet.image_w * ConvNet.output_ch / (4 * 4)),
/third_party/mesa3d/src/amd/vulkan/layers/
Dradv_sqtt_layer.c533 sqtt_CmdClearColorImage(VkCommandBuffer commandBuffer, VkImage image_h, VkImageLayout imageLayout, in sqtt_CmdClearColorImage() argument
537 EVENT_MARKER(ClearColorImage, commandBuffer, image_h, imageLayout, pColor, rangeCount, pRanges); in sqtt_CmdClearColorImage()
541 sqtt_CmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage image_h, in sqtt_CmdClearDepthStencilImage() argument
546 EVENT_MARKER(ClearDepthStencilImage, commandBuffer, image_h, imageLayout, pDepthStencil, in sqtt_CmdClearDepthStencilImage()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dimage_utils.cc1239 int32_t image_h = input_cv->shape()[0]; in Erase() local
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()
1251 std::uniform_int_distribution<int> height_distribution_bound(0, image_h - box_height); in Erase()
1253 std::uniform_int_distribution<int> height_distribution_unbound(0, image_h + box_height); in Erase()
1266 int32_t max_height = (h_start + box_height > image_h) ? image_h : h_start + box_height; in Erase()
/third_party/mesa3d/src/intel/vulkan/
Danv_android.c813 VkImage image_h, in anv_AcquireImageANDROID() argument
Danv_blorp.c1090 VkImage image_h, in anv_CmdClearDepthStencilImage() argument
1097 ANV_FROM_HANDLE(anv_image, image, image_h); in anv_CmdClearDepthStencilImage()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c3633 uint32_t image_w, uint32_t image_h, in compute_blit_box() argument
3648 *y = MIN2(offsets[0].y, image_h - 1); in compute_blit_box()
3649 *h = MIN2(offsets[1].y - offsets[0].y, image_h - offsets[0].y); in compute_blit_box()
3652 *y = MIN2(offsets[1].y, image_h - 1); in compute_blit_box()
3653 *h = MIN2(offsets[0].y - offsets[1].y, image_h - offsets[1].y); in compute_blit_box()
/third_party/libpng/contrib/libtests/
Dpngvalid.c788 png_uint_32 image_h; /* Number of rows in a single image */ member
870 ps->image_h = 0; in store_init()
1129 size_t coffset = (nImage * ps->image_h + y) * (ps->cb_row + 5) + 2; in store_image_row()
1199 ps->image_h = cRows; in store_ensure_image()
1239 png_uint_32 rows = ps->image_h; in store_image_check()
1241 image += iImage * (cbRow+5) * ps->image_h; in store_image_check()
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dpngvalid.c788 png_uint_32 image_h; /* Number of rows in a single image */ member
870 ps->image_h = 0; in store_init()
1129 size_t coffset = (nImage * ps->image_h + y) * (ps->cb_row + 5) + 2; in store_image_row()
1199 ps->image_h = cRows; in store_ensure_image()
1239 png_uint_32 rows = ps->image_h; in store_image_check()
1241 image += iImage * (cbRow+5) * ps->image_h; in store_image_check()
/third_party/flutter/skia/third_party/externals/libpng/contrib/libtests/
Dpngvalid.c788 png_uint_32 image_h; /* Number of rows in a single image */ member
870 ps->image_h = 0; in store_init()
1129 size_t coffset = (nImage * ps->image_h + y) * (ps->cb_row + 5) + 2; in store_image_row()
1199 ps->image_h = cRows; in store_ensure_image()
1239 png_uint_32 rows = ps->image_h; in store_image_check()
1241 image += iImage * (cbRow+5) * ps->image_h; in store_image_check()