Home
last modified time | relevance | path

Searched refs:new_height (Results 1 – 25 of 34) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dresize_fp32.c77 int new_height = output_shape[1]; in PrepareResizeBilinear() local
80 for (int h = 0; h < new_height; h++) { in PrepareResizeBilinear()
81 float actual_y = calculate(h, in_h, new_height); in PrepareResizeBilinear()
100 int new_height = output_shape[1]; in PrepareResizeBicubic() local
103 for (int h = 0; h < new_height; h++) { in PrepareResizeBicubic()
104 float actual_y = calculate(h, in_h, new_height); in PrepareResizeBicubic()
124 int new_height = output_shape[1]; in PrepareCropAndResizeBilinear() local
136 int *y_bottom = y_bottoms + b * new_height; in PrepareCropAndResizeBilinear()
137 int *y_top = y_tops + b * new_height; in PrepareCropAndResizeBilinear()
138 float *y_bottom_weight = y_bottom_weights + b * new_height; in PrepareCropAndResizeBilinear()
[all …]
/third_party/mindspore/mindspore/core/ops/
Dresize.cc28 void Resize::Init(const Format format, const ResizeMethod method, const int64_t new_height, const i… in Init() argument
34 this->set_new_height(new_height); in Init()
53 void Resize::set_new_height(const int64_t new_height) { (void)this->AddAttr(kNewHeight, MakeValue(n… in set_new_height() argument
Dresize.h53 …void Init(const Format format, const ResizeMethod method, const int64_t new_height, const int64_t …
71 void set_new_height(const int64_t new_height);
/third_party/pixman/demos/
Dscale.c211 double new_width, new_height; in rescale() local
234 new_height = pixman_image_get_height (app->original) * fscale_y; in rescale()
238 pixman_f_transform_translate (&ftransform, NULL, - new_width / 2.0, - new_height / 2.0); in rescale()
243 pixman_f_transform_translate (&ftransform, NULL, new_width / 2.0, new_height / 2.0); in rescale()
271 app->scaled_height = ceil (new_height); in rescale()
274 get_widget (app, "drawing_area"), new_width + 0.5, new_height + 0.5); in rescale()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dresize_int8.c163 int in_h, in_w, new_height, new_width; in ResizeNearestNeighborInt8Simple() local
166 new_height = output_shape[1]; in ResizeNearestNeighborInt8Simple()
172 ComputeNearestNeighborInt(y, in_h, new_height, align_corners, &input_y); in ResizeNearestNeighborInt8Simple()
203 int32_t in_h, in_w, new_height, new_width; in ResizeNearestNeighborInt8() local
206 new_height = output_shape[1]; in ResizeNearestNeighborInt8()
212 ComputeNearestNeighborInt(y, in_h, new_height, align_corners, &input_y); in ResizeNearestNeighborInt8()
/third_party/ffmpeg/libavfilter/dnn/
Ddnn_backend_native_layer_pad.c95 int new_height = height + params->paddings[1][0] + params->paddings[1][1]; in ff_dnn_execute_layer_pad() local
105 int new_hwc_stride = new_wc_stride * new_height; in ff_dnn_execute_layer_pad()
109 output_operand->dims[1] = new_height; in ff_dnn_execute_layer_pad()
205 for (int h = 0; h < new_height; h++) { in ff_dnn_execute_layer_pad()
239 for (int h = 0; h < new_height; h++) { in ff_dnn_execute_layer_pad()
/third_party/mindspore/mindspore/lite/test/ut/tools/converter/parser/tflite/
Dtflite_resize_parser_test.cc38 ASSERT_EQ(val->new_height, 3); in TEST_F()
61 ASSERT_EQ(val->new_height, 75); in TEST_F()
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/
Dresize_tests.cc25 OpParameter *CreateParameter(schema::ResizeMethod method, int new_height, int new_width, bool align… in CreateParameter() argument
27 param->new_height_ = new_height; in CreateParameter()
/third_party/mindspore/mindspore/lite/src/ops/populate/
Dresize_populate.cc40 param->new_height_ = value->new_height(); in PopulateResizeParameter()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dtflite_inputs_adjust.cc49 int64_t new_height = prim_resize->get_new_height(); in CheckResize() local
51 return new_height != 0 && new_width != 0; in CheckResize()
/third_party/flutter/glfw/examples/
Dheightmap.c326 GLfloat new_height = disp + (float) (cos(pd*3.14f)*disp); in update_map() local
327 map_vertices[1][ii] += new_height; in update_map()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvadecoder.h93 gint new_height);
Dgstvadecoder.c704 guint new_rtformat, gint new_width, gint new_height) in gst_va_decoder_config_is_equal() argument
714 && self->coded_width == new_width && self->coded_height == new_height); in gst_va_decoder_config_is_equal()
/third_party/mindspore/mindspore/lite/src/delegate/npu/op/
Dresize_npu.cc54 new_height_ = resize_prim->new_height(); in Init()
/third_party/gstreamer/gstplugins_base/gst/rawparse/
Dgstrawvideoparse.c400 gint new_height = g_value_get_int (value); in gst_raw_video_parse_set_property() local
404 if (new_height != props_cfg->height) { in gst_raw_video_parse_set_property()
405 props_cfg->height = new_height; in gst_raw_video_parse_set_property()
/third_party/mindspore/mindspore/lite/src/delegate/tensorrt/op/
Dresize_tensorrt.cc89 new_dims.d[1] = resize_op->new_height(); in SetOutputDims()
/third_party/mindspore/mindspore/lite/mindir/include/
Dmindir.h301 PrimitivePtr MindIR_Resize_CreatePrimitive(ResizeMethod method, int64_t new_height, int64_t new_wid…
309 void MindIR_Resize_SetNewHeight(PrimitivePtr *primitive, int64_t new_height);
/third_party/mindspore/mindspore/lite/mindir/src/
Dmindir.cc3036 PrimitivePtr MindIR_Resize_CreatePrimitive(ResizeMethod method, int64_t new_height, int64_t new_wid… in MindIR_Resize_CreatePrimitive() argument
3043 …fbb, mindspore::schema::Format_NCHW, static_cast<schema::ResizeMethod>(method), new_height, new_wi… in MindIR_Resize_CreatePrimitive()
3076 … value->new_height(), value->new_width(), value->preserve_aspect_ratio(), in MindIR_Resize_SetMethod()
3094 return value->new_height(); in MindIR_Resize_GetNewHeight()
3103 void MindIR_Resize_SetNewHeight(PrimitivePtr *primitive, int64_t new_height) { in MindIR_Resize_SetNewHeight() argument
3111 new_height, value->new_width(), value->preserve_aspect_ratio(), in MindIR_Resize_SetNewHeight()
3146 value->new_height(), new_width, value->preserve_aspect_ratio(), in MindIR_Resize_SetNewWidth()
3181 value->new_height(), value->new_width(), preserve_aspect_ratio, in MindIR_Resize_SetPreserveAspectRatio()
3219 … value->new_height(), value->new_width(), value->preserve_aspect_ratio(), in MindIR_Resize_SetCoordinateTransformMode()
3254 … value->new_height(), value->new_width(), value->preserve_aspect_ratio(), in MindIR_Resize_SetCubicCoeff()
[all …]
/third_party/weston/xwayland/
Dwindow-manager.c2737 int new_width, new_height; in send_configure() local
2759 new_height = height - vborder; in send_configure()
2761 new_height = 1; in send_configure()
2763 if (window->width != new_width || window->height != new_height) { in send_configure()
2765 window->height = new_height; in send_configure()
/third_party/ffmpeg/libavdevice/
Dopengl_enc.c846 int new_width, new_height; in opengl_configure_texture() local
847 opengl_get_texture_size(opengl, width, height, &new_width, &new_height); in opengl_configure_texture()
853 glTexImage2D(GL_TEXTURE_2D, 0, opengl->format, new_width, new_height, 0, in opengl_configure_texture()
/third_party/ffmpeg/libavfilter/
Dvf_deshake_opencl.c1011 float new_width, new_height, adjusted_width, adjusted_height, adjusted_x, adjusted_y; in update_needed_crop() local
1051 new_height = crop->bottom_right.s[1] - crop->top_left.s[1]; in update_needed_crop()
1054 adjusted_width = new_height * ar_w; in update_needed_crop()
/third_party/ffmpeg/fftools/
Dffplay.c839 static int realloc_texture(SDL_Texture **texture, Uint32 new_format, int new_width, int new_height,… in realloc_texture() argument
843 …ryTexture(*texture, &format, &access, &w, &h) < 0 || new_width != w || new_height != h || new_form… in realloc_texture()
848 …ure = SDL_CreateTexture(renderer, new_format, SDL_TEXTUREACCESS_STREAMING, new_width, new_height))) in realloc_texture()
855 memset(pixels, 0, pitch * new_height); in realloc_texture()
858 …av_log(NULL, AV_LOG_VERBOSE, "Created %dx%d texture with %s.\n", new_width, new_height, SDL_GetPix… in realloc_texture()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Dtransupp.c1183 JDIMENSION new_height) in adjust_exif_parameters() argument
1302 new_value = new_height; /* ExifImageHeight Tag */ in adjust_exif_parameters()
/third_party/libjpeg-turbo/
Dtransupp.c1183 JDIMENSION new_height) in adjust_exif_parameters() argument
1302 new_value = new_height; /* ExifImageHeight Tag */ in adjust_exif_parameters()
/third_party/mindspore/mindspore/lite/schema/
Dops.fbs832 new_height: long;

12