/external/libvncserver/examples/ |
D | example.c | 38 static int maxx=800, maxy=600; variable 47 for(i=0;i<maxx;++i) { in initBuffer() 48 buffer[(j*maxx+i)*bpp+0]=(i+j)*128/(maxx+maxy); /* red */ in initBuffer() 49 buffer[(j*maxx+i)*bpp+1]=i*128/maxx; /* green */ in initBuffer() 50 buffer[(j*maxx+i)*bpp+2]=j*256/maxy; /* blue */ in initBuffer() 52 buffer[j*maxx*bpp+0]=0xff; in initBuffer() 53 buffer[j*maxx*bpp+1]=0xff; in initBuffer() 54 buffer[j*maxx*bpp+2]=0xff; in initBuffer() 55 buffer[j*maxx*bpp+3]=0xff; in initBuffer() 85 maxx = width; in newframebuffer() [all …]
|
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() 127 for (j=0; j<4; j++) for (k=0; k < maxx; k++) { in linecount() 128 current_pixel = (i*j*maxx + k) * bpp; in linecount() 152 blank_framebuffer(cl->screen->frameBuffer, 0, 0, maxx, maxy); in on_key_press() 154 rfbMarkRectAsModified(cl->screen,0, 0,maxx,maxy); in on_key_press() [all …]
|
/external/autotest/client/profilers/powertop/src/ |
D | display.c | 87 int maxx, maxy; variable 94 getmaxyx(stdscr, maxy, maxx); in setup_windows() 98 title_bar_window = subwin(stdscr, 1, maxx, 0, 0); in setup_windows() 99 cstate_window = subwin(stdscr, 7, maxx, 2, 0); in setup_windows() 100 wakeup_window = subwin(stdscr, 1, maxx, 9, 0); in setup_windows() 101 battery_power_window = subwin(stdscr, 2, maxx, 10, 0); in setup_windows() 102 timerstat_window = subwin(stdscr, maxy-16, maxx, 12, 0); in setup_windows() 104 maxwidth = maxx - 18; 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/libvncserver/test/ |
D | cursortest.c | 28 static int maxx=800, maxy=600; variable 36 for(i=0;i<maxx;++i) { in initBuffer() 37 buffer[(j*maxx+i)*bpp+0]=(i+j)*128/(maxx+maxy); /* red */ in initBuffer() 38 buffer[(j*maxx+i)*bpp+1]=i*128/maxx; /* green */ 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/mesa3d/src/mesa/state_tracker/ |
D | st_atom_scissor.c | 53 scissor.maxx = fb->Width; in update_scissor() 66 if (xmax < (GLint) scissor.maxx) in update_scissor() 67 scissor.maxx = xmax; 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/ |
D | create_mask.cpp | 34 int minx,miny,maxx,maxy,lenx,leny; variable 83 maxx = max(maxx,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()
|
D | cloning_gui.cpp | 59 int minx, miny, maxx, maxy, lenx, leny; variable 117 maxx = max(maxx,pts[i].x); in source() 121 lenx = maxx - minx; 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() 475 maxx = max(maxx,pts[i].x); in main() 479 lenx = maxx - minx; in main() 513 minx = INT_MAX; miny = INT_MAX; maxx = INT_MIN; maxy = INT_MIN; in main()
|
/external/opencv3/samples/cpp/tutorial_code/photo/seamless_cloning/ |
D | cloning_gui.cpp | 58 int minx, miny, maxx, maxy, lenx, leny; variable 116 maxx = max(maxx,pts[i].x); in source() 120 lenx = maxx - minx; 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() 474 maxx = max(maxx,pts[i].x); in main() 478 lenx = maxx - minx; in main() 512 minx = INT_MAX; miny = INT_MAX; maxx = INT_MIN; maxy = INT_MIN; in main()
|
/external/fio/ |
D | graph.c | 315 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 542 maxx = find_xy_value(g, getx, maxdouble); in line_graph_draw() 555 if (fabs(maxx - minx) < 1e-20 || fabs(maxy - miny) < 1e-20) { in line_graph_draw() 559 maxx = 10.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() 578 gmaxx = maxx + right_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 153 maxx = s->maxx; in nv50_validate_scissor() 158 maxx = nv50->framebuffer.width; in nv50_validate_scissor() 164 maxx = MIN2(maxx, (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/mesa3d/src/gallium/state_trackers/vega/ |
D | polygon.c | 195 float minx, miny, maxx, maxy; in polygon_bounding_rect() local 198 maxx = vert[0]; in polygon_bounding_rect() 207 maxx = MAX2(vert[0], maxx); in polygon_bounding_rect() 213 rect[2] = maxx - minx; 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 79 maxx = std::max(maxx,i); in seamlessClone() 86 int lenx = maxx - minx; in seamlessClone()
|
/external/skia/src/effects/ |
D | SkEmbossMask.cpp | 101 int maxx = mask->fBounds.width() - 1; in Emboss() local 107 for (int x = 0; x <= maxx; x++) { in Emboss() 109 int nx = alpha[x + neq_to_one(x, maxx)] - alpha[x - nonzero_to_one(x)]; in Emboss()
|
/external/opencv/cv/src/ |
D | cvsegmentation.cpp | 458 int minx, miny, maxx, maxy; in cvPyrMeanShiftFiltering() local 466 maxx = cvRound(x0 + sp); maxx = MIN(maxx, size.width-1); in cvPyrMeanShiftFiltering() 470 for( y = miny; y <= maxy; y++, ptr += sstep - (maxx-minx+1)*3 ) in cvPyrMeanShiftFiltering() 474 for( ; x + 3 <= maxx; x += 4, ptr += 12 ) in cvPyrMeanShiftFiltering() 502 for( ; x <= maxx; x++, ptr += 3 ) in cvPyrMeanShiftFiltering()
|
/external/skia/samplecode/ |
D | SampleClip.cpp | 85 const SkScalar maxx = 5*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/ |
D | segmentation.cpp | 461 int minx, miny, maxx, maxy; in pyrMeanShiftFiltering() local 469 maxx = cvRound(x0 + sp); maxx = MIN(maxx, size.width-1); in pyrMeanShiftFiltering() 473 for( y = miny; y <= maxy; y++, ptr += sstep - (maxx-minx+1)*3 ) in pyrMeanShiftFiltering() 478 for( ; x + 3 <= maxx; x += 4, ptr += 12 ) in pyrMeanShiftFiltering() 506 for( ; x <= maxx; x++, ptr += 3 ) in pyrMeanShiftFiltering()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_derived.c | 194 sp->cliprect.maxx = MIN2(sp->scissor.maxx, surfWidth); in compute_cliprect() 201 sp->cliprect.maxx = surfWidth; in compute_cliprect()
|
D | sp_setup.c | 132 const int maxx = (int) cliprect->maxx; in quad_clip() local 136 if (quad->input.x0 >= maxx || in quad_clip() 148 if (quad->input.x0 == maxx - 1) in quad_clip() 714 const int maxx = (int) cliprect->maxx; in subtriangle() local 753 if (right > maxx) in subtriangle() 754 right = maxx; in subtriangle()
|
/external/opencv3/modules/cudaimgproc/src/cuda/ |
D | mean_shift.cu | 74 int maxx = x0+sp; in do_mean_shift() local 80 for( int x = minx; x <= maxx; x++ ) in do_mean_shift()
|
/external/opencv3/modules/features2d/src/ |
D | evaluation.cpp | 350 … int maxx = (int)ceil(( 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()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_dynamic.c | 271 unsigned x2 = i915->scissor.maxx - 1; in upload_SCISSOR_RECT()
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_state.h | 175 unsigned maxx:16; member
|
/external/opencv3/modules/calib3d/src/ |
D | fisheye.cpp | 553 double minx = DBL_MAX, miny = DBL_MAX, maxx = -DBL_MAX, maxy = -DBL_MAX; in estimateNewCameraMatrixForUndistortRectify() local 559 maxx = std::max(maxx, pptr[i][0]); in estimateNewCameraMatrixForUndistortRectify() 563 double minx = -DBL_MAX, miny = -DBL_MAX, maxx = DBL_MAX, maxy = DBL_MAX; in estimateNewCameraMatrixForUndistortRectify() 569 if (i % 4 == 3) maxx = std::min(maxx, pptr[i][0]); in estimateNewCameraMatrixForUndistortRectify() 574 double f2 = w * 0.5/(maxx - cn[0]); in estimateNewCameraMatrixForUndistortRectify()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_compositor.c | 650 result.x1 = MIN2(result.x1, s->scissor.maxx); in calc_drawn_area() 832 s->scissor.maxx = dst_clip->x1; in vl_compositor_set_dst_clip() 998 s->scissor.maxx = dst_surface->width; in vl_compositor_render()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_state_framebuffer.c | 469 rect.w = scissor->maxx - scissor->minx; /* + 1 ?? */ in emit_scissor_rect()
|