Home
last modified time | relevance | path

Searched refs:maxx (Results 1 – 25 of 66) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/r600/
Dr600_viewport.c78 float tmp, minx, miny, maxx, maxy; in r600_get_scissor_from_viewport() local
83 maxx = vp->scale[0] + vp->translate[0]; in r600_get_scissor_from_viewport()
87 if (minx == -1 && miny == -1 && maxx == 1 && maxy == 1) { in r600_get_scissor_from_viewport()
89 scissor->maxx = scissor->maxy = GET_MAX_SCISSOR(rctx); in r600_get_scissor_from_viewport()
94 if (minx > maxx) { in r600_get_scissor_from_viewport()
96 minx = maxx; in r600_get_scissor_from_viewport()
97 maxx = tmp; in r600_get_scissor_from_viewport()
108 scissor->maxx = ceilf(maxx); in r600_get_scissor_from_viewport()
119 out->maxx = CLAMP(scissor->maxx, 0, max_scissor); in r600_clamp_scissor()
128 out->maxx = MIN2(out->maxx, clip->maxx); in r600_clip_scissor()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_viewport.c58 float tmp, minx, miny, maxx, maxy; in si_get_scissor_from_viewport() local
63 maxx = vp->scale[0] + vp->translate[0]; in si_get_scissor_from_viewport()
67 if (minx > maxx) { in si_get_scissor_from_viewport()
69 minx = maxx; in si_get_scissor_from_viewport()
70 maxx = tmp; in si_get_scissor_from_viewport()
81 scissor->maxx = ceilf(maxx); in si_get_scissor_from_viewport()
91 out->maxx = CLAMP(scissor->maxx, 0, SI_MAX_SCISSOR); in si_clamp_scissor()
100 out->maxx = MIN2(out->maxx, clip->maxx); in si_clip_scissor()
109 out->maxx = MAX2(out->maxx, in->maxx); in si_scissor_make_union()
122 final.maxx = final.maxy = SI_MAX_SCISSOR; in si_emit_one_scissor()
[all …]
/external/python/cpython3/Lib/curses/
Dtextpad.py52 maxy, maxx = self.win.getmaxyx()
54 self.maxx = maxx - 1
60 last = self.maxx
63 last = min(self.maxx, last+1)
74 while y < self.maxy or x < self.maxx:
101 if y < self.maxy or x < self.maxx:
113 self.win.move(y-1, self.maxx)
122 self.win.move(y, self.maxx)
124 if x < self.maxx:
169 for x in range(self.maxx+1):
/external/python/cpython2/Lib/curses/
Dtextpad.py52 maxy, maxx = self.win.getmaxyx()
54 self.maxx = maxx - 1
60 last = self.maxx
63 last = min(self.maxx, last+1)
74 while y < self.maxy or x < self.maxx:
101 if y < self.maxy or x < self.maxx:
113 self.win.move(y-1, self.maxx)
122 self.win.move(y, self.maxx)
124 if x < self.maxx:
169 for x in range(self.maxx+1):
/external/autotest/client/profilers/powertop/src/
Ddisplay.c87 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/mesa3d/src/gallium/drivers/vc4/
Dvc4_emit.c49 uint32_t minx, miny, maxx, maxy; in vc4_emit_state() local
53 maxx = MIN2(vp_maxx, job->draw_width); in vc4_emit_state()
58 maxx = MIN2(vp_maxx, vc4->scissor.maxx); in vc4_emit_state()
66 clip.clip_window_width_in_pixels = maxx - minx; in vc4_emit_state()
71 job->draw_max_x = MAX2(job->draw_max_x, maxx); in vc4_emit_state()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_scissor.c59 scissor[i].maxx = fb_width; in st_update_scissor()
72 if (xmax < (GLint) scissor[i].maxx) in st_update_scissor()
73 scissor[i].maxx = xmax; in st_update_scissor()
78 if (scissor[i].minx >= scissor[i].maxx || scissor[i].miny >= scissor[i].maxy) in st_update_scissor()
79 scissor[i].minx = scissor[i].miny = scissor[i].maxx = scissor[i].maxy = 0; in st_update_scissor()
125 new_rects[i].maxx = MAX2(rect->X + rect->Width, 0); in st_update_window_rectangles()
/external/python/cpython2/Modules/
Dimageop.c224 int maxx, maxy, x, y, len; in imageop_tovideo() local
231 if ( !PyArg_ParseTuple(args, "s#iii", &cp, &len, &width, &maxx, &maxy) ) in imageop_tovideo()
238 if ( !check_multiply_size(len, maxx, "max", maxy, "maxy", width) ) in imageop_tovideo()
247 memcpy(ncp, cp, maxx); /* Copy first line */ in imageop_tovideo()
248 ncp += maxx; in imageop_tovideo()
250 for(x=0; x<maxx; x++) { in imageop_tovideo()
251 i = y*maxx + x; in imageop_tovideo()
252 *ncp++ = ((int)cp[i] + (int)cp[i-maxx]) >> 1; in imageop_tovideo()
256 memcpy(ncp, cp, maxx*4); /* Copy first line */ in imageop_tovideo()
257 ncp += maxx*4; in imageop_tovideo()
[all …]
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_priv.h129 ctx->scissor.maxx = 0; in xa_scissor_reset()
138 unsigned maxx, unsigned maxy) in xa_scissor_update() argument
140 ctx->scissor.maxx = MAX2(ctx->scissor.maxx, maxx); in xa_scissor_update()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state_validate.c188 int minx, maxx, miny, maxy, i; in nv50_validate_scissor() local
214 maxx = s->maxx; in nv50_validate_scissor()
219 maxx = nv50->framebuffer.width; in nv50_validate_scissor()
225 maxx = MIN2(maxx, (int)(vp->translate[0] + fabsf(vp->scale[0]))); in nv50_validate_scissor()
230 maxx = MAX2(maxx, 0); in nv50_validate_scissor()
235 PUSH_DATA (push, (maxx << 16) | minx); in nv50_validate_scissor()
239 PUSH_DATA (push, (s->maxx << 16) | s->minx); in nv50_validate_scissor()
303 PUSH_DATA(push, (s->maxx << 16) | s->minx); in nv50_validate_window_rects()
/external/skia/src/effects/
DSkEmbossMask.cpp66 int maxx = mask->fBounds.width() - 1; in Emboss() local
72 for (int x = 0; x <= maxx; x++) { in Emboss()
73 int nx = alpha[x + neq_to_one(x, maxx)] - alpha[x - nonzero_to_one(x)]; in Emboss()
/external/skqp/src/effects/
DSkEmbossMask.cpp66 int maxx = mask->fBounds.width() - 1; in Emboss() local
72 for (int x = 0; x <= maxx; x++) { in Emboss()
73 int nx = alpha[x + neq_to_one(x, maxx)] - alpha[x - nonzero_to_one(x)]; in Emboss()
/external/ltp/testcases/realtime/lib/
Dlibstats.c317 int minx = 0, maxx = 0, miny = 0, maxy = 0; in stats_container_save() local
344 minx = maxx = data->records[0].x; in stats_container_save()
349 maxx = MAX(maxx, rec->x); in stats_container_save()
368 maxx + 1, maxy + 1, datfile, mode); in stats_container_save()
/external/fonttools/Lib/fontTools/cffLib/
Dwidth.py22 minx, maxx = keys[0], keys[-1]
27 missing = lambda x: start if x > maxx else total
28 domain = range(maxx, minx - 1, -1)
31 domain = range(minx, maxx + 1)
/external/skia/samplecode/
DSampleClip.cpp84 const SkScalar maxx = 5*SkIntToScalar(W)/4; in show_stroke() local
88 canvas->drawLine(randRange(rand, minx, maxx), randRange(rand, miny, maxy), in show_stroke()
89 randRange(rand, minx, maxx), randRange(rand, miny, maxy), in show_stroke()
/external/skqp/samplecode/
DSampleClip.cpp84 const SkScalar maxx = 5*SkIntToScalar(W)/4; in show_stroke() local
88 canvas->drawLine(randRange(rand, minx, maxx), randRange(rand, miny, maxy), in show_stroke()
89 randRange(rand, minx, maxx), randRange(rand, miny, maxy), in show_stroke()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_emit.c329 uint32_t minx, miny, maxx, maxy; in v3dX() local
333 maxx = MIN2(vp_maxx, job->draw_width); in v3dX()
338 maxx = MIN2(vp_maxx, vc5->scissor.maxx); in v3dX()
345 clip.clip_window_width_in_pixels = maxx - minx; in v3dX()
351 job->draw_max_x = MAX2(job->draw_max_x, maxx); in v3dX()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_derived.c269 sp->cliprect[i].maxx = MIN2(sp->scissors[i].maxx, surfWidth); in compute_cliprect()
276 sp->cliprect[i].maxx = surfWidth; in compute_cliprect()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.c639 int maxx = scissor->maxx; in fd3_emit_state() local
650 maxx = MIN2(maxx, (int)ceilf(vp->translate[0] + fabsf(vp->scale[0]))); in fd3_emit_state()
657 OUT_RING(ring, A3XX_GRAS_SC_WINDOW_SCISSOR_BR_X(maxx - 1) | in fd3_emit_state()
662 ctx->batch->max_scissor.maxx = MAX2(ctx->batch->max_scissor.maxx, maxx); in fd3_emit_state()
/external/python/cpython2/Demo/tkinter/guido/
Dss1.py132 maxx = maxy = 0
134 maxx = max(maxx, x)
136 return maxx, maxy
150 maxx, maxy = self.getsize()
151 width, height = maxx+1, maxy+1
518 maxx, maxy = self.sheet.getsize()
520 columns = max(columns, maxx)
/external/python/cpython3/Tools/demo/
Dss1.py135 maxx = maxy = 0
137 maxx = max(maxx, x)
139 return maxx, maxy
153 maxx, maxy = self.getsize()
154 width, height = maxx+1, maxy+1
503 maxx, maxy = self.sheet.getsize()
505 columns = max(columns, maxx)
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_gmem.c156 width = scissor->maxx - minx; in calculate_tiles()
463 unsigned maxx = tile->xoff + tile->bin_w; in skip_restore() local
466 return (minx >= scissor->minx) && (maxx <= scissor->maxx) && in skip_restore()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_emit.c252 OUT_RING(ring, xy2d(scissor->maxx, /* PA_SC_WINDOW_SCISSOR_BR */ in fd2_emit_state()
257 ctx->batch->max_scissor.maxx = MAX2(ctx->batch->max_scissor.maxx, scissor->maxx); in fd2_emit_state()
/external/u-boot/scripts/kconfig/
Dnconf.c953 int maxx, maxy; in show_menu() local
973 scale_menu(curses_menu, &maxy, &maxx); in show_menu()
974 maxx = min(maxx, mwin_max_cols-2); in show_menu()
978 maxx, in show_menu()
980 (mwin_max_cols-maxx)/2); in show_menu()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_draw.c278 ctx->batch->max_scissor.maxx = MAX2(ctx->batch->max_scissor.maxx, scissor->maxx); in fd5_clear()

123