/external/replicaisland/tools/ |
D | ExtractPoints.js | 66 var tile = new Object; variable 67 tile.edges = new Array(); 111 tile.edges.push(edge); 116 tile.centerX = totalX; 117 tile.centerY = totalY; 119 var column = Math.floor(tile.centerX / tileSizeX); 120 var row = Math.floor(tile.centerY / tileSizeY); 122 tile.xOffset = column * tileSizeX; 123 tile.yOffset = row * tileSizeY; 125 tile.centerX -= tile.xOffset; [all …]
|
/external/dng_sdk/source/ |
D | dng_tile_iterator.cpp | 69 dng_rect tile (area); in dng_tile_iterator() local 71 tile.b = Min_int32 (tile.b, tile.t + tileSize.v); in dng_tile_iterator() 72 tile.r = Min_int32 (tile.r, tile.l + tileSize.h); in dng_tile_iterator() 74 Initialize (tile, in dng_tile_iterator() 81 dng_tile_iterator::dng_tile_iterator (const dng_rect &tile, in dng_tile_iterator() argument 99 Initialize (tile, in dng_tile_iterator() 106 void dng_tile_iterator::Initialize (const dng_rect &tile, in Initialize() argument 122 int32 vOffset = tile.t; in Initialize() 123 int32 hOffset = tile.l; in Initialize() 125 int32 tileHeight = tile.b - vOffset; in Initialize() [all …]
|
D | dng_utils.cpp | 424 dng_rect tile; in HistogramArea() local 428 while (iter.GetOneTile (tile)) in HistogramArea() 431 dng_const_tile_buffer buffer (image, tile); in HistogramArea() 433 const void *sPtr = buffer.ConstPixel (tile.t, in HistogramArea() 434 tile.l, in HistogramArea() 438 uint32 count1 = tile.H (); in HistogramArea() 439 uint32 count2 = tile.W (); in HistogramArea() 539 const dng_rect &tile, 563 const dng_rect &tile, in Process() argument 567 dng_const_tile_buffer srcBuffer (fSrcImage, tile); in Process() [all …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_rast_debug.c | 6 struct tile { struct 126 static void plot(struct tile *tile, in plot() argument 131 if (tile->data[x][y] == ' ') in plot() 132 tile->coverage++; in plot() 134 tile->overdraw++; in plot() 136 tile->data[x][y] = val; in plot() 147 struct tile *tile, in debug_shade_tile() argument 154 if (!tile->state) in debug_shade_tile() 157 blend = tile->state->variant->key.blend.rt[0].blend_enable; in debug_shade_tile() 164 plot(tile, i, j, val, blend); in debug_shade_tile() [all …]
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tile_cache.c | 118 tc->tile = MALLOC_STRUCT( softpipe_cached_tile ); in sp_create_tile_cache() 119 if (!tc->tile) in sp_create_tile_cache() 149 FREE( tc->tile ); in sp_destroy_tile_cache() 238 clear_tile_rgba(struct softpipe_cached_tile *tile, in clear_tile_rgba() argument 246 memset(tile->data.color, 0, sizeof(tile->data.color)); in clear_tile_rgba() 254 tile->data.colorui128[i][j][0] = clear_value->ui[0]; in clear_tile_rgba() 255 tile->data.colorui128[i][j][1] = clear_value->ui[1]; in clear_tile_rgba() 256 tile->data.colorui128[i][j][2] = clear_value->ui[2]; in clear_tile_rgba() 257 tile->data.colorui128[i][j][3] = clear_value->ui[3]; in clear_tile_rgba() 263 tile->data.colori128[i][j][0] = clear_value->i[0]; in clear_tile_rgba() [all …]
|
D | sp_tex_tile_cache.c | 207 struct softpipe_tex_cached_tile *tile; in sp_find_cached_tile_tex() local 210 tile = tc->entries + tex_cache_pos( addr ); in sp_find_cached_tile_tex() 212 if (addr.value != tile->addr.value) { in sp_find_cached_tile_tex() 223 pos, tile->addr.bits.x, tile->addr.bits.y, tile->z, tile->face, tile->level); in sp_find_cached_tile_tex() 270 (unsigned *) tile->data.colorui); in sp_find_cached_tile_tex() 278 (int *) tile->data.colori); in sp_find_cached_tile_tex() 286 (float *) tile->data.color); in sp_find_cached_tile_tex() 288 tile->addr = addr; in sp_find_cached_tile_tex() 291 tc->last_tile = tile; in sp_find_cached_tile_tex() 292 return tile; in sp_find_cached_tile_tex()
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_gmem.c | 275 struct fd_tile *tile = &ctx->tile[t]; in calculate_tiles() local 278 assert(t < ARRAY_SIZE(ctx->tile)); in calculate_tiles() 286 tile->n = tile_n[p]++; in calculate_tiles() 287 tile->p = p; in calculate_tiles() 288 tile->bin_w = bw; in calculate_tiles() 289 tile->bin_h = bh; in calculate_tiles() 290 tile->xoff = xoff; in calculate_tiles() 291 tile->yoff = yoff; in calculate_tiles() 305 struct fd_tile *tile = &ctx->tile[t++]; in calculate_tiles() 306 printf("|p:%u n:%u|", tile->p, tile->n); in calculate_tiles() [all …]
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | concatenate_test.py | 36 np.tile(np.array([[1], [2], [3], [4]]), 20), 37 np.tile(np.array([[12], [13], [14], [15]]), 15), 40 np.tile(np.array([[1], [2], [3], [4], [5]]), 20), 41 np.tile(np.array([[12], [13], [14], [15], [16]]), 15), 69 np.tile(np.array([[1], [2], [3], [4]]), 20), 70 np.tile(np.array([[12], [13], [14], [15]]), 4)) 72 np.tile(np.array([[1], [2], [3], [4], [5]]), 20), 73 np.tile(np.array([[12], [13], [14], [15], [16]]), 15)) 99 np.tile(np.array([[1], [2], [3], [4]]), 5), 100 np.tile(np.array([[12], [13], [14], [15]]), 4)) [all …]
|
/external/ImageMagick/MagickCore/ |
D | montage.c | 116 if (montage_info->tile != (char *) NULL) in CloneMontageInfo() 117 clone_info->tile=AcquireString(montage_info->tile); in CloneMontageInfo() 173 if (montage_info->tile != (char *) NULL) in DestroyMontageInfo() 174 montage_info->tile=DestroyString(montage_info->tile); in DestroyMontageInfo() 392 tile, in MontageImageList() local 445 for (tile=0; (ssize_t) tile <= i; tile++) in MontageImageList() 446 if (image_list[tile] != (Image *) NULL) in MontageImageList() 447 image_list[tile]=DestroyImage(image_list[tile]); in MontageImageList() 467 if (montage_info->tile != (char *) NULL) in MontageImageList() 468 GetMontageGeometry(montage_info->tile,number_images,&x_offset,&y_offset, in MontageImageList() [all …]
|
/external/libaom/libaom/av1/common/ |
D | tile_common.c | 17 void av1_tile_init(TileInfo *tile, const AV1_COMMON *cm, int row, int col) { in av1_tile_init() argument 18 av1_tile_set_row(tile, cm, row); in av1_tile_init() 19 av1_tile_set_col(tile, cm, col); in av1_tile_init() 123 void av1_tile_set_row(TileInfo *tile, const AV1_COMMON *cm, int row) { in av1_tile_set_row() argument 128 tile->tile_row = row; in av1_tile_set_row() 129 tile->mi_row_start = mi_row_start; in av1_tile_set_row() 130 tile->mi_row_end = AOMMIN(mi_row_end, cm->mi_rows); in av1_tile_set_row() 131 assert(tile->mi_row_end > tile->mi_row_start); in av1_tile_set_row() 134 void av1_tile_set_col(TileInfo *tile, const AV1_COMMON *cm, int col) { in av1_tile_set_col() argument 139 tile->tile_col = col; in av1_tile_set_col() [all …]
|
D | mvref_common.h | 75 static INLINE int is_inside(const TileInfo *const tile, int mi_col, int mi_row, in is_inside() argument 77 return !(mi_row + mi_pos->row < tile->mi_row_start || in is_inside() 78 mi_col + mi_pos->col < tile->mi_col_start || in is_inside() 79 mi_row + mi_pos->row >= tile->mi_row_end || in is_inside() 80 mi_col + mi_pos->col >= tile->mi_col_end); in is_inside() 83 static INLINE int find_valid_row_offset(const TileInfo *const tile, int mi_row, in find_valid_row_offset() argument 85 return clamp(row_offset, tile->mi_row_start - mi_row, in find_valid_row_offset() 86 tile->mi_row_end - mi_row - 1); in find_valid_row_offset() 89 static INLINE int find_valid_col_offset(const TileInfo *const tile, int mi_col, in find_valid_col_offset() argument 91 return clamp(col_offset, tile->mi_col_start - mi_col, in find_valid_col_offset() [all …]
|
D | tile_common.h | 34 void av1_tile_init(TileInfo *tile, const struct AV1Common *cm, int row, 37 void av1_tile_set_row(TileInfo *tile, const struct AV1Common *cm, int row); 38 void av1_tile_set_col(TileInfo *tile, const struct AV1Common *cm, int col); 40 int av1_get_sb_rows_in_tile(struct AV1Common *cm, TileInfo tile); 41 int av1_get_sb_cols_in_tile(struct AV1Common *cm, TileInfo tile);
|
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/ |
D | SubsamplingScaleImageView.java | 533 for (Tile tile : tileMapEntry.getValue()) { in reset() 534 tile.visible = false; in reset() 535 if (tile.bitmap != null) { in reset() 536 tile.bitmap.recycle(); in reset() 537 tile.bitmap = null; in reset() 1037 for (Tile tile : tileMapEntry.getValue()) { in onDraw() 1038 if (tile.visible && (tile.loading || tile.bitmap == null)) { in onDraw() 1048 for (Tile tile : tileMapEntry.getValue()) { in onDraw() 1049 sourceToViewRect(tile.sRect, tile.vRect); in onDraw() 1050 if (!tile.loading && tile.bitmap != null) { in onDraw() [all …]
|
D | ImageSource.java | 27 private boolean tile; field in ImageSource 37 this.tile = false; in ImageSource() 59 this.tile = true; in ImageSource() 66 this.tile = true; in ImageSource() 171 public ImageSource tiling(boolean tile) { in tiling() argument 172 this.tile = tile; in tiling() 207 this.tile = true; in setInvariants() 226 return tile; in getTile()
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_tile_common.c | 24 void vp9_tile_set_row(TileInfo *tile, const VP9_COMMON *cm, int row) { in vp9_tile_set_row() argument 25 tile->mi_row_start = get_tile_offset(row, cm->mi_rows, cm->log2_tile_rows); in vp9_tile_set_row() 26 tile->mi_row_end = get_tile_offset(row + 1, cm->mi_rows, cm->log2_tile_rows); in vp9_tile_set_row() 29 void vp9_tile_set_col(TileInfo *tile, const VP9_COMMON *cm, int col) { in vp9_tile_set_col() argument 30 tile->mi_col_start = get_tile_offset(col, cm->mi_cols, cm->log2_tile_cols); in vp9_tile_set_col() 31 tile->mi_col_end = get_tile_offset(col + 1, cm->mi_cols, cm->log2_tile_cols); in vp9_tile_set_col() 34 void vp9_tile_init(TileInfo *tile, const VP9_COMMON *cm, int row, int col) { in vp9_tile_init() argument 35 vp9_tile_set_row(tile, cm, row); in vp9_tile_init() 36 vp9_tile_set_col(tile, cm, col); in vp9_tile_init()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | layout_util_test.cc | 322 Tile* tile; in TEST_F() local 328 tile = shape.mutable_layout()->add_tiles(); in TEST_F() 329 tile->add_dimensions(512); in TEST_F() 330 tile->add_dimensions(1024); in TEST_F() 336 tile = shape.mutable_layout()->add_tiles(); in TEST_F() 337 tile->add_dimensions(512); in TEST_F() 343 tile = shape.mutable_layout()->add_tiles(); in TEST_F() 344 tile->add_dimensions(16); in TEST_F() 345 tile->add_dimensions(256); in TEST_F() 346 tile = shape.mutable_layout()->add_tiles(); in TEST_F() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_segmentation.c | 118 const TileInfo *tile, MODE_INFO **mi, in count_segs() argument 130 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); in count_segs() 155 const TileInfo *tile, MODE_INFO **mi, in count_segs_sb() argument 170 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count, in count_segs_sb() 173 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count, in count_segs_sb() 175 count_segs(cm, xd, tile, mi + hbs * mis, no_pred_segcounts, in count_segs_sb() 179 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count, in count_segs_sb() 181 count_segs(cm, xd, tile, mi + hbs, no_pred_segcounts, in count_segs_sb() 194 count_segs_sb(cm, xd, tile, &mi[mi_dr * mis + mi_dc], no_pred_segcounts, in count_segs_sb() 225 TileInfo tile; in vp9_choose_segmap_coding_method() local [all …]
|
/external/pdfium/third_party/libtiff/ |
D | tif_read.c | 38 int TIFFFillTile(TIFF* tif, uint32 tile); 40 static int TIFFStartTile(TIFF* tif, uint32 tile); 45 TIFFReadRawTile1(TIFF* tif, uint32 tile, void* buf, tmsize_t size, const char* module); 955 TIFFReadEncodedTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size) in TIFFReadEncodedTile() argument 963 if (tile >= td->td_nstrips) { in TIFFReadEncodedTile() 966 (unsigned long) tile, (unsigned long) td->td_nstrips); in TIFFReadEncodedTile() 976 if (TIFFReadRawTile1(tif, tile, buf, tilesize, module) != tilesize) in TIFFReadEncodedTile() 991 if (TIFFFillTile(tif, tile) && (*tif->tif_decodetile)(tif, in TIFFReadEncodedTile() 992 (uint8*) buf, size, (uint16)(tile/td->td_stripsperimage))) { in TIFFReadEncodedTile() 1025 _TIFFReadEncodedTileAndAllocBuffer(TIFF* tif, uint32 tile, in _TIFFReadEncodedTileAndAllocBuffer() argument [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_gmem.c | 104 fd2_emit_tile_gmem2mem(struct fd_batch *batch, struct fd_tile *tile) in fd2_emit_tile_gmem2mem() argument 166 OUT_RING(ring, A2XX_RB_COPY_DEST_OFFSET_X(tile->xoff) | in fd2_emit_tile_gmem2mem() 167 A2XX_RB_COPY_DEST_OFFSET_Y(tile->yoff)); in fd2_emit_tile_gmem2mem() 170 emit_gmem2mem_surf(batch, tile->bin_w * tile->bin_h, pfb->zsbuf); in fd2_emit_tile_gmem2mem() 227 fd2_emit_tile_mem2gmem(struct fd_batch *batch, struct fd_tile *tile) in fd2_emit_tile_mem2gmem() argument 233 unsigned bin_w = tile->bin_w; in fd2_emit_tile_mem2gmem() 234 unsigned bin_h = tile->bin_h; in fd2_emit_tile_mem2gmem() 243 x0 = ((float)tile->xoff) / ((float)pfb->width); in fd2_emit_tile_mem2gmem() 244 x1 = ((float)tile->xoff + bin_w) / ((float)pfb->width); in fd2_emit_tile_mem2gmem() 245 y0 = ((float)tile->yoff) / ((float)pfb->height); in fd2_emit_tile_mem2gmem() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/g3doc/ |
D | tiled_layout.md | 13 after the colon indicates tiling of the physical dimensions by a 2x2 tile. 15 Intuitively tiles are laid out to cover the shape and then within each tile, 24 ## Linear index formulas for tiling given a shape and a tile 37 For simplicity of notation in this document we assume a tile has the same number 64 corresponds to a tile index in an array of tiles of size 67 corresponds to a within-tile index. The ceil function appears in 72 For the example in Figure 1, element (2,3) has tile index (1,1), and within-tile 73 index (0,1), for a combined coordinate vector of (1, 1, 0, 1). The tile indices 74 have bounds (2, 3) and the tile itself is (2, 2) for a combined vector of (2, 3, 75 2, 2). The linear index with tile for the element with index (2, 3) in the [all …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | tilemgr.cpp | 55 MacroTileQueue &tile = mTiles[id]; in enqueue() local 56 tile.mWorkItemsFE++; in enqueue() 57 tile.mId = id; in enqueue() 59 if (tile.mWorkItemsFE == 1) in enqueue() 61 tile.clear(mArena); in enqueue() 62 mDirtyTiles.push_back(&tile); in enqueue() 66 tile.enqueue_try_nosync(mArena, pWork); in enqueue() 72 MacroTileQueue &tile = mTiles[id]; in markTileComplete() local 73 uint32_t numTiles = tile.mWorkItemsFE; in markTileComplete() 77 tile.mWorkItemsBE += numTiles; in markTileComplete() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowLinearGradient.java | 17 private Shader.TileMode tile; field in ShadowLinearGradient 21 float x0, float y0, float x1, float y1, int color0, int color1, Shader.TileMode tile) { in __constructor__() argument 28 this.tile = tile; in __constructor__() 56 return tile; in getTile()
|
/external/libdrm/libkms/ |
D | intel.c | 119 struct drm_i915_gem_set_tiling tile; in intel_bo_create() local 121 memset(&tile, 0, sizeof(tile)); in intel_bo_create() 122 tile.handle = bo->base.handle; in intel_bo_create() 123 tile.tiling_mode = I915_TILING_X; in intel_bo_create() 124 tile.stride = bo->base.pitch; in intel_bo_create() 126 ret = drmCommandWriteRead(kms->fd, DRM_I915_GEM_SET_TILING, &tile, sizeof(tile)); in intel_bo_create()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | decode_jpeg_op_test.py | 47 tile=None): argument 69 if tile is None: 77 tiled_image = array_ops.tile(single_image, tile) 168 tile = [4, 4, 1] 172 num_iters, tile) 174 'medium.jpg', parallelism, num_iters, False, crop_window, tile) 176 'medium.jpg', parallelism, num_iters, True, crop_window, tile)
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_linear.c | 91 t->tile.width = tile_width; in pipe_linear_fill_info() 92 t->tile.height = tile_height; in pipe_linear_fill_info() 93 t->cols = t->tile.width / t->block.width; in pipe_linear_fill_info() 94 t->rows = t->tile.height / t->block.height; in pipe_linear_fill_info() 95 t->tile.size = t->cols * t->rows * t->block.size; in pipe_linear_fill_info() 100 t->size = t->tiles_x * t->tiles_y * t->tile.size; in pipe_linear_fill_info()
|