Home
last modified time | relevance | path

Searched refs:min_x (Results 1 – 24 of 24) sorted by relevance

/external/ceres-solver/internal/ceres/
Dpolynomial_test.cc252 double min_x = 0.0; in TEST() local
254 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value); in TEST()
258 EXPECT_GE(optimal_x, min_x); in TEST()
270 double min_x = 0.0; in TEST() local
272 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value); in TEST()
290 double min_x = -2.0; in TEST() local
292 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value); in TEST()
296 min_x = -2.0; in TEST()
298 MinimizePolynomial(polynomial, min_x, max_x, &optimal_x, &optimal_value); in TEST()
302 min_x = 2.0; in TEST()
[all …]
/external/mesa3d/src/gallium/state_trackers/vega/
Dpolygon.c265 VGfloat min_x, min_y, max_x, max_y; in polygon_fill() local
269 min_x = bounds[0]; in polygon_fill()
276 min_x, min_y, max_x, max_y); in polygon_fill()
300 renderer_polygon_fill(ctx->renderer, min_x, min_y, max_x, max_y); in polygon_fill()
307 VGfloat min_x = polyarray->min_x; in polygon_array_fill() local
319 min_x, min_y, max_x, max_y); in polygon_array_fill()
349 renderer_polygon_fill(ctx->renderer, min_x, min_y, max_x, max_y); in polygon_array_fill()
Dpolygon.h69 VGfloat min_x, max_x; member
Drenderer.h135 VGfloat min_x, VGfloat min_y,
Dpath.c324 VGfloat min_x, max_x; in polygon_array_calculate_bounds() local
332 polyarray->min_x = 0.0f; in polygon_array_calculate_bounds()
340 min_x = bounds[0]; in polygon_array_calculate_bounds()
347 min_x = MIN2(min_x, bounds[0]); in polygon_array_calculate_bounds()
353 polyarray->min_x = min_x; in polygon_array_calculate_bounds()
Dimage.c325 VGint min_x = children[0]->x; in image_destroy() local
330 if (child->x < min_x) { in image_destroy()
Drenderer.c1128 VGfloat min_x, VGfloat min_y, in renderer_polygon_fill() argument
1133 renderer_quad_pos(renderer, min_x, min_y, max_x, max_y, VG_TRUE); in renderer_polygon_fill()
/external/skia/bench/
Dbench_util.py270 min_x = Max
281 min_x = min(min_x, x)
311 self.min_x = min_x
327 regr_start = self.min_x
/external/opencv3/modules/imgproc/test/
Dtest_approxpoly.cpp127 int max_x = INT_MIN, max_y = INT_MIN, min_x = INT_MAX, min_y = INT_MAX; in get_contour() local
156 min_x = MIN( min_x, pt.x ); in get_contour()
160 *d = (max_x - min_x)*(max_x - min_x) + (max_y - min_y)*(max_y - min_y); in get_contour()
/external/pdfium/third_party/agg23/
Dagg_scanline_u.h55 void reset(int min_x, int max_x) in reset() argument
57 unsigned max_len = max_x - min_x + 2; in reset()
66 m_min_x = min_x; in reset()
Dagg_render_scanlines.h25 sl.reset(ras.min_x(), ras.max_x()); in render_scanlines()
26 ren.prepare(unsigned(ras.max_x() - ras.min_x() + 2)); in render_scanlines()
Dagg_rasterizer_scanline_aa.h81 int min_x() const in min_x() function
201 int min_x() const in min_x() function
203 return m_outline.min_x(); in min_x()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page.cpp398 FX_FLOAT min_x = 10000 * 1.0f; in CalcPositionData() local
437 if (min_x > char_left) { in CalcPositionData()
438 min_x = char_left; in CalcPositionData()
443 if (min_x > char_right) { in CalcPositionData()
444 min_x = char_right; in CalcPositionData()
459 if (min_x > char_rect.left) { in CalcPositionData()
460 min_x = (FX_FLOAT)char_rect.left; in CalcPositionData()
465 if (min_x > char_rect.right) { in CalcPositionData()
466 min_x = (FX_FLOAT)char_rect.right; in CalcPositionData()
500 min_x = min_x * fontsize / 1000; in CalcPositionData()
[all …]
/external/blktrace/btt/
Dbtt_plot.py153 min_x = max_x = min_y = max_y = None
166 (min_x, max_x, x) = check(min_x, max_x, f[0])
177 db['min_x'] = min_x
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_pattern.cpp375 int min_x, max_x, start_index, end_index; in DrawGouraud() local
377 min_x = (int)FXSYS_floor(inter_x[0]); in DrawGouraud()
382 min_x = (int)FXSYS_floor(inter_x[1]); in DrawGouraud()
387 int start_x = min_x, end_x = max_x; in DrawGouraud()
396 FX_FLOAT r_unit = (r[end_index] - r[start_index]) / (max_x - min_x); in DrawGouraud()
397 FX_FLOAT g_unit = (g[end_index] - g[start_index]) / (max_x - min_x); in DrawGouraud()
398 FX_FLOAT b_unit = (b[end_index] - b[start_index]) / (max_x - min_x); in DrawGouraud()
399 FX_FLOAT R = r[start_index] + (start_x - min_x) * r_unit; in DrawGouraud()
400 FX_FLOAT G = g[start_index] + (start_x - min_x) * g_unit; in DrawGouraud()
401 FX_FLOAT B = b[start_index] + (start_x - min_x) * b_unit; in DrawGouraud()
/external/autotest/client/site_tests/firmware_TouchMTB/
Dtouch_device.py157 min_x = int(result.group(1))
160 axis_x = AbsAxis(min_x, max_x, resolution_x)
Dmtb.py855 min_x = min_y = float('infinity')
861 min_x = min(min_x, x)
867 return (min_x, max_x, min_y, max_y)
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common.c113 int min_x, min_y, max_x, max_y; in radeonUpdateScissor() local
117 min_x = min_y = 0; in radeonUpdateScissor()
134 rmesa->state.scissor.rect.x1 = CLAMP(x1, min_x, max_x); in radeonUpdateScissor()
136 rmesa->state.scissor.rect.x2 = CLAMP(x2, min_x, max_x); in radeonUpdateScissor()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common.c113 int min_x, min_y, max_x, max_y; in radeonUpdateScissor() local
117 min_x = min_y = 0; in radeonUpdateScissor()
134 rmesa->state.scissor.rect.x1 = CLAMP(x1, min_x, max_x); in radeonUpdateScissor()
136 rmesa->state.scissor.rect.x2 = CLAMP(x2, min_x, max_x); in radeonUpdateScissor()
/external/pdfium/core/src/fxcrt/
Dfx_basic_coords.cpp225 FX_FLOAT min_x = pPoints->x, max_x = pPoints->x, min_y = pPoints->y, in GetBBox() local
228 if (min_x > pPoints[i].x) { in GetBBox()
229 min_x = pPoints[i].x; in GetBBox()
241 return CFX_FloatRect(min_x, min_y, max_x, max_y); in GetBBox()
/external/opencv/cvaux/src/
Dcvlee.cpp2267 float min_x = (float)999999999; in _cvConstructIntSites() local
2362 if(pNode1->node.x < min_x) in _cvConstructIntSites()
2364 min_x = pNode1->node.x; in _cvConstructIntSites()
/external/pdfium/core/src/fxge/agg/src/
Dfx_agg_driver.cpp293 FX_RECT path_rect(rasterizer.min_x(), rasterizer.min_y(), in SetClipMask()
/external/ceres-solver/docs/source/
Dsolving.rst26 .. math:: \arg \min_x \frac{1}{2}\|F(x)\|^2\ . \\
2170 .. math:: x^* = \arg \min_x \|f(x)\|^2
2194 .. math:: x^* = \arg \min_x f'(x) S^{-1} f(x)
Dmodeling.rst997 \min_x \frac{1}{2}\rho(f^2(x))