Home
last modified time | relevance | path

Searched refs:in_height (Results 1 – 25 of 47) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/
Dpack_ext.c35 const int in_height = conv_param->input_h_; in RollingIm2ColPackDwUnitFp32() local
54 …if (((unsigned)(input_row) < (unsigned)(in_height)) && ((unsigned)(input_col) < (unsigned)(in_widt… in RollingIm2ColPackDwUnitFp32()
85 const int in_height = conv_param->input_h_; in rolling_im2col_hwc() local
104 …if (((unsigned)(input_row) < (unsigned)(in_height)) && ((unsigned)(input_col) < (unsigned)(in_widt… in rolling_im2col_hwc()
124 …if (((unsigned)(input_row) < (unsigned)(in_height)) && ((unsigned)(input_col) < (unsigned)(in_widt… in rolling_im2col_hwc()
156 const int in_height = conv_param->output_h_; in rolling_im2row_hwc() local
169 if (!((unsigned)(input_row) < (unsigned)(in_height))) { in rolling_im2row_hwc()
204 const int in_height = conv_param->input_h_; in col2im_hwc() local
223 …if (((unsigned)(input_row) < (unsigned)(in_height)) && ((unsigned)(input_col) < (unsigned)(in_widt… in col2im_hwc()
252 const int in_height = conv_param->input_h_; in rolling_col2im_hwc() local
[all …]
Dresize_grad.c112 size_t in_height = param->in_height_; in ResizeBiLinearGrad() local
117 in_hw_size = in_height * in_width; in ResizeBiLinearGrad()
121 for (size_t h = 0; h < in_height; ++h) { in ResizeBiLinearGrad()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16_grad/
Dpack_fp16_ext.c34 const int in_height = conv_param->input_h_; in RollingIm2ColPackDwUnitFp16() local
53 …if (((unsigned)(input_row) < (unsigned)(in_height)) && ((unsigned)(input_col) < (unsigned)(in_widt… in RollingIm2ColPackDwUnitFp16()
84 const int in_height = conv_param->input_h_; in RollingIm2ColPackUnitFp16() local
103 …if (((unsigned)(input_row) < (unsigned)(in_height)) && ((unsigned)(input_col) < (unsigned)(in_widt… in RollingIm2ColPackUnitFp16()
123 …if (((unsigned)(input_row) < (unsigned)(in_height)) && ((unsigned)(input_col) < (unsigned)(in_widt… in RollingIm2ColPackUnitFp16()
151 const int in_height = conv_param->input_h_; in RollingCol2ImPackUnitFp16() local
170 …if (((unsigned)(input_row) < (unsigned)(in_height)) && ((unsigned)(input_col) < (unsigned)(in_widt… in RollingCol2ImPackUnitFp16()
189 …if (((unsigned)(input_row) < (unsigned)(in_height)) && ((unsigned)(input_col) < (unsigned)(in_widt… in RollingCol2ImPackUnitFp16()
/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dgstdewarp.cpp160 gint in_width, gint in_height, int in_cv_type,
281 filter->in_height = 0; in gst_dewarp_init()
459 cy = filter->y_center * filter->in_height; in gst_dewarp_update_map()
482 gint in_width, gint in_height, gint * out_width, gint * out_height) in gst_dewarp_calculate_dimensions() argument
487 " in height: %" G_GINT32_FORMAT, in_width, in_height); in gst_dewarp_calculate_dimensions()
489 *out_height = in_height; in gst_dewarp_calculate_dimensions()
498 in_height, filter->pad_sink_width, filter->pad_sink_height, in gst_dewarp_calculate_dimensions()
526 *out_height = in_height; in gst_dewarp_calculate_dimensions()
529 filter->pad_sink_height = in_height; in gst_dewarp_calculate_dimensions()
539 *out_height = in_height; in gst_dewarp_calculate_dimensions()
[all …]
Dgstedgedetect.cpp115 gint in_width, gint in_height, int in_cv_type,
247 gint in_width, gint in_height, int in_cv_type, in gst_edge_detect_set_caps() argument
252 filter->cvGray.create (cv::Size (in_width, in_height), CV_8UC1); in gst_edge_detect_set_caps()
253 filter->cvEdge.create (cv::Size (in_width, in_height), CV_8UC1); in gst_edge_detect_set_caps()
Dgstcvlaplace.cpp114 gint in_width, gint in_height, int in_cv_type,
192 gint in_height, int in_cv_type, gint out_width, in gst_cv_laplace_cv_set_caps() argument
198 filter->cvGray.create (cv::Size (in_width, in_height), CV_8UC1); in gst_cv_laplace_cv_set_caps()
199 filter->Laplace.create (cv::Size (in_width, in_height), CV_8UC1); in gst_cv_laplace_cv_set_caps()
Dgstcvsobel.cpp112 gint in_width, gint in_height, int in_cv_type,
190 gint in_width, gint in_height, int in_cv_type, in gst_cv_sobel_set_caps() argument
195 filter->cvGray.create (cv::Size (in_width, in_height), CV_8UC1); in gst_cv_sobel_set_caps()
Dgstfaceblur.cpp159 gint in_width, gint in_height, int in_cv_type,
332 gint in_width, gint in_height, int in_cv_type, in gst_face_blur_set_caps() argument
337 filter->cvGray.create (Size (in_width, in_height), CV_8UC1); in gst_face_blur_set_caps()
Dgstskindetect.cpp132 gint in_width, gint in_height, int in_cv_type,
236 gint in_width, gint in_height, int in_cv_type, in gst_skin_detect_set_caps() argument
240 cv::Size size = cv::Size (in_width, in_height); in gst_skin_detect_set_caps()
245 filter->height = in_height; in gst_skin_detect_set_caps()
Dgstretinex.cpp141 gint in_width, gint in_height, int in_cv_type,
316 gint in_height, int in_cv_type, gint out_width, in gst_retinex_set_caps() argument
322 size = Size (in_width, in_height); in gst_retinex_set_caps()
Dgstcameraundistort.cpp115 gint in_width, gint in_height, int in_cv_type,
283 gint in_width, gint in_height, G_GNUC_UNUSED int in_cv_type, in gst_camera_undistort_set_info() argument
289 undist->imageSize = cv::Size (in_width, in_height); in gst_camera_undistort_set_info()
Dgstgrabcut.cpp135 gint in_width, gint in_height, int in_cv_type,
265 gint in_height, int in_cv_type, gint out_width, in gst_grabcut_set_caps() argument
271 size = Size (in_width, in_height); in gst_grabcut_set_caps()
Dgsthanddetect.cpp114 gint in_width, gint in_height, int in_cv_type,
379 gint in_width, gint in_height, int in_cv_type, in gst_handdetect_set_caps() argument
386 if (in_width != 320 || in_height != 240) in gst_handdetect_set_caps()
390 filter->cvGray.create (Size (in_width, in_height), CV_8UC1); in gst_handdetect_set_caps()
Dgstsegmentation.cpp173 gint in_width, gint in_height, int in_cv_type, gint out_width,
299 gint in_height, int in_cv_type, in gst_segmentation_set_caps() argument
305 size = Size (in_width, in_height); in gst_segmentation_set_caps()
307 segmentation->height = in_height; in gst_segmentation_set_caps()
Dgstdewarp.h95 gint in_height; member
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dcrop_fp16.c61 const int in_height = para->in_shape_[1]; in Fp16Crop2D() local
75 … const float16_t *in_ptr = input + (n + para->in_offset_[0]) * in_height + h + para->in_offset_[1]; in Fp16Crop2D()
83 const int in_height = para->in_shape_[1]; in Fp16Crop3D() local
97 const int in_stride_n = in_stride_h * in_height; in Fp16Crop3D()
117 const int in_height = para->in_shape_[1]; in Fp16Crop4D() local
134 const int in_stride_n = in_stride_h * in_height; in Fp16Crop4D()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dresize_bilinear_cpu_kernel.cc44 size_t in_height = shape_[2]; in InitKernel() local
48 height_scale = Scaling(in_height, out_height, align_corners_); in InitKernel()
101 size_t in_height = shape_[2]; in LaunchKernel() local
106 size_t in_hw_size = in_height * in_width; in LaunchKernel()
109 if (out_height == in_height && out_width == in_width) { in LaunchKernel()
117 ComputeInterpolationWeights(out_height, in_height, height_scale, ys.data()); in LaunchKernel()
Dresize_bilinear_grad_cpu_kernel.cc46 size_t in_height = shape_[2]; in InitKernel() local
50 height_scale = Scaling(out_height, in_height, align_corners_); in InitKernel()
115 size_t in_height = shape_[2]; in LaunchKernel() local
120 size_t in_hw_size = in_height * in_width; in LaunchKernel()
126 for (size_t h = 0; h < in_height; ++h) { in LaunchKernel()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/soft_dvpp/utils/
Dsoft_vpc.cc184 uint32_t in_height = pre_unit->in_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()
194 can_process_unit->in_height = in_height; in HorizonSplit()
195 } else if (out_height * 4 >= in_height) { // The vertical scaling range is [1/4, 1) in HorizonSplit()
196 can_process_unit->in_height = out_height; in HorizonSplit()
198 can_process_unit->in_height = out_height * 4; // vertical scaling range is smaller than 1/4x in HorizonSplit()
202 can_process_unit->in_height = out_height * 4; // The vertical scaling ratio is less than 1/4. in HorizonSplit()
208 pre_unit->out_height = can_process_unit->in_height; in HorizonSplit()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dcrop_int8.c79 const int in_height = para->in_shape_[1]; in Int8Crop2D() local
100 const int8_t *in_ptr = input + (n + para->in_offset_[0]) * in_height + h + para->in_offset_[1]; in Int8Crop2D()
122 const int in_height = para->in_shape_[1]; in Int8Crop3D() local
136 const int in_stride_n = in_stride_h * in_height; in Int8Crop3D()
177 const int in_height = para->in_shape_[1]; in Int8Crop4D() local
194 const int in_stride_n = in_stride_h * in_height; in Int8Crop4D()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/opencv/
Dgstopencvvideofilter.cpp179 gint in_width, in_height; in gst_opencv_video_filter_set_info() local
187 &in_height, &in_cv_type, &in_err)) { in gst_opencv_video_filter_set_info()
203 if (!klass->cv_set_caps (transform, in_width, in_height, in_cv_type, in gst_opencv_video_filter_set_info()
208 transform->cvImage.create (cv::Size (in_width, in_height), in_cv_type); in gst_opencv_video_filter_set_info()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
Dresize_int8.cc151 auto in_height = in_tensor->Height(); in CalRatio() local
156 resize_quant_arg_.ratio_y_ = ((1 << OFFSET_BASE) * in_height + out_height / 2) / out_height; in CalRatio()
162 …resize_quant_arg_.ratio_y_ = ((1 << OFFSET_BASE) * (in_height - 1) + (out_height - 1) / 2) / (out_… in CalRatio()
223 auto in_height = in_tensor->Height(); in CalFloatRatio() local
228 resize_float_quant_arg_.ratio_y_ = static_cast<float>(in_height) / out_height; in CalFloatRatio()
234 resize_float_quant_arg_.ratio_y_ = static_cast<float>(in_height - 1) / (out_height - 1); in CalFloatRatio()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dresize_nearest_neighbor_impl.cu31 int in_height = s3; in ResizeNearestNeighbor() local
48 in_height - 1); in ResizeNearestNeighbor()
/third_party/ffmpeg/libavfilter/
Dvf_scale_npp.c232 static int init_processing_chain(AVFilterContext *ctx, int in_width, int in_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()
302 s->stages[STAGE_DEINTERLEAVE].planes_in[0].height = in_height; in init_processing_chain()
307 s->stages[STAGE_RESIZE].planes_in[0].height = in_height; in init_processing_chain()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-converter.c351 gint in_height; member
1659 convert->in_height, convert->out_height, convert->config); in chain_vscale()
1665 gst_video_scaler_new (method, 0, taps, convert->in_height, in chain_vscale()
1674 convert->in_height, convert->out_height, taps, method, backlog); in chain_vscale()
2361 convert->in_height = get_opt_int (convert, in gst_video_converter_new_with_pool()
2372 convert->in_height = in gst_video_converter_new_with_pool()
2373 MIN (convert->in_height, convert->in_maxheight - convert->in_y); in gst_video_converter_new_with_pool()
2374 if (convert->in_height + convert->in_y < 0 || in gst_video_converter_new_with_pool()
2375 convert->in_height + convert->in_y > convert->in_maxheight) { in gst_video_converter_new_with_pool()
2376 convert->in_height = 0; in gst_video_converter_new_with_pool()
[all …]

12