Home
last modified time | relevance | path

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

123

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dapi.h49 int32_t xmax; ///< exclusive member
57 this->xmax == rhs.xmax);
69 this->xmax = std::min(this->xmax, other.xmax); in Intersect()
72 if (xmax - xmin < 0 || in Intersect()
76 ymin = ymax = xmin = xmax = 0; in Intersect()
90 this->xmax = std::max(this->xmax, other.xmax); in Union()
105 xmax += x; in Translate()
Dbinner.cpp103 bbox.xmax = vMaxX; in calcBoundingBoxIntVertical()
136 bbox.xmax = _simd_add_epi32(vMaxX, _simd_set1_epi32(CT::BoundingBoxOffsetT::value)); in calcBoundingBoxIntVertical()
340 scisXmax = _simd_set_epi32(pScissorsInFixedPoint[pViewportIndex[0]].xmax, in Gather()
341 pScissorsInFixedPoint[pViewportIndex[1]].xmax, in Gather()
342 pScissorsInFixedPoint[pViewportIndex[2]].xmax, in Gather()
343 pScissorsInFixedPoint[pViewportIndex[3]].xmax, in Gather()
344 pScissorsInFixedPoint[pViewportIndex[4]].xmax, in Gather()
345 pScissorsInFixedPoint[pViewportIndex[5]].xmax, in Gather()
346 pScissorsInFixedPoint[pViewportIndex[6]].xmax, in Gather()
347 pScissorsInFixedPoint[pViewportIndex[7]].xmax); in Gather()
[all …]
Drasterizer.cpp613 scissor.xmax = std::min(triBBox.xmax, scissorBBox.xmax); in ComputeScissorEdges()
619 POS topRight{scissor.xmax, scissor.ymin}; in ComputeScissorEdges()
620 POS bottomRight{scissor.xmax, scissor.ymax}; in ComputeScissorEdges()
630 …vEdgeFix16[5] = _mm256_set1_pd((rastEdges[5].a * (x - scissor.xmax)) + (rastEdges[5].b * (y - scis… in ComputeScissorEdges()
631 …vEdgeFix16[6] = _mm256_set1_pd((rastEdges[6].a * (x - scissor.xmax)) + (rastEdges[6].b * (y - scis… in ComputeScissorEdges()
660 POS topRight{scissor.xmax, scissor.ymin}; in ComputeScissorEdges()
661 POS bottomRight{scissor.xmax, scissor.ymax}; in ComputeScissorEdges()
671 …vEdgeFix16[5] = _mm256_set1_pd((rastEdges[5].a * (x - scissor.xmax)) + (rastEdges[5].b * (y - scis… in ComputeScissorEdges()
672 …vEdgeFix16[6] = _mm256_set1_pd((rastEdges[6].a * (x - scissor.xmax)) + (rastEdges[6].b * (y - scis… in ComputeScissorEdges()
986 bbox.xmin--; bbox.xmax++; bbox.ymin--; bbox.ymax++; in RasterizeTriangle()
[all …]
/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/lisa/libs/utils/analysis/
Didle_analysis.py200 xmax = 0.0
206 if xmax < max_time:
207 xmax = max_time
209 self._plotIdleStateResidency(residencies, 'cpu', xmax, pct=pct)
234 xmax = 0.0
240 if xmax < max_time:
241 xmax = max_time
243 self._plotIdleStateResidency(residencies, 'cluster', xmax, pct=pct)
249 def _plotIdleStateResidency(self, residencies, entity_name, xmax, argument
296 axes.set_xlim(0, 1.05*xmax)
Dfrequency_analysis.py377 xmax = 0.0
383 if xmax < max_time:
384 xmax = max_time
386 self._plotFrequencyResidency(residencies, 'cpu', xmax, pct, active)
432 xmax = 0.0
440 if xmax < max_time:
441 xmax = max_time
443 self._plotFrequencyResidency(residencies, 'cluster', xmax, pct, active)
521 is_first, is_last, xmax, title=''): argument
552 axes.set_xlim(0, 1.05*xmax)
[all …]
/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.c194 GLint xmin, xmax, ymin, ymax, iy; in sprite_point() local
204 xmax = (GLint) (x + iRadius); in sprite_point()
212 xmax = xmin + iSize - 1; in sprite_point()
228 span.end = xmax - xmin + 1; in sprite_point()
312 const GLint xmax = (GLint) (x + radius); in smooth_point() local
322 span.end = xmax - xmin + 1; in smooth_point()
325 for (ix = xmin; ix <= xmax; ix++) { in smooth_point()
410 GLint xmin, xmax, ymin, ymax, ix, iy; in large_point() local
419 xmax = (GLint) (x + iRadius); in large_point()
427 xmax = xmin + iSize - 1; in large_point()
[all …]
Ds_span.c705 const GLint xmax = ctx->DrawBuffer->_Xmax; in clip_span() local
722 mask[i] &= (x[i] >= xmin) & (x[i] < xmax) in clip_span()
730 mask[i] = (x[i] >= xmin) & (x[i] < xmax) in clip_span()
744 if (y < ymin || y >= ymax || x + n <= xmin || x >= xmax) { in clip_span()
750 if (x + n > xmax) { in clip_span()
751 assert(x < xmax); in clip_span()
752 n = span->end = xmax - x; in clip_span()
817 assert(span->x + span->end <= xmax); in clip_span()
/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/drivers/dri/i965/
Dgen6_scissor_state.c78 scissor[i].xmax = 0; in gen6_upload_scissor_state()
84 scissor[i].xmax = bbox[1] - 1; in gen6_upload_scissor_state()
91 scissor[i].xmax = bbox[1] - 1; in gen6_upload_scissor_state()
Dgen6_viewport_state.c40 float *xmin, float *xmax, in brw_calculate_guardband_size() argument
105 *xmax = ndc_gb_xmax; in brw_calculate_guardband_size()
111 *xmax = 0.0f; in brw_calculate_guardband_size()
167 &clv[i].xmin, &clv[i].xmax, in gen6_upload_sf_and_clip_viewports()
Dbrw_structs.h438 unsigned xmax:16; member
604 float xmax; member
630 int16_t xmax; member
660 float xmax; member
Dbrw_sf_state.c101 sfv->scissor.xmax = 0; in upload_sf_vp()
107 sfv->scissor.xmax = ctx->DrawBuffer->_Xmax - 1; in upload_sf_vp()
114 sfv->scissor.xmax = ctx->DrawBuffer->_Xmax - 1; in upload_sf_vp()
Dgen7_viewport_state.c80 &vp[i].guardband.xmax, in gen7_upload_sf_clip_viewport()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_scissor.c64 GLint xmax = MAX2(0, ctx->Scissor.ScissorArray[i].X + ctx->Scissor.ScissorArray[i].Width); in update_scissor() local
72 if (xmax < (GLint) scissor[i].maxx) in update_scissor()
73 scissor[i].maxx = xmax; in update_scissor()
Dst_cb_bitmap.c91 GLint xmin, ymin, xmax, ymax; member
363 cache->xmax = -1000000; in reset_cache()
435 assert(cache->xmin <= cache->xmax); in st_flush_bitmap_cache()
439 cache->xmax - cache->xmin, in st_flush_bitmap_cache()
527 if (x + width > cache->xmax) in accum_bitmap()
528 cache->xmax = x + width; in accum_bitmap()
/external/python/cpython2/Modules/
Dimageop.c22 #define CHARP(cp, xmax, x, y) ((char *)(cp+y*xmax+x)) argument
23 #define SHORTP(cp, xmax, x, y) ((short *)(cp+2*(y*xmax+x))) argument
24 #define LONGP(cp, xmax, x, y) ((Py_Int32 *)(cp+4*(y*xmax+x))) argument
/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()

123