/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/ |
D | crop_fp16.c | 63 const int out_height = para->out_shape_[1]; in Fp16Crop2D() local 65 int64_t task_id_stride = thread_count > 1 ? UP_DIV(out_height, thread_count) : out_height; in Fp16Crop2D() 72 if (h >= out_height) { in Fp16Crop2D() 76 float16_t *out_ptr = output + n * out_height + h; in Fp16Crop2D() 77 int64_t out_dist_stride = MSMIN(out_height - task_id * task_id_stride, task_id_stride); in Fp16Crop2D() 87 const int out_height = para->out_shape_[1]; in Fp16Crop3D() local 91 int64_t task_id_stride = thread_count > 1 ? UP_DIV(out_height, thread_count) : out_height; in Fp16Crop3D() 100 const int out_stride_n = out_stride_h * out_height; in Fp16Crop3D() 105 if (h >= out_height) { in Fp16Crop3D() 122 const int out_height = para->out_shape_[1]; in Fp16Crop4D() local [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/opencv/ |
D | gstdewarp.cpp | 161 gint out_width, gint out_height, int out_cv_type); 283 filter->out_height = 0; in gst_dewarp_init() 442 gint out_width, out_height; in gst_dewarp_update_map() local 446 out_height = filter->out_height; in gst_dewarp_update_map() 449 out_height = filter->out_height / 2; in gst_dewarp_update_map() 454 G_GINT32_FORMAT, out_width, out_height); in gst_dewarp_update_map() 460 cv::Size destSize (out_width, out_height); in gst_dewarp_update_map() 464 for (y = 0; y < out_height; y++) { in gst_dewarp_update_map() 466 float r = ((float) (y) / (float) (out_height)) * (r2 - r1) + r1; in gst_dewarp_update_map() 482 gint in_width, gint in_height, gint * out_width, gint * out_height) in gst_dewarp_calculate_dimensions() argument [all …]
|
D | gstcvlaplace.cpp | 115 gint out_width, gint out_height, int out_cv_type); 193 gint out_height, int out_cv_type) in gst_cv_laplace_cv_set_caps() argument 197 filter->intermediary_img.create (cv::Size (out_width, out_height), CV_16SC1); in gst_cv_laplace_cv_set_caps()
|
D | gstcvsobel.cpp | 113 gint out_width, gint out_height, int out_cv_type); 191 gint out_width, gint out_height, int out_cv_type) in gst_cv_sobel_set_caps() argument 196 filter->cvSobel.create (cv::Size (out_width, out_height), CV_8UC1); in gst_cv_sobel_set_caps()
|
D | gstedgedetect.cpp | 116 gint out_width, gint out_height, int out_cv_type); 248 gint out_width, gint out_height, int out_cv_type) in gst_edge_detect_set_caps() argument
|
D | gstdewarp.h | 97 gint out_height; member
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/ |
D | crop_int8.c | 81 const int out_height = para->out_shape_[1]; in Int8Crop2D() local 83 int64_t task_id_stride = thread_count > 1 ? UP_DIV(out_height, thread_count) : out_height; in Int8Crop2D() 97 if (h >= out_height) { in Int8Crop2D() 101 int8_t *out_ptr = output + n * out_height + h; in Int8Crop2D() 102 int64_t out_dist_stride = MSMIN(out_height - task_id * task_id_stride, task_id_stride); in Int8Crop2D() 126 const int out_height = para->out_shape_[1]; in Int8Crop3D() local 130 int64_t task_id_stride = thread_count > 1 ? UP_DIV(out_height, thread_count) : out_height; in Int8Crop3D() 139 const int out_stride_n = out_stride_h * out_height; in Int8Crop3D() 151 if (h >= out_height) { in Int8Crop3D() 182 const int out_height = para->out_shape_[1]; in Int8Crop4D() local [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ |
D | resize_bilinear_cpu_kernel.cc | 46 size_t out_height = size_[0]; in InitKernel() local 48 height_scale = Scaling(in_height, out_height, align_corners_); in InitKernel() 103 size_t out_height = size_[0]; in LaunchKernel() local 105 size_t out_hw_size = out_height * out_width; in LaunchKernel() 109 if (out_height == in_height && out_width == in_width) { in LaunchKernel() 115 std::vector<CachedInterpolation> ys(out_height + 1); in LaunchKernel() 117 ComputeInterpolationWeights(out_height, in_height, height_scale, ys.data()); in LaunchKernel() 124 for (size_t h = 0; h < out_height; ++h) { in LaunchKernel()
|
D | resize_bilinear_grad_cpu_kernel.cc | 48 size_t out_height = size_[2]; in InitKernel() local 50 height_scale = Scaling(out_height, in_height, align_corners_); in InitKernel() 117 size_t out_height = size_[2]; in LaunchKernel() local 119 size_t out_hw_size = out_height * out_width; in LaunchKernel() 129 const size_t bottom_y_index = std::min(static_cast<size_t>(ceilf(in_y)), out_height - 1); in LaunchKernel()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/soft_dvpp/utils/ |
D | soft_vpc.cc | 111 uint32_t out_height = out_height_; in CheckParamter() local 120 flag = (out_height * 32 >= crop_height); // A maximum of 32x zoom-out in CheckParamter() 123 down_, out_height); in CheckParamter() 124 flag = (crop_height * 16 >= out_height); // Up to 16x magnification in CheckParamter() 126 …"Max magnification is 16. Please check up(%u), down(%u), out_height(%u).", up_, down_, out_height); in CheckParamter() 185 uint32_t out_height = pre_unit->out_height; in HorizonSplit() local 190 if (out_height > 4 * in_height) { // The vertical scaling ratio is greater than 4x. in HorizonSplit() 192 can_process_unit->in_height = AlignUp(out_height, 8) / 4; in HorizonSplit() 193 } else if (out_height >= in_height) { // The vertical scaling range is [1, 4]. in HorizonSplit() 195 } else if (out_height * 4 >= in_height) { // The vertical scaling range is [1/4, 1) in HorizonSplit() [all …]
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/ |
D | resize_int8.cc | 154 auto out_height = out_tensor->Height(); in CalRatio() local 156 resize_quant_arg_.ratio_y_ = ((1 << OFFSET_BASE) * in_height + out_height / 2) / out_height; in CalRatio() 161 if (align_corners && out_height > 1) { in CalRatio() 162 …t_arg_.ratio_y_ = ((1 << OFFSET_BASE) * (in_height - 1) + (out_height - 1) / 2) / (out_height - 1); in CalRatio() 226 auto out_height = out_tensor->Height(); in CalFloatRatio() local 228 resize_float_quant_arg_.ratio_y_ = static_cast<float>(in_height) / out_height; in CalFloatRatio() 233 if (align_corners && out_height > 1) { in CalFloatRatio() 234 resize_float_quant_arg_.ratio_y_ = static_cast<float>(in_height - 1) / (out_height - 1); in CalFloatRatio()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_sr.c | 91 int out_width, out_height; in config_output() local 94 result = ff_dnn_get_output(&ctx->dnnctx, inlink->w, inlink->h, &out_width, &out_height); in config_output() 100 if (inlink->w != out_width || inlink->h != out_height) { in config_output() 103 outlink->h = out_height; in config_output() 118 outlink->h = out_height * ctx->scale_factor; in config_output()
|
D | vf_vpp_qsv.c | 64 int out_height; member 205 vpp->out_height); in eval_expr() 270 if (vpp->out_height == 0 || vpp->out_width == 0) { in config_input() 272 vpp->out_height = inlink->h; in config_input() 299 outlink->h = vpp->out_height; in config_output() 429 FFSWAP(int, vpp->out_width, vpp->out_height); in config_output()
|
D | vf_scale_npp.c | 233 int out_width, int out_height) in init_processing_chain() argument 273 if (in_width != out_width || in_height != out_height || in init_processing_chain() 278 (out_width > in_width && out_height > in_height)) { in init_processing_chain() 283 !(out_width < in_width && out_height < in_height)) { in init_processing_chain() 309 s->stages[STAGE_RESIZE].planes_out[0].height = out_height; in init_processing_chain() 314 s->stages[STAGE_INTERLEAVE].planes_in[0].height = out_height; in init_processing_chain()
|
D | vf_scale_qsv.c | 173 int out_width, int out_height) in init_out_pool() argument 205 out_frames_ctx->height = FFALIGN(out_height, 16); in init_out_pool() 222 info->CropH = out_height; in init_out_pool() 453 int out_width, int out_height) in init_scale_session() argument 459 ret = init_out_pool(ctx, out_width, out_height); in init_scale_session()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/opencv/ |
D | gstopencvvideofilter.cpp | 181 gint out_width, out_height; in gst_opencv_video_filter_set_info() local 195 &out_height, &out_cv_type, &out_err)) { in gst_opencv_video_filter_set_info() 204 out_width, out_height, out_cv_type)) in gst_opencv_video_filter_set_info() 209 transform->out_cvImage.create (cv::Size (out_width, out_height), out_cv_type); in gst_opencv_video_filter_set_info()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderRendering.hpp | 144 …tRenderTargetSize(unsigned int n_instances, unsigned int* out_width, unsigned int* out_height) = 0; 264 …d getRenderTargetSize(unsigned int n_instances, unsigned int* out_width, unsigned int* out_height); 359 …d getRenderTargetSize(unsigned int n_instances, unsigned int* out_width, unsigned int* out_height); 515 …d getRenderTargetSize(unsigned int n_instances, unsigned int* out_width, unsigned int* out_height);
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/ |
D | gstglmemorypbo.c | 114 guint out_width, out_height; member 437 gsize out_width, out_height, out_stride; in _gl_mem_copy_thread() local 447 out_height = copy_params->out_height; in _gl_mem_copy_thread() 464 out_size = out_height * out_stride; in _gl_mem_copy_thread() 479 copy_params->out_width, copy_params->out_height); in _gl_mem_copy_thread() 532 gl->TexSubImage2D (out_tex_target, 0, 0, 0, out_width, out_height, in _gl_mem_copy_thread() 538 out_height); in _gl_mem_copy_thread() 761 copy_params.out_height = height; in gst_gl_memory_pbo_copy_into_texture()
|
D | gstglmemory.c | 98 guint out_width, out_height; member 661 gint out_width, gint out_height) in gst_gl_memory_copy_teximage() argument 716 out_height, 0); in gst_gl_memory_copy_teximage() 758 gl->BlitFramebuffer (0, 0, out_width, out_height, in gst_gl_memory_copy_teximage() 759 0, 0, out_width, out_height, GL_COLOR_BUFFER_BIT, GL_NEAREST); in gst_gl_memory_copy_teximage() 816 copy_params->out_height); in _gl_tex_copy_thread() 821 copy_params->out_width, copy_params->out_height); in _gl_tex_copy_thread() 1015 copy_params.out_height = height; in gst_gl_memory_copy_into()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/ |
D | io_dec.c | 301 const int out_height = io->scaled_height; in InitYUVRescaler() local 303 const int uv_out_height = (out_height + 1) >> 1; in InitYUVRescaler() 332 buf->y, out_width, out_height, buf->y_stride, 1, in InitYUVRescaler() 344 buf->a, out_width, out_height, buf->a_stride, 1, in InitYUVRescaler() 485 const int out_height = io->scaled_height; in InitRGBRescaler() local 518 tmp + 0 * out_width, out_width, out_height, 0, 1, in InitRGBRescaler() 521 tmp + 1 * out_width, out_width, out_height, 0, 1, in InitRGBRescaler() 524 tmp + 2 * out_width, out_width, out_height, 0, 1, in InitRGBRescaler() 531 tmp + 3 * out_width, out_width, out_height, 0, 1, in InitRGBRescaler()
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
D | io_dec.c | 296 const int out_height = io->scaled_height; in InitYUVRescaler() local 298 const int uv_out_height = (out_height + 1) >> 1; in InitYUVRescaler() 334 buf->y, out_width, out_height, buf->y_stride, 1, in InitYUVRescaler() 348 buf->a, out_width, out_height, buf->a_stride, 1, in InitYUVRescaler() 491 const int out_height = io->scaled_height; in InitRGBRescaler() local 527 tmp + 0 * out_width, out_width, out_height, 0, 1, in InitRGBRescaler() 530 tmp + 1 * out_width, out_width, out_height, 0, 1, in InitRGBRescaler() 533 tmp + 2 * out_width, out_width, out_height, 0, 1, in InitRGBRescaler() 542 tmp + 3 * out_width, out_width, out_height, 0, 1, in InitRGBRescaler()
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | compositor.c | 1510 gint height1, gdouble alpha1, gint out_width, gint out_height) in _test_obscured() argument 1541 if (out_height > 0) in _test_obscured() 1542 gst_caps_set_simple (caps, "height", G_TYPE_INT, out_height, NULL); in _test_obscured() 1597 gint out_width, out_height; in GST_START_TEST() local 1607 out_width = out_height = 0; in GST_START_TEST() 1614 width1, height1, alpha1, out_width, out_height); in GST_START_TEST() 1621 width1, height1, alpha1, out_width, out_height); in GST_START_TEST() 1629 width1, height1, alpha1, out_width, out_height); in GST_START_TEST() 1638 ypos1, width1, height1, alpha1 / 10, out_width, out_height); in GST_START_TEST() 1647 width1, height1, alpha1, out_width, out_height); in GST_START_TEST() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/ |
D | resize_nearest_neighbor_grad_impl.cu | 40 int out_height = d3; in ResizeNearestNeighborGrad() local 58 out_height - 1); in ResizeNearestNeighborGrad()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/ |
D | resize_grad.c | 114 size_t out_height = param->out_height_; in ResizeBiLinearGrad() local 116 out_hw_size = out_height * out_width; in ResizeBiLinearGrad() 124 const size_t bottom_y_index = MSMIN((size_t)ceilf(in_y), out_height - 1); in ResizeBiLinearGrad()
|
/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | gstglcolorconvert.c | 184 gint out_height = frames[j].height; in check_conversion() local 191 out_height); in check_conversion()
|