/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 | 442 dng_rect tile; in HistogramArea() local 446 while (iter.GetOneTile (tile)) in HistogramArea() 449 dng_const_tile_buffer buffer (image, tile); in HistogramArea() 451 const void *sPtr = buffer.ConstPixel (tile.t, in HistogramArea() 452 tile.l, in HistogramArea() 456 uint32 count1 = tile.H (); in HistogramArea() 457 uint32 count2 = tile.W (); in HistogramArea() 557 const dng_rect &tile, 581 const dng_rect &tile, in Process() argument 585 dng_const_tile_buffer srcBuffer (fSrcImage, tile); in Process() [all …]
|
D | dng_image.cpp | 29 const dng_rect &tile, in dng_tile_buffer() argument 38 tile, in dng_tile_buffer() 55 const dng_rect &tile) in dng_const_tile_buffer() argument 57 : dng_tile_buffer (image, tile, false) in dng_const_tile_buffer() 73 const dng_rect &tile) in dng_dirty_tile_buffer() argument 75 : dng_tile_buffer (image, tile, true) in dng_dirty_tile_buffer() 225 dng_rect tile; in DoGet() local 229 while (iter.GetOneTile (tile)) in DoGet() 232 dng_const_tile_buffer tileBuffer (*this, tile); in DoGet() 235 tile, in DoGet() [all …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_rast_debug.c | 5 struct tile { struct 114 static void plot(struct tile *tile, in plot() argument 119 if (tile->data[x][y] == ' ') in plot() 120 tile->coverage++; in plot() 122 tile->overdraw++; in plot() 124 tile->data[x][y] = val; in plot() 135 struct tile *tile, in debug_shade_tile() argument 142 if (!tile->state) in debug_shade_tile() 145 blend = tile->state->variant->key.blend.rt[0].blend_enable; in debug_shade_tile() 152 plot(tile, i, j, val, blend); in debug_shade_tile() [all …]
|
D | lp_rast.c | 524 outline_tile(uint8_t *tile) in outline_tile() argument 530 TILE_PIXEL(tile, i, 0, 0) = val; in outline_tile() 531 TILE_PIXEL(tile, i, 0, 1) = val; in outline_tile() 532 TILE_PIXEL(tile, i, 0, 2) = val; in outline_tile() 533 TILE_PIXEL(tile, i, 0, 3) = val; in outline_tile() 535 TILE_PIXEL(tile, 0, i, 0) = val; in outline_tile() 536 TILE_PIXEL(tile, 0, i, 1) = val; in outline_tile() 537 TILE_PIXEL(tile, 0, i, 2) = val; in outline_tile() 538 TILE_PIXEL(tile, 0, i, 3) = val; in outline_tile() 548 outline_subtiles(uint8_t *tile) in outline_subtiles() argument [all …]
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tile_cache.c | 110 tc->tile = MALLOC_STRUCT( softpipe_cached_tile ); in sp_create_tile_cache() 111 if (!tc->tile) in sp_create_tile_cache() 141 FREE( tc->tile ); in sp_destroy_tile_cache() 220 clear_tile_rgba(struct softpipe_cached_tile *tile, in clear_tile_rgba() argument 228 memset(tile->data.color, 0, sizeof(tile->data.color)); in clear_tile_rgba() 236 tile->data.colorui128[i][j][0] = clear_value->ui[0]; in clear_tile_rgba() 237 tile->data.colorui128[i][j][1] = clear_value->ui[1]; in clear_tile_rgba() 238 tile->data.colorui128[i][j][2] = clear_value->ui[2]; in clear_tile_rgba() 239 tile->data.colorui128[i][j][3] = clear_value->ui[3]; in clear_tile_rgba() 245 tile->data.colori128[i][j][0] = clear_value->i[0]; in clear_tile_rgba() [all …]
|
D | sp_tex_tile_cache.c | 231 struct softpipe_tex_cached_tile *tile; in sp_find_cached_tile_tex() local 234 tile = tc->entries + tex_cache_pos( addr ); in sp_find_cached_tile_tex() 236 if (addr.value != tile->addr.value) { in sp_find_cached_tile_tex() 247 pos, tile->addr.bits.x, tile->addr.bits.y, tile->z, tile->face, tile->level); in sp_find_cached_tile_tex() 303 (unsigned *) tile->data.colorui); in sp_find_cached_tile_tex() 312 (int *) tile->data.colori); in sp_find_cached_tile_tex() 321 (float *) tile->data.color); in sp_find_cached_tile_tex() 323 tile->addr = addr; in sp_find_cached_tile_tex() 326 tc->last_tile = tile; in sp_find_cached_tile_tex() 327 return tile; in sp_find_cached_tile_tex()
|
D | sp_quad_depth_test.c | 53 struct softpipe_cached_tile *tile; member 63 const struct softpipe_cached_tile *tile = data->tile; in get_depth_stencil_values() local 70 data->bzzzz[j] = tile->data.depth16[y][x]; in get_depth_stencil_values() 77 data->bzzzz[j] = tile->data.depth32[y][x]; in get_depth_stencil_values() 85 data->bzzzz[j] = tile->data.depth32[y][x] & 0xffffff; in get_depth_stencil_values() 86 data->stencilVals[j] = tile->data.depth32[y][x] >> 24; in get_depth_stencil_values() 94 data->bzzzz[j] = tile->data.depth32[y][x] >> 8; in get_depth_stencil_values() 95 data->stencilVals[j] = tile->data.depth32[y][x] & 0xff; in get_depth_stencil_values() 103 data->stencilVals[j] = tile->data.stencil8[y][x]; in get_depth_stencil_values() 110 data->bzzzz[j] = tile->data.depth32[y][x]; in get_depth_stencil_values() [all …]
|
/external/opencv3/3rdparty/libjasper/ |
D | jpc_dec.c | 181 static int jpc_dec_tiledecode(jpc_dec_t *dec, jpc_dec_tile_t *tile); 182 static int jpc_dec_tileinit(jpc_dec_t *dec, jpc_dec_tile_t *tile); 183 static int jpc_dec_tilefini(jpc_dec_t *dec, jpc_dec_tile_t *tile); 443 jpc_dec_tile_t *tile; in jpc_dec_process_sot() local 498 tile = dec->curtile; in jpc_dec_process_sot() 500 if (sot->partno != tile->partno) { in jpc_dec_process_sot() 503 if (tile->numparts > 0 && sot->partno >= tile->numparts) { in jpc_dec_process_sot() 506 if (!tile->numparts && sot->numparts > 0) { in jpc_dec_process_sot() 507 tile->numparts = sot->numparts; in jpc_dec_process_sot() 510 tile->pptstab = 0; in jpc_dec_process_sot() [all …]
|
D | jpc_enc.c | 123 void jpc_enc_tile_destroy(jpc_enc_tile_t *tile); 126 jas_image_t *image, jpc_enc_tile_t *tile); 1118 jpc_enc_tile_t *tile; in jpc_enc_encodemainbody() local 1148 tile = enc->curtile; in jpc_enc_encodemainbody() 1154 endcomps = &tile->tcmpts[tile->numtcmpts]; in jpc_enc_encodemainbody() 1155 for (cmptno = 0, comp = tile->tcmpts; cmptno < tile->numtcmpts; ++cmptno, ++comp) { in jpc_enc_encodemainbody() 1166 if (!tile->intmode) { in jpc_enc_encodemainbody() 1167 endcomps = &tile->tcmpts[tile->numtcmpts]; in jpc_enc_encodemainbody() 1168 for (comp = tile->tcmpts; comp != endcomps; ++comp) { in jpc_enc_encodemainbody() 1173 switch (tile->mctid) { in jpc_enc_encodemainbody() [all …]
|
D | jpc_t2enc.c | 137 jpc_enc_tile_t *tile; in jpc_enc_encpkts() local 140 tile = enc->curtile; in jpc_enc_encpkts() 143 pi = tile->pi; in jpc_enc_encpkts() 187 jpc_enc_tile_t *tile; in jpc_enc_encpkt() local 192 tile = enc->curtile; in jpc_enc_encpkt() 199 ms->parms.sop.seqno = jpc_pi_getind(tile->pi); in jpc_enc_encpkt() 215 comp = &tile->tcmpts[compno]; in jpc_enc_encpkt() 342 comp = &tile->tcmpts[compno]; in jpc_enc_encpkt() 400 jpc_enc_tile_t *tile; in jpc_save_t2state() local 404 tile = enc->curtile; in jpc_save_t2state() [all …]
|
D | jpc_t2dec.c | 177 jpc_dec_tile_t *tile; in jpc_dec_decodepkt() local 198 tile = dec->curtile; in jpc_dec_decodepkt() 199 cp = tile->cp; in jpc_dec_decodepkt() 236 tcomp = &tile->tcomps[compno]; in jpc_dec_decodepkt() 370 tcomp = &tile->tcomps[compno]; in jpc_dec_decodepkt() 419 jpc_dec_tile_t *tile; in jpc_dec_decodepkts() local 423 tile = dec->curtile; in jpc_dec_decodepkts() 424 pi = tile->pi; in jpc_dec_decodepkts() 426 if (!tile->pkthdrstream || jas_stream_peekc(tile->pkthdrstream) == EOF) { in jpc_dec_decodepkts() 464 jpc_pi_t *jpc_dec_pi_create(jpc_dec_t *dec, jpc_dec_tile_t *tile) in jpc_dec_pi_create() argument [all …]
|
/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()
|
D | vp9_tile_common.h | 27 void vp9_tile_init(TileInfo *tile, const struct VP9Common *cm, 30 void vp9_tile_set_row(TileInfo *tile, const struct VP9Common *cm, int row); 31 void vp9_tile_set_col(TileInfo *tile, const struct VP9Common *cm, int col);
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_segmentation.c | 110 const TileInfo *tile, MODE_INFO **mi, in count_segs() argument 123 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); in count_segs() 149 const TileInfo *tile, MODE_INFO **mi, in count_segs_sb() argument 166 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count, in count_segs_sb() 169 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count, in count_segs_sb() 171 count_segs(cm, xd, tile, mi + hbs * mis, no_pred_segcounts, in count_segs_sb() 175 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count, in count_segs_sb() 177 count_segs(cm, xd, tile, mi + hbs, in count_segs_sb() 190 count_segs_sb(cm, xd, tile, &mi[mi_dr * mis + mi_dc], in count_segs_sb() 222 TileInfo tile; in vp9_choose_segmap_coding_method() local [all …]
|
/external/pdfium/third_party/libtiff/ |
D | tif_read.c | 35 int TIFFFillTile(TIFF* tif, uint32 tile); 37 static int TIFFStartTile(TIFF* tif, uint32 tile); 650 TIFFReadEncodedTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size) in TIFFReadEncodedTile() argument 658 if (tile >= td->td_nstrips) { in TIFFReadEncodedTile() 661 (unsigned long) tile, (unsigned long) td->td_nstrips); in TIFFReadEncodedTile() 668 if (TIFFFillTile(tif, tile) && (*tif->tif_decodetile)(tif, in TIFFReadEncodedTile() 669 (uint8*) buf, size, (uint16)(tile/td->td_stripsperimage))) { in TIFFReadEncodedTile() 677 TIFFReadRawTile1(TIFF* tif, uint32 tile, void* buf, tmsize_t size, const char* module) in TIFFReadRawTile1() argument 688 if (!SeekOK(tif, td->td_stripoffset[tile])) { in TIFFReadRawTile1() 693 (unsigned long) tile); in TIFFReadRawTile1() [all …]
|
D | tif_write.c | 364 TIFFWriteEncodedTile(TIFF* tif, uint32 tile, void* data, tmsize_t cc) in TIFFWriteEncodedTile() argument 374 if (tile >= td->td_nstrips) { in TIFFWriteEncodedTile() 376 (unsigned long) tile, (unsigned long) td->td_nstrips); in TIFFWriteEncodedTile() 388 tif->tif_curtile = tile; in TIFFWriteEncodedTile() 390 if( td->td_stripbytecount[tile] > 0 ) in TIFFWriteEncodedTile() 396 if( tif->tif_rawdatasize <= (tmsize_t) td->td_stripbytecount[tile] ) in TIFFWriteEncodedTile() 399 (tmsize_t)TIFFroundup_64((uint64)(td->td_stripbytecount[tile] + 1), 1024))) ) in TIFFWriteEncodedTile() 420 tif->tif_row = (tile % howmany32) * td->td_tilelength; in TIFFWriteEncodedTile() 426 tif->tif_col = (tile % howmany32) * td->td_tilewidth; in TIFFWriteEncodedTile() 434 sample = (uint16)(tile/td->td_stripsperimage); in TIFFWriteEncodedTile() [all …]
|
/external/opencv3/3rdparty/libtiff/ |
D | tif_read.c | 35 int TIFFFillTile(TIFF* tif, uint32 tile); 37 static int TIFFStartTile(TIFF* tif, uint32 tile); 650 TIFFReadEncodedTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size) in TIFFReadEncodedTile() argument 658 if (tile >= td->td_nstrips) { in TIFFReadEncodedTile() 661 (unsigned long) tile, (unsigned long) td->td_nstrips); in TIFFReadEncodedTile() 668 if (TIFFFillTile(tif, tile) && (*tif->tif_decodetile)(tif, in TIFFReadEncodedTile() 669 (uint8*) buf, size, (uint16)(tile/td->td_stripsperimage))) { in TIFFReadEncodedTile() 677 TIFFReadRawTile1(TIFF* tif, uint32 tile, void* buf, tmsize_t size, const char* module) in TIFFReadRawTile1() argument 688 if (!SeekOK(tif, td->td_stripoffset[tile])) { in TIFFReadRawTile1() 693 (unsigned long) tile); in TIFFReadRawTile1() [all …]
|
D | tif_write.c | 340 TIFFWriteEncodedTile(TIFF* tif, uint32 tile, void* data, tmsize_t cc) in TIFFWriteEncodedTile() argument 349 if (tile >= td->td_nstrips) { in TIFFWriteEncodedTile() 351 (unsigned long) tile, (unsigned long) td->td_nstrips); in TIFFWriteEncodedTile() 363 tif->tif_curtile = tile; in TIFFWriteEncodedTile() 368 if( td->td_stripbytecount[tile] > 0 ) in TIFFWriteEncodedTile() 379 tif->tif_row = (tile % TIFFhowmany_32(td->td_imagelength, td->td_tilelength)) in TIFFWriteEncodedTile() 381 tif->tif_col = (tile % TIFFhowmany_32(td->td_imagewidth, td->td_tilewidth)) in TIFFWriteEncodedTile() 390 sample = (uint16)(tile/td->td_stripsperimage); in TIFFWriteEncodedTile() 411 if (tif->tif_rawcc > 0 && !TIFFAppendToStrip(tif, tile, in TIFFWriteEncodedTile() 429 TIFFWriteRawTile(TIFF* tif, uint32 tile, void* data, tmsize_t cc) in TIFFWriteRawTile() argument [all …]
|
/external/libdrm/libkms/ |
D | intel.c | 123 struct drm_i915_gem_set_tiling tile; in intel_bo_create() local 125 memset(&tile, 0, sizeof(tile)); in intel_bo_create() 126 tile.handle = bo->base.handle; in intel_bo_create() 127 tile.tiling_mode = I915_TILING_X; in intel_bo_create() 128 tile.stride = bo->base.pitch; in intel_bo_create() 130 ret = drmCommandWriteRead(kms->fd, DRM_I915_GEM_SET_TILING, &tile, sizeof(tile)); in intel_bo_create()
|
/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()
|
/external/libjpeg-turbo/ |
D | tjbench.c | 153 int tile=0; in decomp() local 157 for(col=0, dstptr2=dstptr; col<ntilesw; col++, tile++, dstptr2+=ps*tilew) in decomp() 164 if(tjDecompressToYUV2(handle, jpegbuf[tile], jpegsize[tile], yuvbuf, in decomp() 174 if(tjDecompress2(handle, jpegbuf[tile], jpegsize[tile], dstptr2, in decomp() 342 int tile=0; in fullTest() local 347 for(col=0, srcptr2=srcptr; col<ntilesw; col++, tile++, in fullTest() 360 subsamp, &jpegbuf[tile], &jpegsize[tile], jpegqual, flags)==-1) in fullTest() 366 &jpegbuf[tile], &jpegsize[tile], subsamp, jpegqual, flags)==-1) in fullTest() 369 totaljpegsize+=jpegsize[tile]; in fullTest() 488 int ps=tjPixelSize[pf], tile; in decompTest() local [all …]
|
/external/skia/src/core/ |
D | SkPictureShader.cpp | 30 const SkRect& tile, in BitmapShaderKey() 36 , fTile(tile) in BitmapShaderKey() 97 const SkMatrix* localMatrix, const SkRect* tile) in SkPictureShader() argument 100 , fTile(tile ? *tile : picture->cullRect()) in SkPictureShader() 106 const SkMatrix* localMatrix, const SkRect* tile) { in Create() argument 107 if (!picture || picture->cullRect().isEmpty() || (tile && tile->isEmpty())) { in Create() 110 return new SkPictureShader(picture, tmx, tmy, localMatrix, tile); in Create() 118 SkRect tile; in CreateProc() local 119 buffer.readRect(&tile); in CreateProc() 139 return SkPictureShader::Create(picture, mx, my, &lm, &tile); in CreateProc()
|
/external/libjpeg-turbo/java/ |
D | TJBench.java | 168 int tile = 0; in decomp() local 171 for (int x = 0; x < w; x += tilew, tile++) { in decomp() 174 tjd.setSourceImage(jpegBuf[tile], jpegSize[tile]); in decomp() 325 int tile = 0; in fullTest() local 329 for (int x = 0; x < w; x += tilew, tile++) { in fullTest() 342 tjc.compress(jpegBuf[tile], flags); in fullTest() 343 jpegSize[tile] = tjc.getCompressedSize(); in fullTest() 344 totalJpegSize += jpegSize[tile]; in fullTest() 427 int ps = TJ.getPixelSize(pf), tile; in decompTest() local 527 for (y = 0, tile = 0; y < _h; y += _tileh) { in decompTest() [all …]
|