Home
last modified time | relevance | path

Searched refs:minx (Results 1 – 25 of 39) sorted by relevance

12

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_scissor.c51 scissor.minx = 0; in update_scissor()
61 if (ctx->Scissor.X > (GLint)scissor.minx) in update_scissor()
62 scissor.minx = ctx->Scissor.X; in update_scissor()
72 if (scissor.minx >= scissor.maxx || scissor.miny >= scissor.maxy) in update_scissor()
73 scissor.minx = scissor.miny = scissor.maxx = scissor.maxy = 0; in update_scissor()
/external/opencv3/samples/cpp/
Dcreate_mask.cpp34 int minx,miny,maxx,maxy,lenx,leny; variable
82 minx = min(minx,pts[i].x); in mouseHandler()
87 lenx = maxx - minx; in mouseHandler()
118 minx = INT_MAX; miny = INT_MAX; maxx = INT_MIN; maxy = INT_MIN; in mouseHandler()
135 minx = INT_MAX; miny = INT_MAX; maxx = INT_MIN; maxy = INT_MIN; in main()
Dcloning_gui.cpp59 int minx, miny, maxx, maxy, lenx, leny; variable
116 minx = min(minx,pts[i].x); in source()
121 lenx = maxx - minx; in source()
124 int mid_pointx = minx + lenx/2; in source()
179 minx = INT_MAX; miny = INT_MAX; maxx = INT_MIN; maxy = INT_MIN; in source()
240 for(int j=minx,l=minxd ;j<(minx+lenx);j++,l++) in destination()
302 minx = INT_MAX; miny = INT_MAX; maxx = INT_MIN; maxy = INT_MIN; in main()
474 minx = min(minx,pts[i].x); in main()
479 lenx = maxx - minx; in main()
482 int mid_pointx = minx + lenx/2; in main()
[all …]
/external/opencv3/samples/cpp/tutorial_code/photo/seamless_cloning/
Dcloning_gui.cpp58 int minx, miny, maxx, maxy, lenx, leny; variable
115 minx = min(minx,pts[i].x); in source()
120 lenx = maxx - minx; in source()
123 int mid_pointx = minx + lenx/2; in source()
178 minx = INT_MAX; miny = INT_MAX; maxx = INT_MIN; maxy = INT_MIN; in source()
239 for(int j=minx,l=minxd ;j<(minx+lenx);j++,l++) in destination()
301 minx = INT_MAX; miny = INT_MAX; maxx = INT_MIN; maxy = INT_MIN; in main()
473 minx = min(minx,pts[i].x); in main()
478 lenx = maxx - minx; in main()
481 int mid_pointx = minx + lenx/2; in main()
[all …]
/external/mesa3d/src/gallium/state_trackers/vega/
Dpolygon.c195 float minx, miny, maxx, maxy; in polygon_bounding_rect() local
197 minx = vert[0]; in polygon_bounding_rect()
204 minx = MIN2(vert[0], minx); in polygon_bounding_rect()
211 rect[0] = minx; in polygon_bounding_rect()
213 rect[2] = maxx - minx; in polygon_bounding_rect()
/external/opencv3/modules/photo/src/
Dseamless_cloning.cpp58 int minx = INT_MAX, miny = INT_MAX, maxx = INT_MIN, maxy = INT_MIN; in seamlessClone() local
78 minx = std::min(minx,i); in seamlessClone()
86 int lenx = maxx - minx; in seamlessClone()
99 Rect roi_s(miny,minx,leny,lenx); in seamlessClone()
/external/fio/
Dgraph.c315 double minx, double maxx, int nticks, int add_tm_text) in graph_draw_x_ticks() argument
322 nticks = calc_tickmarks(minx, maxx, nticks, &tm, &power_of_ten, in graph_draw_x_ticks()
328 tx = (((tm[i].value) - minx) / (maxx - minx)) * (x2 - x1) + x1; in graph_draw_x_ticks()
530 double minx, miny, maxx, maxy, gminx, gminy, gmaxx, gmaxy; in line_graph_draw() local
541 minx = find_xy_value(g, getx, mindouble); in line_graph_draw()
555 if (fabs(maxx - minx) < 1e-20 || fabs(maxy - miny) < 1e-20) { in line_graph_draw()
557 minx = 0.0; in line_graph_draw()
573 left_extra = fabs(maxx - minx) * g->left_extra; in line_graph_draw()
575 right_extra = fabs(maxx - minx) * g->right_extra; in line_graph_draw()
577 gminx = minx - left_extra; in line_graph_draw()
[all …]
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_state_validate.c143 int minx, maxx, miny, maxy; in nv50_validate_scissor() local
152 minx = s->minx; in nv50_validate_scissor()
157 minx = 0; in nv50_validate_scissor()
163 minx = MAX2(minx, (int)(vp->translate[0] - fabsf(vp->scale[0]))); in nv50_validate_scissor()
169 PUSH_DATA (push, (maxx << 16) | minx); in nv50_validate_scissor()
173 PUSH_DATA (push, (s->maxx << 16) | s->minx); in nv50_validate_scissor()
/external/opencv/cv/src/
Dcvsegmentation.cpp458 int minx, miny, maxx, maxy; in cvPyrMeanShiftFiltering() local
464 minx = cvRound(x0 - sp); minx = MAX(minx, 0); in cvPyrMeanShiftFiltering()
468 ptr = sptr + (miny - i)*sstep + (minx - j)*3; in cvPyrMeanShiftFiltering()
470 for( y = miny; y <= maxy; y++, ptr += sstep - (maxx-minx+1)*3 ) in cvPyrMeanShiftFiltering()
473 x = minx; in cvPyrMeanShiftFiltering()
/external/opencv3/modules/features2d/src/
Devaluation.cpp247 dr(_dr), bua(0), bna(0), minx(_minx), miny(_miny), maxy(_maxy), in IntersectAreaCounter()
264 float rx1 = minx + i*dr; in operator ()()
290 int minx; member
352 … int minx = (int)floor((-keypoint1a.boundingBox.width < (diff.x-keypoint2a.boundingBox.width)) ? in computeOneToOneMatchedOverlaps() local
359 int mina = (maxx-minx) < (maxy-miny) ? (maxx-minx) : (maxy-miny) ; in computeOneToOneMatchedOverlaps()
363 int N = (int)floor((float)(maxx - minx) / dr); in computeOneToOneMatchedOverlaps()
364 … IntersectAreaCounter ac( dr, minx, miny, maxy, diff, keypoint1a.ellipse, keypoint2a.ellipse ); in computeOneToOneMatchedOverlaps()
/external/skia/samplecode/
DSampleClip.cpp84 const SkScalar minx = -SkIntToScalar(W)/4; in show_stroke() local
89 canvas->drawLine(randRange(rand, minx, maxx), randRange(rand, miny, maxy), in show_stroke()
90 randRange(rand, minx, maxx), randRange(rand, miny, maxy), in show_stroke()
/external/opencv3/modules/imgproc/src/
Dsegmentation.cpp461 int minx, miny, maxx, maxy; in pyrMeanShiftFiltering() local
467 minx = cvRound(x0 - sp); minx = MAX(minx, 0); in pyrMeanShiftFiltering()
471 ptr = sptr + (miny - i)*sstep + (minx - j)*3; in pyrMeanShiftFiltering()
473 for( y = miny; y <= maxy; y++, ptr += sstep - (maxx-minx+1)*3 ) in pyrMeanShiftFiltering()
476 x = minx; in pyrMeanShiftFiltering()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_derived.c192 sp->cliprect.minx = MAX2(sp->scissor.minx, 0); in compute_cliprect()
199 sp->cliprect.minx = 0; in compute_cliprect()
Dsp_setup.c131 const int minx = (int) cliprect->minx; in quad_clip() local
138 quad->input.x0 + 1 < minx || in quad_clip()
144 if (quad->input.x0 < minx) in quad_clip()
713 const int minx = (int) cliprect->minx; in subtriangle() local
751 if (left < minx) in subtriangle()
752 left = minx; in subtriangle()
/external/opencv3/modules/cudaimgproc/src/cuda/
Dmean_shift.cu72 int minx = x0-sp; in do_mean_shift() local
80 for( int x = minx; x <= maxx; x++ ) in do_mean_shift()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c467 rect.x = scissor->minx; in emit_scissor_rect()
469 rect.w = scissor->maxx - scissor->minx; /* + 1 ?? */ in emit_scissor_rect()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state_dynamic.c269 unsigned x1 = i915->scissor.minx; in upload_SCISSOR_RECT()
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h173 unsigned minx:16; member
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_state_validate.c239 PUSH_DATA (push, ((s->maxx - s->minx) << 16) | s->minx); in nv30_validate_scissor()
/external/opencv3/modules/calib3d/src/
Dfisheye.cpp553 double minx = DBL_MAX, miny = DBL_MAX, maxx = -DBL_MAX, maxy = -DBL_MAX; in estimateNewCameraMatrixForUndistortRectify() local
558 minx = std::min(minx, pptr[i][0]); in estimateNewCameraMatrixForUndistortRectify()
563 double minx = -DBL_MAX, miny = -DBL_MAX, maxx = DBL_MAX, maxy = DBL_MAX; in estimateNewCameraMatrixForUndistortRectify()
568 if (i % 4 == 2) minx = std::max(minx, pptr[i][0]); in estimateNewCameraMatrixForUndistortRectify()
573 double f1 = w * 0.5/(cn[0] - minx); in estimateNewCameraMatrixForUndistortRectify()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_compositor.c648 result.x0 = MAX2(result.x0, s->scissor.minx); in calc_drawn_area()
830 s->scissor.minx = dst_clip->x0; in vl_compositor_set_dst_clip()
996 s->scissor.minx = 0; in vl_compositor_render()
/external/mesa3d/src/gallium/drivers/trace/
Dtr_dump_state.c216 trace_dump_member(uint, state, minx); in trace_dump_scissor_state()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_emit.c773 OUT_CS((scissor->minx << R300_CLIPRECT_X_SHIFT) | in r300_emit_scissor_state()
778 OUT_CS(((scissor->minx + 1440) << R300_CLIPRECT_X_SHIFT) | in r300_emit_scissor_state()
/external/mesa3d/src/gallium/auxiliary/util/
Du_dump_state.c390 util_dump_member(stream, uint, state, minx); in util_dump_scissor_state()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_state_validate.c209 PUSH_DATA(push, (s->maxx << 16) | s->minx); in nvc0_validate_scissor()

12