/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_scissor.c | 49 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/ |
D | zippy.c | 7 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 …]
|
D | example.c | 38 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/ |
D | create_mask.cpp | 34 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()
|
D | cloning_gui.cpp | 59 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/ |
D | ime_macros.h | 41 #define CLIP3(miny, maxy, y) (((y) < (miny))?(miny):(((y) > maxy)?(maxy):(y))) argument
|
/external/libvncserver/test/ |
D | cursortest.c | 28 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/ |
D | display.c | 87 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/ |
D | cloning_gui.cpp | 58 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/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
D | Sprite.java | 488 float maxy = vertices[Y1]; in getBoundingRectangle() local 502 maxy = maxy < vertices[Y2] ? vertices[Y2] : maxy; in getBoundingRectangle() 503 maxy = maxy < vertices[Y3] ? vertices[Y3] : maxy; in getBoundingRectangle() 504 maxy = maxy < vertices[Y4] ? vertices[Y4] : maxy; in getBoundingRectangle() 510 bounds.height = maxy - miny; in getBoundingRectangle()
|
D | PolygonSprite.java | 244 float maxy = vertices[1]; in getBoundingRectangle() local 252 maxy = maxy < y ? y : maxy; in getBoundingRectangle() 258 bounds.height = maxy - miny; in getBoundingRectangle()
|
/external/libavc/common/ |
D | ih264_macros.h | 75 #define CLIP3(miny, maxy, y) (((y) < (miny))?(miny):(((y) > (maxy))?(maxy):(y))) argument
|
/external/fio/ |
D | graph.c | 371 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/ |
D | nv50_state_validate.c | 143 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/ |
D | polygon.c | 195 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/ |
D | seamless_cloning.cpp | 58 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/ |
D | SkEmbossMask.cpp | 100 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/ |
D | evaluation.cpp | 247 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/ |
D | SampleClip.cpp | 87 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/ |
D | sp_state_derived.c | 195 sp->cliprect.maxy = MIN2(sp->scissor.maxy, surfHeight); in compute_cliprect() 202 sp->cliprect.maxy = surfHeight; in compute_cliprect()
|
/external/opencv/cv/src/ |
D | cvsegmentation.cpp | 458 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/ |
D | segmentation.cpp | 461 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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/raster/ |
D | ftraster.c | 1001 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/pdfium/third_party/freetype/src/raster/ |
D | ftraster.c | 1001 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/ |
D | ftraster.c | 1001 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 …]
|