Home
last modified time | relevance | path

Searched refs:xmax (Results 1 – 25 of 47) sorted by relevance

12

/external/pdfium/third_party/agg23/
Dagg_renderer_base.h76 int xmax() const in xmax() function
118 if(x1 > xmax()) { in blend_hline()
127 if(x2 > xmax()) { in blend_hline()
128 x2 = xmax(); in blend_hline()
150 if(x + len > xmax()) { in blend_solid_hspan()
151 len = xmax() - x + 1; in blend_solid_hspan()
Dagg_renderer_scanline.h48 int xmax = m_ren->xmax(); in render() local
69 if(x + len > xmax) { in render()
70 len = xmax - x + 1; in render()
/external/libdrm/tests/planetest/
Dbo.c26 uint32_t i, j, xmax = x + width, ymax = y + height; in draw_rect_yuv() local
28 if (xmax > bo->width) in draw_rect_yuv()
29 xmax = bo->width; in draw_rect_yuv()
36 for (j = x; j < xmax; j++) in draw_rect_yuv()
43 for (j = x; j < xmax / 2; j++) { in draw_rect_yuv()
61 uint32_t i, j, xmax = x + width, ymax = y + height; in draw_rect() local
63 if (xmax > bo->width) in draw_rect()
64 xmax = bo->width; in draw_rect()
71 for (j = x; j < xmax; j++) { in draw_rect()
/external/ltp/tools/pounder21/src/randacoords/
Dcoords.c52 unsigned long xmax, ymax; in main() local
60 xmax = atoi(argv[1]); in main()
67 x = 1 + (unsigned long)((float)xmax * (rand() / (RAND_MAX + 1.0f))); in main()
/external/mesa3d/src/mesa/swrast/
Ds_points.c195 GLint xmin, xmax, ymin, ymax, iy; in sprite_point() local
205 xmax = (GLint) (x + iRadius); in sprite_point()
213 xmax = xmin + iSize - 1; in sprite_point()
229 span.end = xmax - xmin + 1; in sprite_point()
313 const GLint xmax = (GLint) (x + radius); in smooth_point() local
323 span.end = xmax - xmin + 1; in smooth_point()
326 for (ix = xmin; ix <= xmax; ix++) { in smooth_point()
411 GLint xmin, xmax, ymin, ymax, ix, iy; in large_point() local
420 xmax = (GLint) (x + iRadius); in large_point()
428 xmax = xmin + iSize - 1; in large_point()
[all …]
Ds_span.c704 const GLint xmax = ctx->DrawBuffer->_Xmax; in clip_span() local
721 mask[i] &= (x[i] >= xmin) & (x[i] < xmax) in clip_span()
729 mask[i] = (x[i] >= xmin) & (x[i] < xmax) in clip_span()
743 if (y < ymin || y >= ymax || x + n <= xmin || x >= xmax) { in clip_span()
749 if (x + n > xmax) { in clip_span()
750 ASSERT(x < xmax); in clip_span()
751 n = span->end = xmax - x; in clip_span()
816 ASSERT(span->x + span->end <= xmax); in clip_span()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_scissor_state.c64 scissor->xmax = 0; in gen6_upload_scissor_state()
70 scissor->xmax = ctx->DrawBuffer->_Xmax - 1; in gen6_upload_scissor_state()
77 scissor->xmax = ctx->DrawBuffer->_Xmax - 1; in gen6_upload_scissor_state()
Dbrw_sf_state.c95 sfv->scissor.xmax = 0; in upload_sf_vp()
101 sfv->scissor.xmax = ctx->DrawBuffer->_Xmax - 1; in upload_sf_vp()
108 sfv->scissor.xmax = ctx->DrawBuffer->_Xmax - 1; in upload_sf_vp()
Dgen7_viewport_state.c48 vp->guardband.xmax = 1.0; in gen7_upload_sf_clip_viewport()
Dbrw_state_dump.c317 vp->scissor.xmax, vp->scissor.ymax); in dump_sf_viewport_state()
330 batch_out(brw, name, offset, 1, "xmax = %f\n", vp->xmax); in dump_clip_viewport_state()
351 batch_out(brw, name, offset, 7, "guardband xmax = %f\n", vp->guardband.xmax); in dump_sf_clip_viewport_state()
437 scissor->xmax, scissor->ymax); in dump_scissor()
Dgen6_viewport_state.c51 vp->xmax = 1.0; in gen6_upload_clip_vp()
/external/libgsm/src/
Drpe.c267 word xmax, xmaxc, temp, temp1, temp2; variable
274 xmax = 0;
278 if (temp > xmax) xmax = temp;
285 temp = SASR( xmax, 9 );
301 xmaxc = gsm_add( SASR(xmax, temp), exp << 3 );
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_scissor.c58 GLint xmax = MAX2(0, ctx->Scissor.X + ctx->Scissor.Width); in update_scissor() local
66 if (xmax < (GLint) scissor.maxx) in update_scissor()
67 scissor.maxx = xmax; in update_scissor()
Dst_cb_bitmap.c92 GLint xmin, ymin, xmax, ymax; member
566 cache->xmax = -1000000; in reset_cache()
644 assert(cache->xmin <= cache->xmax); in st_flush_bitmap_cache()
737 if (x + width > cache->xmax) in accum_bitmap()
738 cache->xmax = x + width; in accum_bitmap()
/external/opencv/cv/src/
Dcvshapedescr.cpp1141 int xmin = 0, ymin = 0, xmax = -1, ymax = -1, i, j, k; in cvBoundingRect() local
1206 if( j > xmax ) in cvBoundingRect()
1207 xmax = j; in cvBoundingRect()
1212 xmax -= offset; in cvBoundingRect()
1222 if( j > xmax ) in cvBoundingRect()
1223 xmax = j; in cvBoundingRect()
1227 k_min = MAX(j-1, xmax); in cvBoundingRect()
1241 xmax = k; in cvBoundingRect()
1259 xmax += offset; in cvBoundingRect()
1283 xmin = xmax = pt.x; in cvBoundingRect()
[all …]
Dcvimgwarp.cpp210 int cn, int xmax, \
221 xmax *= cn; \
250 for( dx = 0; dx < xmax; dx++ ) \
420 int cn, int xmin, int xmax, \
427 xmin *= cn; xmax *= cn; \
486 for( ; dx < xmax; dx++ ) \
583 int cn, int xmax, const CvResizeAlpha* xofs,
589 int cn, int xmin, int xmax,
806 int xmax = dsize.width, width = dsize.width*cn, buf_size; in cvResize() local
846 if( xmax >= dsize.width ) in cvResize()
[all …]
/external/mesa3d/src/gallium/state_trackers/vega/
Dbezier.c584 float xmax = bez->x1; in bezier_bounds() local
590 else if (bez->x2 > xmax) in bezier_bounds()
591 xmax = bez->x2; in bezier_bounds()
594 else if (bez->x3 > xmax) in bezier_bounds()
595 xmax = bez->x3; in bezier_bounds()
598 else if (bez->x4 > xmax) in bezier_bounds()
599 xmax = bez->x4; in bezier_bounds()
616 bounds[2] = xmax - xmin; /* width */ in bezier_bounds()
/external/libvncserver/examples/android/jni/
Dfbvncserver.c58 static int xmin, xmax; variable
157 xmax = info.maximum; in init_touch()
313 if (xmin != 0 && xmax != 0 && ymin != 0 && ymax != 0) in injectTouchEvent()
315 x = xmin + (x * (xmax - xmin)) / (scrinfo.xres); in injectTouchEvent()
/external/libvncserver/libvncserver/
Drfbregion.c588 int xmin=((unsigned int)(int)-1)>>1,ymin=xmin,xmax=1-xmin,ymax=xmax; in sraRgnBBox() local
605 if(hcurr->end>xmax) in sraRgnBBox()
606 xmax=hcurr->end; in sraRgnBBox()
613 if(xmax<xmin || ymax<ymin) in sraRgnBBox()
616 return sraRgnCreateRect(xmin,ymin,xmax,ymax); in sraRgnBBox()
/external/e2fsprogs/intl/
Dxsize.h88 xmax (size_t size1, size_t size2) in xmax() function
/external/bison/lib/
Dxsize.h91 xmax (size_t size1, size_t size2) in xmax() function
/external/sfntly/cpp/src/sfntly/table/core/
Dfont_header_table.cc205 void FontHeaderTable::Builder::SetXMax(int32_t xmax) { in SetXMax() argument
206 InternalWriteData()->WriteShort(Offset::kXMax, xmax); in SetXMax()
/external/libjpeg-turbo/
Drdrle.c118 width = source->header.xmax - source->header.xmin + 1; in start_input_rle()
121 source->header.xmax = width-1; in start_input_rle()
/external/libopus/celt/
Dpitch.c315 opus_val32 xmax, ymax; in pitch_search() local
337 xmax = celt_maxabs16(x_lp4, len>>2); in pitch_search()
339 shift = celt_ilog2(MAX32(1, MAX32(xmax, ymax)))-11; in pitch_search()
/external/ltp/testcases/realtime/tools/
Dftqviz.py114 xlim(xmin=-3000, xmax=3000)

12