Searched refs:FIXED_ORDER (Results 1 - 11 of 11) sorted by relevance
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_rast_tri_tmp.h | 59 mask &= ~BUILD_MASK_LINEAR(((c[j] - 1) >> (int64_t)FIXED_ORDER), 60 -plane[j].dcdx >> FIXED_ORDER, 61 plane[j].dcdy >> FIXED_ORDER); 69 int64_t new_c = (c[j]) + ((IMUL64(task->scene->fixed_sample_pos[s][1], plane[j].dcdy) + IMUL64(task->scene->fixed_sample_pos[s][0], -plane[j].dcdx)) >> FIXED_ORDER); 72 build_mask = BUILD_MASK_LINEAR((int32_t)((new_c - 1) >> (int64_t)FIXED_ORDER), 73 -plane[j].dcdx >> FIXED_ORDER, 74 plane[j].dcdy >> FIXED_ORDER); 110 int32_t dcdx = -plane[j].dcdx >> FIXED_ORDER; 111 int32_t dcdy = plane[j].dcdy >> FIXED_ORDER; 112 const int32_t cox = plane[j].eo >> FIXED_ORDER; [all...] |
| H A D | lp_setup_point.c | 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; 420 int_width = fixed_width >> FIXED_ORDER; 425 bbox.x0 = x0 >> FIXED_ORDER; 426 bbox.y0 = y0 >> FIXED_ORDER; 432 bbox.x0 = (x0 >> FIXED_ORDER) - (int_width - 1)/2; 433 bbox.y0 = (y0 >> FIXED_ORDER) - (int_width - 1)/2; 436 bbox.x0 = ((x0 + FIXED_ONE/2) >> FIXED_ORDER) [all...] |
| H A D | lp_rast.h | 53 #define FIXED_ORDER 8 macro 54 #define FIXED_ONE (1<<FIXED_ORDER) 63 #define MAX_FIXED_LENGTH (1 << (((FIXED_TYPE_WIDTH/2) - 1) - FIXED_ORDER)) 65 #define MAX_FIXED_LENGTH32 (1 << (((32/2) - 1) - FIXED_ORDER))
|
| H A D | lp_setup_tri.c | 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; 529 dcdx = _mm_slli_epi32(dcdx, FIXED_ORDER); 530 dcdy = _mm_slli_epi32(dcdy, FIXED_ORDER); 569 * as the allowed fb size is tiny if FIXED_ORDER is 8. 634 dcdx = vec_slli_epi32(dcdx, FIXED_ORDER); 635 dcdy = vec_slli_epi32(dcdy, FIXED_ORDER); 701 assert((plane[i].dcdx << FIXED_ORDER) >> FIXED_ORDE [all...] |
| H A D | lp_setup_line.c | 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;
|
| H A D | lp_setup_rect.c | 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;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_rast_tri_tmp.h | 54 mask &= ~BUILD_MASK_LINEAR(((c[j] - 1) >> (int64_t)FIXED_ORDER), 55 -plane[j].dcdx >> FIXED_ORDER, 56 plane[j].dcdy >> FIXED_ORDER); 89 int32_t dcdx = -plane[j].dcdx >> FIXED_ORDER; 90 int32_t dcdy = plane[j].dcdy >> FIXED_ORDER; 91 const int32_t cox = plane[j].eo >> FIXED_ORDER; 94 const int32_t co = (int32_t)(c[j] >> (int64_t)FIXED_ORDER) + cox_s; 96 cdiff = ei - cox_s + ((int32_t)((c[j] - 1) >> (int64_t)FIXED_ORDER) - 97 (int32_t)(c[j] >> (int64_t)FIXED_ORDER)); 206 * Strip off lower FIXED_ORDER bit [all...] |
| H A D | lp_rast.h | 52 #define FIXED_ORDER 8 macro 53 #define FIXED_ONE (1<<FIXED_ORDER) 62 #define MAX_FIXED_LENGTH (1 << (((FIXED_TYPE_WIDTH/2) - 1) - FIXED_ORDER)) 64 #define MAX_FIXED_LENGTH32 (1 << (((32/2) - 1) - FIXED_ORDER))
|
| H A D | lp_setup_point.c | 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; 408 int_width = fixed_width >> FIXED_ORDER; 413 bbox.x0 = x0 >> FIXED_ORDER; 414 bbox.y0 = y0 >> FIXED_ORDER; 420 bbox.x0 = (x0 >> FIXED_ORDER) - (int_width - 1)/2; 421 bbox.y0 = (y0 >> FIXED_ORDER) - (int_width - 1)/2; 424 bbox.x0 = ((x0 + FIXED_ONE/2) >> FIXED_ORDER) [all...] |
| H A D | lp_setup_tri.c | 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; 455 dcdx = _mm_slli_epi32(dcdx, FIXED_ORDER); 456 dcdy = _mm_slli_epi32(dcdy, FIXED_ORDER); 495 * as the allowed fb size is tiny if FIXED_ORDER is 8. 560 dcdx = vec_slli_epi32(dcdx, FIXED_ORDER); 561 dcdy = vec_slli_epi32(dcdy, FIXED_ORDER); 627 assert((plane[i].dcdx << FIXED_ORDER) >> FIXED_ORDE [all...] |
| H A D | lp_setup_line.c | 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;
|
Completed in 15 milliseconds