/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_memory.c | 40 uint8_t lp_swizzled_cbuf[LP_MAX_THREADS][PIPE_MAX_COLOR_BUFS][TILE_SIZE * TILE_SIZE * 4]; 46 uint8_t lp_dummy_tile[TILE_SIZE * TILE_SIZE * 4];
|
lp_memory.h | 38 uint8_t lp_swizzled_cbuf[LP_MAX_THREADS][PIPE_MAX_COLOR_BUFS][TILE_SIZE * TILE_SIZE * 4]; 41 uint8_t lp_dummy_tile[TILE_SIZE * TILE_SIZE * 4];
|
lp_limits.h | 40 #define TILE_SIZE (1 << TILE_ORDER)
|
lp_surface.c | 45 *x_tile = x & ~(TILE_SIZE - 1); 46 *y_tile = y & ~(TILE_SIZE - 1); 47 *w_tile = ((x + width + TILE_SIZE - 1) & ~(TILE_SIZE - 1)) - *x_tile; 48 *h_tile = ((y + height + TILE_SIZE - 1) & ~(TILE_SIZE - 1)) - *y_tile; 106 for (y = 0; y < th; y += TILE_SIZE) { 107 for (x = 0; x < tw; x += TILE_SIZE) { 124 for (y = 0; y < th; y += TILE_SIZE) { 126 ty + y + TILE_SIZE <= dsty + height [all...] |
lp_tile_image.c | 41 #define BYTES_PER_TILE (TILE_SIZE * TILE_SIZE * 4) 136 assert(x % TILE_SIZE == 0); 137 assert(y % TILE_SIZE == 0); 138 /*assert(width % TILE_SIZE == 0); 139 assert(height % TILE_SIZE == 0);*/ 194 const uint tile_w = TILE_SIZE, tile_h = TILE_SIZE; 227 assert(x % TILE_SIZE == 0); 228 assert(y % TILE_SIZE == 0) [all...] |
lp_texture.c | 90 const unsigned tx = align(width, TILE_SIZE) / TILE_SIZE; 91 const unsigned ty = align(height, TILE_SIZE) / TILE_SIZE; 132 alignment = TILE_SIZE; 147 const unsigned width_t = align(width, TILE_SIZE) / TILE_SIZE; 148 const unsigned height_t = align(height, TILE_SIZE) / TILE_SIZE; 206 const unsigned width = align(lpr->base.width0, TILE_SIZE); [all...] |
lp_rast_priv.h | 109 * The tile size is TILE_SIZE x TILE_SIZE pixels. 155 assert(x < scene->tiles_x * TILE_SIZE); 156 assert(y < scene->tiles_y * TILE_SIZE); 187 assert(task->x < scene->tiles_x * TILE_SIZE); 188 assert(task->y < scene->tiles_y * TILE_SIZE); 189 assert(task->x % TILE_SIZE == 0); 190 assert(task->y % TILE_SIZE == 0); 227 assert(x < task->scene->tiles_x * TILE_SIZE); 228 assert(y < task->scene->tiles_y * TILE_SIZE); [all...] |
lp_rast_debug.c | 9 char data[TILE_SIZE][TILE_SIZE]; 150 for (i = 0; i < TILE_SIZE; i++) 151 for (j = 0; j < TILE_SIZE; j++) 154 return TILE_SIZE * TILE_SIZE; 165 for (i = 0; i < TILE_SIZE; i++) 166 for (j = 0; j < TILE_SIZE; j++) 169 return TILE_SIZE * TILE_SIZE; [all...] |
lp_tile_soa.h | 51 #define TILE_Y_STRIDE (TILE_VECTOR_HEIGHT * TILE_SIZE * TGSI_NUM_CHANNELS) //1024
|
lp_rast.c | 103 task->x = bin->x * TILE_SIZE; 104 task->y = bin->y * TILE_SIZE; 171 memset(ptr, clear_color[0], TILE_SIZE * TILE_SIZE * 4); 180 const unsigned chunk = TILE_SIZE / 4; 186 for (j = 0; j < 4 * TILE_SIZE; j++) { 218 const unsigned height = TILE_SIZE / TILE_VECTOR_HEIGHT; 219 const unsigned width = TILE_SIZE * TILE_VECTOR_HEIGHT; 230 * stripes of TILE_VECTOR_HEIGHT x TILE_SIZE at a time. 358 for (y = 0; y < TILE_SIZE; y += 4) [all...] |
lp_setup_tri.c | 588 if (dx < TILE_SIZE) 590 int ix0 = bbox->x0 / TILE_SIZE; 591 int iy0 = bbox->y0 / TILE_SIZE; 595 assert(iy0 == bbox->y1 / TILE_SIZE && 596 ix0 == bbox->x1 / TILE_SIZE); 603 assert(px + 4 <= TILE_SIZE); 604 assert(py + 4 <= TILE_SIZE); 621 px = MIN2(px, TILE_SIZE - 16); 622 py = MIN2(py, TILE_SIZE - 16); 624 assert(px + 16 <= TILE_SIZE); [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_tile_cache.h | 43 #define TILE_SIZE (1 << TILE_SIZE_LOG2) 54 unsigned x:TILE_ADDR_BITS; /* 16K / TILE_SIZE */ 55 unsigned y:TILE_ADDR_BITS; /* 16K / TILE_SIZE */ 66 float color[TILE_SIZE][TILE_SIZE][4]; 67 uint color32[TILE_SIZE][TILE_SIZE]; 68 uint depth32[TILE_SIZE][TILE_SIZE]; 69 ushort depth16[TILE_SIZE][TILE_SIZE] [all...] |
sp_tile_cache.c | 63 pos = addr.bits.y * (MAX_WIDTH / TILE_SIZE) + addr.bits.x; 64 assert(pos / 32 < (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE) / 32); 77 pos = addr.bits.y * (MAX_WIDTH / TILE_SIZE) + addr.bits.x; 78 assert(pos / 32 < (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE) / 32); 97 assert((TILE_SIZE << TILE_ADDR_BITS) >= MAX_WIDTH); 234 for (i = 0; i < TILE_SIZE; i++) { 235 for (j = 0; j < TILE_SIZE; j++) { 243 for (i = 0; i < TILE_SIZE; i++) [all...] |
sp_tex_tile_cache.h | 44 #define TILE_SIZE (1 << TILE_SIZE_LOG2) 55 unsigned x:TEX_ADDR_BITS; /* 16K / TILE_SIZE */ 56 unsigned y:TEX_ADDR_BITS; /* 16K / TILE_SIZE */ 70 float color[TILE_SIZE][TILE_SIZE][4]; 71 unsigned int colorui[TILE_SIZE][TILE_SIZE][4]; 72 int colori[TILE_SIZE][TILE_SIZE][4]; 142 addr.bits.x = x / TILE_SIZE; [all...] |
sp_tex_tile_cache.c | 53 assert((TILE_SIZE << TEX_ADDR_BITS) >= (1 << (SP_MAX_TEXTURE_2D_LEVELS-1))); 246 pos, x/TILE_SIZE, y/TILE_SIZE, z, face, level, 298 addr.bits.x * TILE_SIZE, 299 addr.bits.y * TILE_SIZE, 300 TILE_SIZE, 301 TILE_SIZE, 307 addr.bits.x * TILE_SIZE, 308 addr.bits.y * TILE_SIZE, 309 TILE_SIZE, [all...] |
sp_quad_depth_test_tmp.h | 62 ushort (*depth16)[TILE_SIZE]; 87 depth16 = (ushort (*)[TILE_SIZE]) 88 &tile->data.depth16[iy % TILE_SIZE][(ix + dx)% TILE_SIZE]; 133 depth16 = (ushort (*)[TILE_SIZE]) &depth16[0][2];
|
sp_quad_depth_test.c | 68 int x = quad->input.x0 % TILE_SIZE + (j & 1); 69 int y = quad->input.y0 % TILE_SIZE + (j >> 1); 75 int x = quad->input.x0 % TILE_SIZE + (j & 1); 76 int y = quad->input.y0 % TILE_SIZE + (j >> 1); 83 int x = quad->input.x0 % TILE_SIZE + (j & 1); 84 int y = quad->input.y0 % TILE_SIZE + (j >> 1); 92 int x = quad->input.x0 % TILE_SIZE + (j & 1); 93 int y = quad->input.y0 % TILE_SIZE + (j >> 1); 100 int x = quad->input.x0 % TILE_SIZE + (j & 1); 101 int y = quad->input.y0 % TILE_SIZE + (j >> 1) [all...] |
/external/opencv/cv/src/ |
cvsnakes.cpp | 106 #define TILE_SIZE (WTILE_SIZE + 2) 107 short dx[TILE_SIZE*TILE_SIZE], dy[TILE_SIZE*TILE_SIZE]; 108 CvMat _dx = cvMat( TILE_SIZE, TILE_SIZE, CV_16SC1, dx ); 109 CvMat _dy = cvMat( TILE_SIZE, TILE_SIZE, CV_16SC1, dy ); 146 pX.init_deriv( TILE_SIZE+2, CV_8UC1, CV_16SC1, 1, 0, 3 ) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapRegionDecoderTest.java | 74 private static int TILE_SIZE = 256; 81 private int[] mExpectedColors = new int [TILE_SIZE * TILE_SIZE]; 82 private int[] mActualColors = new int [TILE_SIZE * TILE_SIZE]; 318 Rect subset = new Rect(0, 0, TILE_SIZE, TILE_SIZE); 329 // divides evenly into TILE_SIZE. 330 assertEquals(0, TILE_SIZE % sampleSize); 331 int scaledDim = TILE_SIZE / sampleSize [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
AsyncListUtilLayoutTest.java | 48 private static final int TILE_SIZE = 5; 96 String.class, TILE_SIZE, mDataCallback, mViewCallback); 112 mEndPrefetch = TILE_SIZE * 2; 120 mStartPrefetch = TILE_SIZE * 2; 121 mEndPrefetch = TILE_SIZE * 3; 161 return value - value % TILE_SIZE + TILE_SIZE; 165 return ((start + size - 1) / TILE_SIZE) - (start / TILE_SIZE) + 1;
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
TiledTexture.java | 42 private static final int TILE_SIZE = CONTENT_SIZE + 2 * BORDER_SIZE; 126 mTextureWidth = TILE_SIZE; 127 mTextureHeight = TILE_SIZE; 146 if (x > 0) sCanvas.drawLine(x - 1, 0, x - 1, TILE_SIZE, sPaint); 147 if (y > 0) sCanvas.drawLine(0, y - 1, TILE_SIZE, y - 1, sPaint); 148 if (r < CONTENT_SIZE) sCanvas.drawLine(r, 0, r, TILE_SIZE, sPaint); 149 if (b < CONTENT_SIZE) sCanvas.drawLine(0, b, TILE_SIZE, b, sPaint); 243 sUploadBitmap = Bitmap.createBitmap(TILE_SIZE, TILE_SIZE, Config.ARGB_8888);
|
/external/opencv3/modules/imgproc/src/opencl/ |
moments.cl | 3 #if TILE_SIZE != 32 14 int x_min = x0*TILE_SIZE; 15 int ypix = y0*TILE_SIZE + y; 16 __local int mom[TILE_SIZE][10]; 18 if (x_min < src_cols && y0*TILE_SIZE < src_rows) 22 int x_max = min(src_cols - x_min, TILE_SIZE);
|
/external/opencv3/modules/imgproc/src/ |
moments.cpp | 484 const int TILE_SIZE = 32; 488 format("-D TILE_SIZE=%d%s", 489 TILE_SIZE, 497 int xtiles = (sz.width + TILE_SIZE-1)/TILE_SIZE; 498 int ytiles = (sz.height + TILE_SIZE-1)/TILE_SIZE; 502 size_t globalsize[] = {xtiles, sz.height}, localsize[] = {1, TILE_SIZE}; 511 double x = (i % xtiles)*TILE_SIZE, y = (i / xtiles)*TILE_SIZE; [all...] |
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
AsyncListUtilActivity.java | 112 private static final int TILE_SIZE = 5; 117 super(String.class, TILE_SIZE,
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
AsyncListUtilTest.java | 37 private static final int TILE_SIZE = 10; 57 String.class, TILE_SIZE, mDataCallback, mViewCallback); 190 assertEquals(Math.min(TILE_SIZE, mDataItemCount - startPosition), itemCount);
|