Home
last modified time | relevance | path

Searched refs:maxy (Results 1 – 25 of 51) sorted by relevance

123

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_scissor.c49 GLint miny, maxy; in update_scissor() local
54 scissor.maxy = fb->Height; in update_scissor()
68 if (ymax < (GLint) scissor.maxy) in update_scissor()
69 scissor.maxy = ymax; 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()
80 miny = fb->Height - scissor.maxy; in update_scissor()
81 maxy = fb->Height - scissor.miny; in update_scissor()
83 scissor.maxy = maxy; in update_scissor()
/external/libvncserver/examples/
Dzippy.c7 static int maxx=400, maxy=400, bpp=4; variable
28 if(!rfbProcessSizeArguments(&maxx,&maxy,&bpp,&argc,argv)) in main()
31 server = rfbGetScreen (&argc, argv, maxx, maxy, 8, 3, bpp); in main()
35 server->frameBuffer = (char*)malloc(maxx*maxy*bpp); in main()
42 blank_framebuffer(server->frameBuffer, 0, 0, maxx, maxy); in main()
52 for (i=0; i < maxx * maxy * bpp; i++) frame_buffer[i]=(char) 0; in blank_framebuffer()
126 for (i=maxy-4; i>maxy-20; i-=4) in linecount()
152 blank_framebuffer(cl->screen->frameBuffer, 0, 0, maxx, maxy); in on_key_press()
153 rfbDrawString(cl->screen,&default8x16Font,20,maxy-20,"Hello, World!",0xffffff); in on_key_press()
154 rfbMarkRectAsModified(cl->screen,0, 0,maxx,maxy); in on_key_press()
[all …]
Dexample.c38 static int maxx=800, maxy=600; variable
46 for(j=0;j<maxy;++j) { in initBuffer()
48 buffer[(j*maxx+i)*bpp+0]=(i+j)*128/(maxx+maxy); /* red */ in initBuffer()
50 buffer[(j*maxx+i)*bpp+2]=j*256/maxy; /* blue */ in initBuffer()
86 maxy = height; in newframebuffer()
88 newfb = (unsigned char*)malloc(maxx * maxy * bpp); in newframebuffer()
90 rfbNewFramebuffer(screen, (char*)newfb, maxx, maxy, 8, 3, bpp); in newframebuffer()
128 if(x>=0 && y>=0 && x<maxx && y<maxy) { in doptr()
144 y2=y+buttonMask; if(y2>maxy) y2=maxy; in doptr()
182 rfbMarkRectAsModified(cl->screen,0,0,maxx,maxy); in dokey()
[all …]
/external/opencv3/samples/cpp/
Dcreate_mask.cpp34 int minx,miny,maxx,maxy,lenx,leny; variable
85 maxy = max(maxy,pts[i].y); in mouseHandler()
88 leny = maxy - miny; 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
119 maxy = max(maxy,pts[i].y); in source()
122 leny = maxy - miny; in source()
179 minx = INT_MAX; miny = INT_MAX; maxx = INT_MIN; maxy = INT_MIN; in source()
302 minx = INT_MAX; miny = INT_MAX; maxx = INT_MIN; maxy = INT_MIN; in main()
477 maxy = max(maxy,pts[i].y); in main()
480 leny = maxy - miny; in main()
513 minx = INT_MAX; miny = INT_MAX; maxx = INT_MIN; maxy = INT_MIN; in main()
/external/libavc/encoder/
Dime_macros.h41 #define CLIP3(miny, maxy, y) (((y) < (miny))?(miny):(((y) > maxy)?(maxy):(y))) argument
/external/libvncserver/test/
Dcursortest.c28 static int maxx=800, maxy=600; variable
35 for(j=0;j<maxy;++j) { in initBuffer()
37 buffer[(j*maxx+i)*bpp+0]=(i+j)*128/(maxx+maxy); /* red */ in initBuffer()
39 buffer[(j*maxx+i)*bpp+2]=j*256/maxy; /* blue */ in initBuffer()
325 rfbScreenInfoPtr rfbScreen = rfbGetScreen(&argc,argv,maxx,maxy,8,3,bpp); in main()
330 rfbScreen->frameBuffer = (char*)malloc(maxx*maxy*bpp); in main()
/external/autotest/client/profilers/powertop/src/
Ddisplay.c87 int maxx, maxy; variable
94 getmaxyx(stdscr, maxy, maxx); in setup_windows()
102 timerstat_window = subwin(stdscr, maxy-16, maxx, 12, 0); in setup_windows()
103 maxtimerstats = maxy-16 -2; in setup_windows()
105 suggestion_window = subwin(stdscr, 3, maxx, maxy-4, 0); in setup_windows()
106 status_bar_window = subwin(stdscr, 1, maxx, maxy-1, 0); in setup_windows()
/external/opencv3/samples/cpp/tutorial_code/photo/seamless_cloning/
Dcloning_gui.cpp58 int minx, miny, maxx, maxy, lenx, leny; variable
118 maxy = max(maxy,pts[i].y); in source()
121 leny = maxy - miny; in source()
178 minx = INT_MAX; miny = INT_MAX; maxx = INT_MIN; maxy = INT_MIN; in source()
301 minx = INT_MAX; miny = INT_MAX; maxx = INT_MIN; maxy = INT_MIN; in main()
476 maxy = max(maxy,pts[i].y); in main()
479 leny = maxy - miny; in main()
512 minx = INT_MAX; miny = INT_MAX; maxx = INT_MIN; maxy = INT_MIN; in main()
/external/libavc/common/
Dih264_macros.h75 #define CLIP3(miny, maxy, y) (((y) < (miny))?(miny):(((y) > (maxy))?(maxy):(y))) argument
/external/fio/
Dgraph.c371 double miny, double maxy, int nticks, int add_tm_text) in graph_draw_y_ticks() argument
378 nticks = calc_tickmarks(miny, maxy, nticks, &tm, &power_of_ten, in graph_draw_y_ticks()
388 maxy = tm[nticks - 1].value; in graph_draw_y_ticks()
391 ty = y2 - (((tm[i].value) - miny) / (maxy - miny)) * (y2 - y1); in graph_draw_y_ticks()
433 return maxy; in graph_draw_y_ticks()
530 double minx, miny, maxx, maxy, gminx, gminy, gmaxx, gmaxy; in line_graph_draw() local
553 maxy = find_xy_value(g, gety, maxdouble); in line_graph_draw()
555 if (fabs(maxx - minx) < 1e-20 || fabs(maxy - miny) < 1e-20) { in line_graph_draw()
560 maxy = 100.0; in line_graph_draw()
569 top_extra = fabs(maxy - miny) * g->top_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
155 maxy = s->maxy; in nv50_validate_scissor()
160 maxy = nv50->framebuffer.height; in nv50_validate_scissor()
166 maxy = MIN2(maxy, (int)(vp->translate[1] + fabsf(vp->scale[1]))); in nv50_validate_scissor()
170 PUSH_DATA (push, (maxy << 16) | miny); in nv50_validate_scissor()
174 PUSH_DATA (push, (s->maxy << 16) | s->miny); in nv50_validate_scissor()
/external/mesa3d/src/gallium/state_trackers/vega/
Dpolygon.c195 float minx, miny, maxx, maxy; in polygon_bounding_rect() local
200 maxy = vert[1]; in polygon_bounding_rect()
208 maxy = MAX2(vert[1], maxy); in polygon_bounding_rect()
214 rect[3] = maxy - miny; 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
81 maxy = std::max(maxy,j); in seamlessClone()
87 int leny = maxy - miny; in seamlessClone()
/external/skia/src/effects/
DSkEmbossMask.cpp100 int maxy = mask->fBounds.height() - 1; in Emboss() local
104 for (int y = 0; y <= maxy; y++) { in Emboss()
105 int next_row = neq_to_mask(y, maxy) & rowBytes; in Emboss()
/external/opencv3/modules/features2d/src/
Devaluation.cpp247 dr(_dr), bua(0), bna(0), minx(_minx), miny(_miny), maxy(_maxy), in IntersectAreaCounter()
258 CV_Assert( miny < maxy ); in operator ()()
266 for( float ry1 = (float)miny; ry1 <= (float)maxy; ry1 += dr ) in operator ()()
291 int miny, maxy; member
355 … int maxy = (int)ceil(( keypoint1a.boundingBox.height > (diff.y+keypoint2a.boundingBox.height)) ? in computeOneToOneMatchedOverlaps() local
359 int mina = (maxx-minx) < (maxy-miny) ? (maxx-minx) : (maxy-miny) ; in computeOneToOneMatchedOverlaps()
364 … IntersectAreaCounter ac( dr, minx, miny, maxy, diff, keypoint1a.ellipse, keypoint2a.ellipse ); in computeOneToOneMatchedOverlaps()
/external/skia/samplecode/
DSampleClip.cpp87 const SkScalar maxy = 5*SkIntToScalar(H)/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/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_derived.c195 sp->cliprect.maxy = MIN2(sp->scissor.maxy, surfHeight); in compute_cliprect()
202 sp->cliprect.maxy = surfHeight; in compute_cliprect()
Dsp_setup.c134 const int maxy = (int) cliprect->maxy; in quad_clip() local
137 quad->input.y0 >= maxy || in quad_clip()
150 if (quad->input.y0 == maxy - 1) in quad_clip()
716 const int maxy = (int) cliprect->maxy; in subtriangle() local
729 if (finish_y > maxy) in subtriangle()
730 finish_y = maxy; in subtriangle()
/external/opencv/cv/src/
Dcvsegmentation.cpp458 int minx, miny, maxx, maxy; in cvPyrMeanShiftFiltering() local
467 maxy = cvRound(y0 + sp); maxy = MIN(maxy, size.height-1); in cvPyrMeanShiftFiltering()
470 for( y = miny; y <= maxy; y++, ptr += sstep - (maxx-minx+1)*3 ) in cvPyrMeanShiftFiltering()
/external/opencv3/modules/imgproc/src/
Dsegmentation.cpp461 int minx, miny, maxx, maxy; in pyrMeanShiftFiltering() local
470 maxy = cvRound(y0 + sp); maxy = MIN(maxy, size.height-1); in pyrMeanShiftFiltering()
473 for( y = miny; y <= maxy; y++, ptr += sstep - (maxx-minx+1)*3 ) in pyrMeanShiftFiltering()
/external/pdfium/third_party/freetype/src/raster/
Dftraster.c1001 Long maxy ) in Line_Up() argument
1013 if ( Dy <= 0 || y2 < miny || y1 > maxy ) in Line_Up()
1030 if ( y2 > maxy ) in Line_Up()
1033 e2 = (Int)TRUNC( maxy ); in Line_Up()
1140 Long maxy ) in Line_Down() argument
1147 result = Line_Up( RAS_VARS x1, -y1, x2, -y2, -maxy, -miny ); in Line_Down()
1185 Long maxy ) in Bezier_Up() argument
1201 if ( y2 < miny || y1 > maxy ) in Bezier_Up()
1206 if ( e2 > maxy ) in Bezier_Up()
1207 e2 = maxy; in Bezier_Up()
[all …]
/external/freetype/src/raster/
Dftraster.c1001 Long maxy ) in Line_Up() argument
1013 if ( Dy <= 0 || y2 < miny || y1 > maxy ) in Line_Up()
1030 if ( y2 > maxy ) in Line_Up()
1033 e2 = (Int)TRUNC( maxy ); in Line_Up()
1140 Long maxy ) in Line_Down() argument
1147 result = Line_Up( RAS_VARS x1, -y1, x2, -y2, -maxy, -miny ); in Line_Down()
1185 Long maxy ) in Bezier_Up() argument
1201 if ( y2 < miny || y1 > maxy ) in Bezier_Up()
1206 if ( e2 > maxy ) in Bezier_Up()
1207 e2 = maxy; in Bezier_Up()
[all …]
/external/opencv3/modules/cudaimgproc/src/cuda/
Dmean_shift.cu75 int maxy = y0+sp; in do_mean_shift() local
77 for( int y = miny; y <= maxy; y++) in do_mean_shift()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state_dynamic.c272 unsigned y2 = i915->scissor.maxy - 1; in upload_SCISSOR_RECT()

123