/external/dng_sdk/source/ |
H A D | dng_tile_iterator.cpp | 69 dng_rect tile (area); 71 tile.b = Min_int32 (tile.b, tile.t + tileSize.v); 72 tile.r = Min_int32 (tile.r, tile.l + tileSize.h); 74 Initialize (tile, 81 dng_tile_iterator::dng_tile_iterator (const dng_rect &tile, argument 99 Initialize (tile, 106 Initialize(const dng_rect &tile, const dng_rect &area) argument 150 GetOneTile(dng_rect &tile) argument [all...] |
H A D | dng_opcodes.cpp | 473 const dng_rect &tile, 479 dng_pixel_buffer buffer(tile, 0, fImage.Planes (), fPixelType, 492 tile, 472 Process(uint32 threadIndex, const dng_rect &tile, dng_abort_sniffer * ) argument
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_linear.h | 61 /* size of each tile expressed in blocks */ 65 /* Describe the tile in pixels */ 66 struct u_linear_format_block tile; member in struct:pipe_tile_info 68 /* Describe each block within the tile */ 82 * @tile_width the width of the tile in pixels 83 * @tile_height the height of the tile in pixels 94 if (t->tile.size != t->block.size * t->cols * t->rows)
|
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/ |
H A D | transpose.hpp | 63 __shared__ src_type tile[TILE_DIM][TILE_DIM + 1]; local 89 tile[threadIdx.y + i][threadIdx.x] = src(yIndex + i, xIndex); 105 dst(yIndex + i, xIndex) = saturate_cast<DstType>(tile[threadIdx.x][threadIdx.y + i]);
|
/external/libdrm/libkms/ |
H A D | intel.c | 123 struct drm_i915_gem_set_tiling tile; local 125 memset(&tile, 0, sizeof(tile)); 126 tile.handle = bo->base.handle; 127 tile.tiling_mode = I915_TILING_X; 128 tile.stride = bo->base.pitch; 130 ret = drmCommandWriteRead(kms->fd, DRM_I915_GEM_SET_TILING, &tile, sizeof(tile));
|
/external/libvpx/libvpx/vp9/common/ |
H A D | vp9_tile_common.c | 24 void vp9_tile_set_row(TileInfo *tile, const VP9_COMMON *cm, int row) { argument 25 tile->mi_row_start = get_tile_offset(row, cm->mi_rows, cm->log2_tile_rows); 26 tile->mi_row_end = get_tile_offset(row + 1, cm->mi_rows, cm->log2_tile_rows); 29 void vp9_tile_set_col(TileInfo *tile, const VP9_COMMON *cm, int col) { argument 30 tile->mi_col_start = get_tile_offset(col, cm->mi_cols, cm->log2_tile_cols); 31 tile->mi_col_end = get_tile_offset(col + 1, cm->mi_cols, cm->log2_tile_cols); 34 void vp9_tile_init(TileInfo *tile, const VP9_COMMON *cm, int row, int col) { argument 35 vp9_tile_set_row(tile, cm, row); 36 vp9_tile_set_col(tile, cm, col);
|
H A D | vp9_mvref_common.c | 29 const TileInfo *const tile = &xd->tile; local 39 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { 61 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { 103 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) {
|
H A D | vp9_mvref_common.h | 192 // are inside the borders of the tile. 193 static INLINE int is_inside(const TileInfo *const tile, argument 197 mi_col + mi_pos->col < tile->mi_col_start || 199 mi_col + mi_pos->col >= tile->mi_col_end);
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_quad_depth_test_tmp.h | 61 struct softpipe_cached_tile *tile; local 74 tile = sp_get_cached_tile(qs->softpipe->zsbuf_cache, ix, iy); 88 &tile->data.depth16[iy % TILE_SIZE][(ix + dx)% TILE_SIZE];
|
H A D | sp_tex_tile_cache.c | 29 * Texture tile caching. 61 tc->last_tile = &tc->entries[0]; /* any tile */ 185 * Flush the tile cache: write all dirty tiles back to the transfer. 207 * cached texture tile. 231 struct softpipe_tex_cached_tile *tile; local 234 tile = tc->entries + tex_cache_pos( addr ); 236 if (addr.value != tile->addr.value) { 245 " tile %u: x=%d y=%d z=%d face=%d level=%d\n", 247 pos, tile->addr.bits.x, tile [all...] |
H A D | sp_tile_cache.c | 29 * Render target tile caching. 46 * Return the position in the cache for the tile that contains win pos (x,y). 57 * Is the tile at (x,y) in cleared state? 71 * Mark the tile at (x,y) as not cleared. 110 tc->tile = MALLOC_STRUCT( softpipe_cached_tile ); 111 if (!tc->tile) 141 FREE( tc->tile ); 217 * Set pixels in a tile to the given clear color/value, float. 220 clear_tile_rgba(struct softpipe_cached_tile *tile, argument 228 memset(tile 269 clear_tile(struct softpipe_cached_tile *tile, enum pipe_format format, uint64_t clear_value) argument 439 struct softpipe_cached_tile *tile = tc->entries[pos]; local 464 struct softpipe_cached_tile * tile = MALLOC_STRUCT(softpipe_cached_tile); local 506 struct softpipe_cached_tile *tile = tc->entries[pos]; local [all...] |
H A D | sp_tile_cache.h | 40 * Cache tile size (width and height). This needs to be a power of two. 50 * Surface tile address as a union for fast compares. 95 struct softpipe_cached_tile *tile; /**< scratch tile for clears */ member in struct:softpipe_tile_cache 98 struct softpipe_cached_tile *last_tile; /**< most recently retrieved tile */ 147 /* Quickly retrieve tile if it matches last lookup.
|
/external/skia/gm/ |
H A D | image_shader.cpp | 102 const SkShader::TileMode tile = SkShader::kRepeat_TileMode; local 104 SkAutoTUnref<SkShader> shader(image->newShader(tile, tile, &localM));
|
H A D | pictureshadertile.cpp | 108 SkRect tile = SkRect::MakeXYWH(tiles[i].x * kPictureSize, variable 119 SkRect* tilePtr = &tile; 121 if (tile == SkRect::MakeWH(kPictureSize, kPictureSize)) { 122 // When the tile == picture bounds, exercise the picture + offset path.
|
H A D | pictureshader.cpp | 185 SkRect tile = SkRect::MakeWH(100, 100); local 188 SkCanvas* c = recorder.beginRecording(tile); 190 SkRect r = tile;
|
/external/mesa3d/src/gallium/winsys/i915/drm/ |
H A D | i915_drm_buffer.c | 99 uint32_t tile = 0, swizzle = 0; local 112 drm_intel_bo_get_tiling(buf->bo, &tile, &swizzle); 115 *tiling = tile;
|
/external/opencv3/3rdparty/libtiff/ |
H A D | tif_tile.c | 35 * Compute which tile an (x,y,z,s) value is in. 44 uint32 tile = 1; local 60 tile = (xpt*ypt*zpt)*s + 65 tile = (xpt*ypt)*(z/dz) + xpt*(y/dy) + x/dx; 67 return (tile); 141 * Compute the # bytes in each row of a tile. 175 * Compute the # bytes in a variable length, row-aligned tile. 242 * Compute the # bytes in a row-aligned tile. 266 * Compute a default tile size based on the image
|
H A D | tif_read.c | 35 int TIFFFillTile(TIFF* tif, uint32 tile); 37 static int TIFFStartTile(TIFF* tif, uint32 tile); 633 * Read and decompress a tile of data. The 634 * tile is selected by the (x,y,z,s) coordinates. 646 * Read a tile of data and decompress the specified 650 TIFFReadEncodedTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size) argument 658 if (tile >= td->td_nstrips) { 661 (unsigned long) tile, (unsigned long) td->td_nstrips); 668 if (TIFFFillTile(tif, tile) && (*tif->tif_decodetile)(tif, 669 (uint8*) buf, size, (uint16)(tile/t 677 TIFFReadRawTile1(TIFF* tif, uint32 tile, void* buf, tmsize_t size, const char* module) argument 755 TIFFReadRawTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size) argument 793 TIFFFillTile(TIFF* tif, uint32 tile) argument 988 TIFFStartTile(TIFF* tif, uint32 tile) argument [all...] |
/external/pdfium/third_party/libtiff/ |
H A D | tif_tile.c | 35 * Compute which tile an (x,y,z,s) value is in. 44 uint32 tile = 1; local 60 tile = (xpt*ypt*zpt)*s + 65 tile = (xpt*ypt)*(z/dz) + xpt*(y/dy) + x/dx; 67 return (tile); 141 * Compute the # bytes in each row of a tile. 176 TIFFErrorExt(tif->tif_clientdata,module,"Computed tile row size is zero"); 198 * Compute the # bytes in a variable length, row-aligned tile. 265 * Compute the # bytes in a row-aligned tile. 289 * Compute a default tile siz [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_segmentation.c | 110 const TileInfo *tile, MODE_INFO **mi, 123 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); 149 const TileInfo *tile, MODE_INFO **mi, 166 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count, 169 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count, 171 count_segs(cm, xd, tile, mi + hbs * mis, no_pred_segcounts, 175 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count, 177 count_segs(cm, xd, tile, mi + hbs, 190 count_segs_sb(cm, xd, tile, &mi[mi_dr * mis + mi_dc], 222 TileInfo tile; local 109 count_segs(const VP9_COMMON *cm, MACROBLOCKD *xd, const TileInfo *tile, MODE_INFO **mi, int *no_pred_segcounts, int (*temporal_predictor_count)[2], int *t_unpred_seg_counts, int bw, int bh, int mi_row, int mi_col) argument 148 count_segs_sb(const VP9_COMMON *cm, MACROBLOCKD *xd, const TileInfo *tile, MODE_INFO **mi, int *no_pred_segcounts, int (*temporal_predictor_count)[2], int *t_unpred_seg_counts, int mi_row, int mi_col, BLOCK_SIZE bsize) argument [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_rast_debug.c | 5 struct tile { struct 114 static void plot(struct tile *tile, argument 119 if (tile->data[x][y] == ' ') 120 tile->coverage++; 122 tile->overdraw++; 124 tile->data[x][y] = val; 135 struct tile *tile, 142 if (!tile 133 debug_shade_tile(int x, int y, const union lp_rast_cmd_arg arg, struct tile *tile, char val) argument 158 debug_clear_tile(int x, int y, const union lp_rast_cmd_arg arg, struct tile *tile, char val) argument 175 debug_triangle(int tilex, int tiley, const union lp_rast_cmd_arg arg, struct tile *tile, char val) argument 231 do_debug_bin( struct tile *tile, const struct cmd_bin *bin, boolean print_cmds) argument 290 struct tile tile; local 348 struct tile tile; local [all...] |
H A D | lp_scene.h | 93 * For each screen tile we have one of these bins. 109 * the per-tile bins will point to chunks of data in this structure. 123 * Per-bin data goes into the 'tile' bins. 164 * This basically the framebuffer size divided by tile size 171 struct cmd_bin tile[TILES_X][TILES_Y]; member in struct:lp_scene 276 /** Return pointer to a particular tile's bin. */ 280 return &scene->tile[x][y];
|
/external/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_texture_desc.c | 60 unsigned tile = 0; local 71 tile = aa_block[dim]; 75 tile = table[macrotile][util_logbase2(pixsize)][microtile][dim]; 81 if (tile < align) 82 tile = align; 86 assert(tile); 87 return tile; 96 unsigned tile, texdim; local 98 tile = r300_get_pixel_alignment(tex->b.b.format, tex->b.b.nr_samples, 108 return texdim >= tile; [all...] |
/external/opencv3/3rdparty/libjasper/ |
H A D | jpc_t2dec.c | 177 jpc_dec_tile_t *tile; local 198 tile = dec->curtile; 199 cp = tile->cp; 236 tcomp = &tile->tcomps[compno]; 370 tcomp = &tile->tcomps[compno]; 419 jpc_dec_tile_t *tile; local 423 tile = dec->curtile; 424 pi = tile->pi; 426 if (!tile->pkthdrstream || jas_stream_peekc(tile 464 jpc_dec_pi_create(jpc_dec_t *dec, jpc_dec_tile_t *tile) argument [all...] |
H A D | jpc_t2enc.c | 137 jpc_enc_tile_t *tile; local 140 tile = enc->curtile; 143 pi = tile->pi; 187 jpc_enc_tile_t *tile; local 192 tile = enc->curtile; 199 ms->parms.sop.seqno = jpc_pi_getind(tile->pi); 215 comp = &tile->tcmpts[compno]; 342 comp = &tile->tcmpts[compno]; 400 jpc_enc_tile_t *tile; local 404 tile 448 jpc_enc_tile_t *tile; local 499 jpc_enc_tile_t *tile; local 551 jpc_enc_pi_create(jpc_enc_cp_t *cp, jpc_enc_tile_t *tile) argument [all...] |