Home
last modified time | relevance | path

Searched refs:x_center (Results 1 – 9 of 9) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/geometrictransform/
Dgstcirclegeometrictransform.c92 if (v != cgt->x_center) { in gst_circle_geometric_transform_set_property()
93 cgt->x_center = v; in gst_circle_geometric_transform_set_property()
128 g_value_set_double (value, cgt->x_center); in gst_circle_geometric_transform_get_property()
149 cgt->precalc_x_center = cgt->x_center * gt->width; in circle_geometric_transform_precalc()
202 filter->x_center = DEFAULT_X_CENTER; in gst_circle_geometric_transform_init()
Dgsttunnel.c96 norm_x = 2.0 * (x - cgt->x_center * width) / MAX (width, height); in tunnel_map()
108 *in_x = 0.5 * (norm_x) * MAX (width, height) + cgt->x_center * width; in tunnel_map()
Dgststretch.c146 norm_x = 2.0 * (x / width - cgt->x_center); in stretch_map()
169 *in_x = (0.5 * norm_x + cgt->x_center) * width; in stretch_map()
Dgstbulge.c146 norm_x = 2.0 * (x / width - cgt->x_center); in bulge_map()
168 *in_x = (0.5 * norm_x + cgt->x_center) * width; in bulge_map()
Dgstcirclegeometrictransform.h73 gdouble x_center; member
Dgstpinch.c149 cgt->precalc_x_center, cgt->x_center, cgt->precalc_y_center, in pinch_map()
/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dgstdewarp.cpp270 filter->x_center = DEFAULT_CENTER; in gst_dewarp_init()
306 if (v != filter->x_center) { in gst_dewarp_set_property()
307 filter->x_center = v; in gst_dewarp_set_property()
310 GST_LOG_OBJECT (filter, "x center set to %f", filter->x_center); in gst_dewarp_set_property()
405 g_value_set_double (value, filter->x_center); in gst_dewarp_get_property()
458 cx = filter->x_center * filter->in_width; in gst_dewarp_update_map()
Dgstdewarp.h85 gdouble x_center; member
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Ddetection_post_process_fp32.c55 float x_center = box->x / scaler.x * anchor->w + anchor->x; in DecodeBoxes() local
59 decoded_box->xmin = x_center - w_half; in DecodeBoxes()
61 decoded_box->xmax = x_center + w_half; in DecodeBoxes()