HomeSort by: relevance | last modified time | path
    Searched refs:bbox (Results 1 - 25 of 60) sorted by relevancy

1 2 3

  /xsrc/external/mit/freetype/dist/src/tools/
test_bbox.c 23 /* test bbox computations */
90 /* dummy outline #3 with bbox of [0 100 128 128] precisely */
113 FT_BBox bbox; local
116 FT_Outline_Get_CBox( outline, &bbox );
118 XVAL( bbox.xMin ),
119 XVAL( bbox.yMin ),
120 XVAL( bbox.xMax ),
121 XVAL( bbox.yMax ) );
123 /* compute and display bbox */
124 FT_Outline_Get_BBox( outline, &bbox );
138 FT_BBox bbox; local
    [all...]
  /xsrc/external/mit/freetype/dist/src/base/
ftbbox.c 5 * FreeType bbox computation (body).
39 FT_BBox bbox; member in struct:TBBox_Rec_
44 #define FT_UPDATE_BBOX( p, bbox ) \
46 if ( p->x < bbox.xMin ) \
47 bbox.xMin = p->x; \
48 if ( p->x > bbox.xMax ) \
49 bbox.xMax = p->x; \
50 if ( p->y < bbox.yMin ) \
51 bbox.yMin = p->y; \
52 if ( p->y > bbox.yMax )
467 FT_BBox bbox = { 0x7FFFFFFFL, 0x7FFFFFFFL, local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
lp_setup_point.c 346 struct u_rect bbox; local
380 bbox.x0 = (x0 + (FIXED_ONE-1)) >> FIXED_ORDER;
381 bbox.x1 = (x0 + fixed_width + (FIXED_ONE-1)) >> FIXED_ORDER;
382 bbox.y0 = (y0 + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
383 bbox.y1 = (y0 + fixed_width + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
387 bbox.x1--;
388 bbox.y1--;
413 bbox.x0 = x0 >> FIXED_ORDER;
414 bbox.y0 = y0 >> FIXED_ORDER;
415 bbox.x1 = bbox.x0
    [all...]
lp_setup_context.h 172 scissor_planes_needed(boolean scis_planes[4], const struct u_rect *bbox,
176 scis_planes[0] = (bbox->x0 < scissor->x0);
178 scis_planes[1] = (bbox->x1 > scissor->x1);
180 scis_planes[2] = (bbox->y0 < scissor->y0);
182 scis_planes[3] = (bbox->y1 > scissor->y1);
221 const struct u_rect *bbox,
lp_setup_tri.c 277 struct u_rect bbox, bboxpos; local
316 bbox.x0 = MIN3(position->x[0], position->x[1], position->x[2]) >> FIXED_ORDER;
317 bbox.x1 = (MAX3(position->x[0], position->x[1], position->x[2]) - 1) >> FIXED_ORDER;
320 bbox.y0 = (MIN3(position->y[0], position->y[1], position->y[2]) + adj) >> FIXED_ORDER;
321 bbox.y1 = (MAX3(position->y[0], position->y[1], position->y[2]) - 1 + adj) >> FIXED_ORDER;
324 if (bbox.x1 < bbox.x0 ||
325 bbox.y1 < bbox.y0) {
331 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) {
    [all...]
lp_setup_line.c 292 struct u_rect bbox, bboxpos; local
560 bbox.x0 = (MIN4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER;
561 bbox.x1 = (MAX4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER;
562 bbox.y0 = (MIN4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
563 bbox.y1 = (MAX4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
567 bbox.x1--;
568 bbox.y1--;
571 if (bbox.x1 < bbox.x0 ||
572 bbox.y1 < bbox.y0)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
lp_setup_point.c 355 struct u_rect bbox; local
392 bbox.x0 = x[0] >> FIXED_ORDER;
393 bbox.x1 = (x[1] + (FIXED_ONE-1)) >> FIXED_ORDER;
394 bbox.y0 = (y[0] + adj) >> FIXED_ORDER;
395 bbox.y1 = (y[1] + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
399 bbox.x1--;
400 bbox.y1--;
425 bbox.x0 = x0 >> FIXED_ORDER;
426 bbox.y0 = y0 >> FIXED_ORDER;
427 bbox.x1 = bbox.x0
    [all...]
lp_setup_context.h 197 scissor_planes_needed(boolean scis_planes[4], const struct u_rect *bbox,
201 scis_planes[0] = (bbox->x0 < scissor->x0);
203 scis_planes[1] = (bbox->x1 > scissor->x1);
205 scis_planes[2] = (bbox->y0 < scissor->y0);
207 scis_planes[3] = (bbox->y1 > scissor->y1);
283 const struct u_rect *bbox,
lp_setup_tri.c 280 struct u_rect bbox, bboxpos; local
319 bbox.x0 = MIN3(position->x[0], position->x[1], position->x[2]) >> FIXED_ORDER;
320 bbox.x1 = (MAX3(position->x[0], position->x[1], position->x[2]) - 1) >> FIXED_ORDER;
323 bbox.y0 = (MIN3(position->y[0], position->y[1], position->y[2]) + adj) >> FIXED_ORDER;
324 bbox.y1 = (MAX3(position->y[0], position->y[1], position->y[2]) - 1 + adj) >> FIXED_ORDER;
327 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) {
333 bboxpos = bbox;
573 (bbox.x1 - bbox.x0) <= MAX_FIXED_LENGTH32 &&
574 (bbox.y1 - bbox.y0) <= MAX_FIXED_LENGTH32)
    [all...]
lp_setup_rect.c 260 struct u_rect bbox; local
307 bbox.x0 = (MIN3(x0, x1, x2) + (FIXED_ONE-1)) >> FIXED_ORDER;
308 bbox.x1 = (MAX3(x0, x1, x2) + (FIXED_ONE-1)) >> FIXED_ORDER;
309 bbox.y0 = (MIN3(y0, y1, y2) + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
310 bbox.y1 = (MAX3(y0, y1, y2) + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
314 bbox.x1--;
315 bbox.y1--;
318 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) {
324 u_rect_find_intersection(&setup->draw_regions[viewport_index], &bbox);
337 rect->box.x0 = bbox.x0
    [all...]
lp_setup_line.c 292 struct u_rect bbox, bboxpos; local
586 bbox.x0 = (MIN4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER;
587 bbox.x1 = (MAX4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER;
588 bbox.y0 = (MIN4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
589 bbox.y1 = (MAX4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
593 bbox.x1--;
594 bbox.y1--;
597 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) {
603 bboxpos = bbox;
718 return lp_setup_bin_triangle(setup, line, &bbox, &bboxpos, nr_planes, viewport_index)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/main/
framebuffer.c 318 * \param bbox Bounding box for the scissored viewport. Stored as xmin,
323 unsigned idx, int *bbox)
326 if (ctx->Scissor.ScissorArray[idx].X > bbox[0]) {
327 bbox[0] = ctx->Scissor.ScissorArray[idx].X;
329 if (ctx->Scissor.ScissorArray[idx].Y > bbox[2]) {
330 bbox[2] = ctx->Scissor.ScissorArray[idx].Y;
332 if (ctx->Scissor.ScissorArray[idx].X + ctx->Scissor.ScissorArray[idx].Width < bbox[1]) {
333 bbox[1] = ctx->Scissor.ScissorArray[idx].X + ctx->Scissor.ScissorArray[idx].Width;
335 if (ctx->Scissor.ScissorArray[idx].Y + ctx->Scissor.ScissorArray[idx].Height < bbox[3]) {
336 bbox[3] = ctx->Scissor.ScissorArray[idx].Y + ctx->Scissor.ScissorArray[idx].Height
388 int bbox[4]; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
framebuffer.c 336 * \param bbox Bounding box for the scissored viewport. Stored as xmin,
341 unsigned idx, int *bbox)
344 if (ctx->Scissor.ScissorArray[idx].X > bbox[0]) {
345 bbox[0] = ctx->Scissor.ScissorArray[idx].X;
347 if (ctx->Scissor.ScissorArray[idx].Y > bbox[2]) {
348 bbox[2] = ctx->Scissor.ScissorArray[idx].Y;
350 if (ctx->Scissor.ScissorArray[idx].X + ctx->Scissor.ScissorArray[idx].Width < bbox[1]) {
351 bbox[1] = ctx->Scissor.ScissorArray[idx].X + ctx->Scissor.ScissorArray[idx].Width;
353 if (ctx->Scissor.ScissorArray[idx].Y + ctx->Scissor.ScissorArray[idx].Height < bbox[3]) {
354 bbox[3] = ctx->Scissor.ScissorArray[idx].Y + ctx->Scissor.ScissorArray[idx].Height
406 int bbox[4]; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/core/core/
binner.cpp 359 // step to pixel center of top-left pixel of the triangle bbox
876 SIMDBBOX_T<SIMD_T> bbox; local
884 calcBoundingBoxIntVertical<SIMD_T, CT>(vXi, vYi, bbox);
898 Integer<SIMD_T> xmin = SIMD_T::add_epi32(bbox.xmin, SIMD_T::set1_epi32(127));
900 Integer<SIMD_T> xmax = SIMD_T::add_epi32(bbox.xmax, SIMD_T::set1_epi32(128));
905 Integer<SIMD_T> ymin = SIMD_T::add_epi32(bbox.ymin, SIMD_T::set1_epi32(127));
907 Integer<SIMD_T> ymax = SIMD_T::add_epi32(bbox.ymax, SIMD_T::set1_epi32(128));
947 // Make triangle bbox inclusive
948 bbox.xmax = SIMD_T::sub_epi32(bbox.xmax, SIMD_T::set1_epi32(1))
1424 SIMDBBOX_T<SIMD_T> bbox; local
1714 SIMDBBOX_T<SIMD_T> bbox; local
    [all...]
binner.h 81 /// @param bbox: fixed point bbox
87 SIMDBBOX_T<SIMD_T>& bbox)
112 /// rasterization expand bbox by 1/256; coverage will be correctly handled in the
123 bbox.xmin = vMinX;
124 bbox.xmax = vMaxX;
125 bbox.ymin = vMinY;
126 bbox.ymax = vMaxY;
  /xsrc/external/mit/xwd/dist/
multiVis.c 230 XRectangle bbox; /* bounding box of grabbed area */ local
232 bbox.x = x; /* init X rect for bounding box */
233 bbox.y = y;
234 bbox.width = width;
235 bbox.height = height;
244 if ((*vis_regions = make_region_list(disp, srcRootWinid, &bbox,
253 make_region_list(disp, srcRootWinid, &bbox, &hasNonDefault,
345 XRectangle bbox, /* bounding box of grabbed area */
375 Intersect bbox with visible part of region giving src rect & output
381 MIN(vis_reg->rects[rect].x2, bbox.width + bbox.x)
431 XRectangle bbox; \/* bounding box of grabbed area *\/ local
    [all...]
  /xsrc/external/mit/glu/dist/src/libnurbs/internals/
patchlist.h 51 void bbox();
ccw.cc 50 Subdivider::bbox( TrimVertex *a, TrimVertex *b, TrimVertex *c, int p ) function in class:Subdivider
52 return bbox( a->param[p], b->param[p], c->param[p],
93 switch( bbox( v2, v2next, v1next, 1 ) ) {
122 switch( bbox( v1, v1next, v2next, 1 ) ) {
206 switch( bbox( v2next, v2, v1next, 1 ) ) {
235 switch( bbox( v1next, v1, v2next, 1 ) ) {
319 switch( bbox( v2, v2next, v1next, 0 ) ) {
348 switch( bbox( v1, v1next, v2next, 0 ) ) {
432 switch( bbox( v2next, v2, v1next, 0 ) ) {
461 switch( bbox( v1next, v1, v2next, 0 ) )
511 Subdivider::bbox( REAL sa, REAL sb, REAL sc, REAL ta, REAL tb, REAL tc ) function in class:Subdivider
    [all...]
patch.h 69 void bbox( void );
89 REAL bpts[MAXORDER*MAXORDER*MAXCOORDS]; //bbox pts
  /xsrc/external/mit/xmh/dist/
Makefile.am 31 bbox.c \
32 bbox.h \
  /xsrc/external/mit/freetype/dist/src/autofit/
afloader.c 516 FT_BBox bbox; local
537 FT_Outline_Get_CBox( &gloader->base.outline, &bbox );
539 bbox.xMin = FT_PIX_FLOOR( bbox.xMin );
540 bbox.yMin = FT_PIX_FLOOR( bbox.yMin );
541 bbox.xMax = FT_PIX_CEIL( bbox.xMax );
542 bbox.yMax = FT_PIX_CEIL( bbox.yMax )
    [all...]
  /xsrc/external/mit/freetype/dist/src/cid/
cidobjs.c 433 cidface->bbox.xMin = cid->font_bbox.xMin >> 16;
434 cidface->bbox.yMin = cid->font_bbox.yMin >> 16;
436 cidface->bbox.xMax = ( cid->font_bbox.xMax + 0xFFFF ) >> 16;
437 cidface->bbox.yMax = ( cid->font_bbox.yMax + 0xFFFF ) >> 16;
442 cidface->ascender = (FT_Short)( cidface->bbox.yMax );
443 cidface->descender = (FT_Short)( cidface->bbox.yMin );
  /xsrc/external/mit/freetype/dist/src/type1/
t1objs.c 469 root->bbox.xMin = type1->font_bbox.xMin >> 16;
470 root->bbox.yMin = type1->font_bbox.yMin >> 16;
472 root->bbox.xMax = ( type1->font_bbox.xMax + 0xFFFF ) >> 16;
473 root->bbox.yMax = ( type1->font_bbox.yMax + 0xFFFF ) >> 16;
479 root->ascender = (FT_Short)( root->bbox.yMax );
480 root->descender = (FT_Short)( root->bbox.yMin );
488 (FT_Short)( root->bbox.xMax );
  /xsrc/external/mit/libXfont/dist/src/FreeType/
ftfuncs.c 902 FT_BBox *bbox,
920 bbox->xMax = *horiAdvance =
922 bbox->xMin =
925 bbox->yMin = FT_MulFix( face->bbox.yMin,
927 bbox->yMax = FT_MulFix( face->bbox.yMax,
931 bbox->xMax += slant * bbox->yMax;
932 bbox->xMin += slant * bbox->yMin
1079 FT_BBox bbox; local
    [all...]
  /xsrc/external/mit/libXfont2/dist/src/FreeType/
ftfuncs.c 904 FT_BBox *bbox,
922 bbox->xMax = *horiAdvance =
924 bbox->xMin =
927 bbox->yMin = FT_MulFix( face->bbox.yMin,
929 bbox->yMax = FT_MulFix( face->bbox.yMax,
933 bbox->xMax += slant * bbox->yMax;
934 bbox->xMin += slant * bbox->yMin
1081 FT_BBox bbox; local
    [all...]

Completed in 24 milliseconds

1 2 3