Home
last modified time | relevance | path

Searched refs:tiles (Results 1 – 25 of 106) sorted by relevance

12345

/external/libaom/libaom/av1/common/
Dtile_common.c32 CommonTileParams *const tiles = &cm->tiles; in av1_get_tile_limits() local
41 tiles->max_width_sb = MAX_TILE_WIDTH >> sb_size_log2; in av1_get_tile_limits()
44 tiles->min_log2_cols = tile_log2(tiles->max_width_sb, sb_cols); in av1_get_tile_limits()
45 tiles->max_log2_cols = tile_log2(1, AOMMIN(sb_cols, MAX_TILE_COLS)); in av1_get_tile_limits()
46 tiles->max_log2_rows = tile_log2(1, AOMMIN(sb_rows, MAX_TILE_ROWS)); in av1_get_tile_limits()
47 tiles->min_log2 = tile_log2(max_tile_area_sb, sb_cols * sb_rows); in av1_get_tile_limits()
48 tiles->min_log2 = AOMMAX(tiles->min_log2, tiles->min_log2_cols); in av1_get_tile_limits()
53 CommonTileParams *const tiles) { in av1_calculate_tile_cols() argument
62 tiles->min_inner_width = -1; in av1_calculate_tile_cols()
64 if (tiles->uniform_spacing) { in av1_calculate_tile_cols()
[all …]
Dtile_common.h63 struct CommonTileParams *const tiles);
66 struct CommonTileParams *const tiles);
/external/ImageMagick/coders/
Dashlar.c446 CanvasInfo *tiles,const size_t number_tiles) in PackAshlarTiles() argument
458 tiles[i].order=(i); in PackAshlarTiles()
459 qsort((void *) tiles,number_tiles,sizeof(*tiles),CompareTileHeight); in PackAshlarTiles()
462 tiles[i].x=0; in PackAshlarTiles()
463 tiles[i].y=0; in PackAshlarTiles()
464 if ((tiles[i].width != 0) && (tiles[i].height != 0)) in PackAshlarTiles()
469 tile_info=AssignTileLocation(ashlar_info,tiles[i].width, in PackAshlarTiles()
470 tiles[i].height); in PackAshlarTiles()
471 tiles[i].x=(ssize_t) tile_info.x; in PackAshlarTiles()
472 tiles[i].y=(ssize_t) tile_info.y; in PackAshlarTiles()
[all …]
/external/libaom/libaom/examples/
Dlightfield_bitstream_parsing.c98 void process_tile_list(const TILE_LIST_INFO *tiles, int num_tiles, in process_tile_list() argument
139 int image_idx = tiles[i].image_idx; in process_tile_list()
140 int ref_idx = tiles[i].reference_idx; in process_tile_list()
141 int tc = tiles[i].tile_col; in process_tile_list()
142 int tr = tiles[i].tile_row; in process_tile_list()
362 TILE_LIST_INFO tiles[MAX_TILES]; in main() local
368 process_tile_list(tiles, num_tiles, tl_pts, frames, frame_sizes, &codec, in main()
378 if (sscanf(line, "%d %d %d %d", &tiles[num_tiles].image_idx, in main()
379 &tiles[num_tiles].reference_idx, &tiles[num_tiles].tile_col, in main()
380 &tiles[num_tiles].tile_row) == 4) { in main()
[all …]
/external/skqp/gm/
Dpictureshadertile.cpp22 } tiles[] = { variable
107 for (unsigned i = 0; i < SK_ARRAY_COUNT(tiles); ++i) { in onOnceBeforeDraw()
108 SkRect tile = SkRect::MakeXYWH(tiles[i].x * kPictureSize, in onOnceBeforeDraw()
109 tiles[i].y * kPictureSize, in onOnceBeforeDraw()
110 tiles[i].w * kPictureSize, in onOnceBeforeDraw()
111 tiles[i].h * kPictureSize); in onOnceBeforeDraw()
113 localMatrix.setTranslate(tiles[i].offsetX * kPictureSize, in onOnceBeforeDraw()
114 tiles[i].offsetY * kPictureSize); in onOnceBeforeDraw()
151 sk_sp<SkShader> fShaders[SK_ARRAY_COUNT(tiles)];
/external/skia/gm/
Dpictureshadertile.cpp32 } tiles[] = { variable
117 for (unsigned i = 0; i < SK_ARRAY_COUNT(tiles); ++i) { in onOnceBeforeDraw()
118 SkRect tile = SkRect::MakeXYWH(tiles[i].x * kPictureSize, in onOnceBeforeDraw()
119 tiles[i].y * kPictureSize, in onOnceBeforeDraw()
120 tiles[i].w * kPictureSize, in onOnceBeforeDraw()
121 tiles[i].h * kPictureSize); in onOnceBeforeDraw()
123 localMatrix.setTranslate(tiles[i].offsetX * kPictureSize, in onOnceBeforeDraw()
124 tiles[i].offsetY * kPictureSize); in onOnceBeforeDraw()
160 sk_sp<SkShader> fShaders[SK_ARRAY_COUNT(tiles)];
/external/libvpx/libvpx/test/
Dtest-data.sha1628 c740708fa390806eebaf669909c1285ab464f886 *vp90-2-14-resize-fp-tiles-1-2.webm
629 c7b85ffd8e11500f73f52e7dc5a47f57c393d47f *vp90-2-14-resize-fp-tiles-1-2.webm.md5
630 ec8faa352a08f7033c60f29f80d505e2d7daa103 *vp90-2-14-resize-fp-tiles-1-4.webm
631 6852c783fb421bda5ded3d4c5a3ffc46de03fbc1 *vp90-2-14-resize-fp-tiles-1-4.webm.md5
632 8af61853ac0d07c4cb5bf7c2016661ba350b3497 *vp90-2-14-resize-fp-tiles-1-8.webm
633 571353bac89fea60b5706073409aa3c0d42aefe9 *vp90-2-14-resize-fp-tiles-1-8.webm.md5
634 b1c187ed69931496b82ec194017a79831bafceef *vp90-2-14-resize-fp-tiles-1-16.webm
635 1c199a41afe42ce303944d70089eaaa2263b4a09 *vp90-2-14-resize-fp-tiles-1-16.webm.md5
636 8eaae5a6f2dff934610b0c7a917d7f583ba74aa5 *vp90-2-14-resize-fp-tiles-2-1.webm
637 db18fcf915f7ffaea6c39feab8bda6c1688af011 *vp90-2-14-resize-fp-tiles-2-1.webm.md5
[all …]
Dtest-data.mk620 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-14-resize-fp-tiles-1-16.webm
621 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-14-resize-fp-tiles-1-16.webm.md5
622 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-14-resize-fp-tiles-1-2-4-8-16.webm
623 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-14-resize-fp-tiles-1-2-4-8-16.webm.md5
624 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-14-resize-fp-tiles-1-2.webm
625 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-14-resize-fp-tiles-1-2.webm.md5
626 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-14-resize-fp-tiles-1-4.webm
627 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-14-resize-fp-tiles-1-4.webm.md5
628 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-14-resize-fp-tiles-1-8.webm
629 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-14-resize-fp-tiles-1-8.webm.md5
[all …]
/external/tensorflow/tensorflow/compiler/xla/
Dlayout.cc55 for (const TileProto& tile_proto : proto.tiles()) { in CreateFromProto()
70 for (const Tile& tile : tiles()) { in ToProto()
80 string colon_string = tiles().empty() ? "" : "T"; in ToString()
81 for (const Tile& tile : tiles()) { in ToString()
105 if (!ignore_tiles_ && lhs.tiles() != rhs.tiles()) { in operator ()()
Dlayout.h93 Layout(absl::Span<const int64> minor_to_major, absl::Span<const Tile> tiles,
97 tiles_(tiles.begin(), tiles.end()), in format_()
193 const Tile& tiles(int index) const { return tiles_.at(index); } in tiles() function
203 absl::Span<const Tile> tiles() const { return tiles_; } in tiles() function
/external/replicaisland/tools/
DExtractPoints.js50 var tiles = new Array(); variable
51 tiles.length = tilesPerRow * tilesPerColumn;
129 tiles[tileIndex] = tile;
139 for (var x = 0; x < tiles.length; x++) {
140 if (tiles[x]) {
141 var tile = tiles[x];
217 for (var x = 0; x < tiles.length; x++) {
218 if (tiles[x]) {
219 var tile = tiles[x];
/external/libgav1/libgav1/src/
Ddecoder_impl.cc129 const Vector<std::unique_ptr<Tile>>& tiles, in DecodeTilesNonFrameParallel() argument
139 for (const auto& tile_ptr : tiles) { in DecodeTilesNonFrameParallel()
155 const Vector<std::unique_ptr<Tile>>& tiles, in DecodeTilesThreadedNonFrameParallel() argument
164 const int tile_count = static_cast<int>(tiles.size()); in DecodeTilesThreadedNonFrameParallel()
168 threading_strategy.tile_thread_pool()->Schedule([&tiles, tile_count, in DecodeTilesThreadedNonFrameParallel()
177 const auto& tile_ptr = tiles[index]; in DecodeTilesThreadedNonFrameParallel()
194 const auto& tile_ptr = tiles[index]; in DecodeTilesThreadedNonFrameParallel()
217 const Vector<std::unique_ptr<Tile>>& tiles, in DecodeTilesFrameParallel() argument
223 for (const auto& tile : tiles) { in DecodeTilesFrameParallel()
246 for (const auto& tile_ptr : tiles) { in DecodeTilesFrameParallel()
[all …]
/external/libaom/libaom/av1/decoder/
Dobu.c291 CommonTileParams *const tiles = &cm->tiles; in read_tile_group_header() local
294 const int num_tiles = tiles->rows * tiles->cols; in read_tile_group_header()
296 if (!tiles->large_scale && num_tiles > 1) { in read_tile_group_header()
305 if (tiles->large_scale || num_tiles == 1 || in read_tile_group_header()
310 int tile_bits = tiles->log2_rows + tiles->log2_cols; in read_tile_group_header()
360 *is_last_tg = end_tile == cm->tiles.rows * cm->tiles.cols - 1; in read_one_tile_group_obu()
488 const int num_tiles = cm->tiles.cols * cm->tiles.rows; in read_and_decode_one_tile_list()
530 pbi->dec_tile_row >= cm->tiles.rows || in read_and_decode_one_tile_list()
531 pbi->dec_tile_col >= cm->tiles.cols) { in read_and_decode_one_tile_list()
875 if (!cm->tiles.large_scale) pbi->camera_frame_header_ready = 0; in aom_decode_frame_from_obus()
[all …]
Ddecodeframe.c2131 CommonTileParams *const tiles = &cm->tiles; in read_tile_info_max_tile() local
2140 tiles->uniform_spacing = aom_rb_read_bit(rb); in read_tile_info_max_tile()
2143 if (tiles->uniform_spacing) { in read_tile_info_max_tile()
2144 tiles->log2_cols = tiles->min_log2_cols; in read_tile_info_max_tile()
2145 while (tiles->log2_cols < tiles->max_log2_cols) { in read_tile_info_max_tile()
2149 tiles->log2_cols++; in read_tile_info_max_tile()
2156 1 + rb_read_uniform(rb, AOMMIN(width_sb, tiles->max_width_sb)); in read_tile_info_max_tile()
2157 tiles->col_start_sb[i] = start_sb; in read_tile_info_max_tile()
2161 tiles->cols = i; in read_tile_info_max_tile()
2162 tiles->col_start_sb[i] = start_sb + width_sb; in read_tile_info_max_tile()
[all …]
/external/skqp/tools/skpbench/
Dskpbench.cpp122 static void ddl_sample(GrContext* context, DDLTileHelper* tiles, GpuSync* gpuSync, Sample* sample, in ddl_sample() argument
128 tiles->createDDLsInParallel(); in ddl_sample()
131 tiles->drawAllTilesAndFlush(context, true); in ddl_sample()
139 tiles->resetAllTiles(); in ddl_sample()
165 DDLTileHelper tiles(finalCanvas, viewport, FLAGS_ddlTilingWidthHeight); in run_ddl_benchmark() local
167 tiles.createSKPPerTile(compressedPictureData.get(), promiseImageHelper); in run_ddl_benchmark()
173 ddl_sample(context, &tiles, nullptr, nullptr, &startStopTime); in run_ddl_benchmark()
175 ddl_sample(context, &tiles, &gpuSync, nullptr, &startStopTime); in run_ddl_benchmark()
184 ddl_sample(context, &tiles, &gpuSync, &sample, &startStopTime); in run_ddl_benchmark()
192 tiles.composeAllTiles(finalCanvas); in run_ddl_benchmark()
/external/tensorflow/tensorflow/stream_executor/tpu/
Dc_api_conversions.cc275 CopyVector(layout.tiles(), &c_layout->tiles); in ToC()
281 absl::InlinedVector<xla::Tile, 1> tiles; in FromC() local
282 const XLA_Tile* c_tiles = c_layout->tiles.size > TPU_C_API_MAX_INLINED in FromC()
283 ? c_layout->tiles.heap in FromC()
284 : c_layout->tiles.inlined; in FromC()
285 for (int i = 0; i < c_layout->tiles.size; ++i) { in FromC()
286 tiles.push_back(FromC(&c_tiles[i])); in FromC()
288 return xla::Layout(minor_to_major, tiles, c_layout->element_size_in_bits, in FromC()
296 if (c_layout->tiles.size > TPU_C_API_MAX_INLINED) { in Free()
297 delete[] c_layout->tiles.heap; in Free()
/external/libaom/libaom/av1/encoder/
Dethread.c53 for (int row = 0; row < cm->tiles.rows; row++) { in update_delta_lf_for_row_mt()
54 for (int col = 0; col < cm->tiles.cols; col++) { in update_delta_lf_for_row_mt()
55 TileDataEnc *tile_data = &cpi->tile_data[row * cm->tiles.cols + col]; in update_delta_lf_for_row_mt()
243 const int tile_cols = cm->tiles.cols; in switch_tile_and_get_next_job()
244 const int tile_rows = cm->tiles.rows; in switch_tile_and_get_next_job()
368 const int tile_cols = cm->tiles.cols; in enc_worker_hook()
369 const int tile_rows = cm->tiles.rows; in enc_worker_hook()
380 &cpi->tile_data[tile_row * cm->tiles.cols + tile_col]; in enc_worker_hook()
622 const int tile_cols = cm->tiles.cols; in av1_encode_tiles_mt()
623 const int tile_rows = cm->tiles.rows; in av1_encode_tiles_mt()
[all …]
Dlevel.c914 const int tile_cols = cm->tiles.cols; in get_tile_stats()
915 const int tile_rows = cm->tiles.rows; in get_tile_stats()
927 &tile_data[tile_row * cm->tiles.cols + tile_col].tile_info; in get_tile_stats()
963 int frame_header_count, int tiles, int show_frame, in store_frame_record() argument
978 record->tiles = tiles; in store_frame_record()
1016 int tiles = 0; in scan_past_frames() local
1029 tiles += record->tiles; in scan_past_frames()
1043 level_spec->max_tile_rate = AOMMAX(level_spec->max_tile_rate, tiles); in scan_past_frames()
1056 const int tile_cols = cm->tiles.cols; in av1_update_level_info()
1057 const int tile_rows = cm->tiles.rows; in av1_update_level_info()
[all …]
Dbitstream.c2151 const CommonTileParams *const tiles = &cm->tiles; in write_tile_info_max_tile() local
2153 aom_wb_write_bit(wb, tiles->uniform_spacing); in write_tile_info_max_tile()
2155 if (tiles->uniform_spacing) { in write_tile_info_max_tile()
2156 int ones = tiles->log2_cols - tiles->min_log2_cols; in write_tile_info_max_tile()
2160 if (tiles->log2_cols < tiles->max_log2_cols) { in write_tile_info_max_tile()
2165 ones = tiles->log2_rows - tiles->min_log2_rows; in write_tile_info_max_tile()
2169 if (tiles->log2_rows < tiles->max_log2_rows) { in write_tile_info_max_tile()
2175 for (i = 0; i < tiles->cols; i++) { in write_tile_info_max_tile()
2176 size_sb = tiles->col_start_sb[i + 1] - tiles->col_start_sb[i]; in write_tile_info_max_tile()
2177 wb_write_uniform(wb, AOMMIN(width_sb, tiles->max_width_sb), size_sb - 1); in write_tile_info_max_tile()
[all …]
Dav1_multi_thread.c22 const int tile_cols = cm->tiles.cols; in av1_row_mt_mem_alloc()
23 const int tile_rows = cm->tiles.rows; in av1_row_mt_mem_alloc()
/external/skia/tools/skpbench/
Dskpbench.cpp210 static void ddl_sample(GrDirectContext* dContext, DDLTileHelper* tiles, GpuSync& gpuSync, in ddl_sample() argument
225 tiles->interleaveDDLCreationAndDraw(dContext, picture); in ddl_sample()
229 tiles->drawAllTilesDirectly(dContext, picture); in ddl_sample()
231 tiles->kickOffThreadedWork(recordingTaskGroup, gpuTaskGroup, dContext, picture); in ddl_sample()
273 DDLTileHelper tiles(dContext, dstCharacterization, viewport, in run_ddl_benchmark() local
277 tiles.createBackendTextures(nullptr, dContext); in run_ddl_benchmark()
297 ddl_sample(dContext, &tiles, gpuSync, nullptr, recordingTaskGroup.get(), in run_ddl_benchmark()
307 tiles.resetAllTiles(); in run_ddl_benchmark()
308 ddl_sample(dContext, &tiles, gpuSync, &sample, recordingTaskGroup.get(), in run_ddl_benchmark()
326 dstSurface->draw(tiles.composeDDL()); in run_ddl_benchmark()
[all …]
/external/pdfium/third_party/libopenjpeg20/
Dtcd.c59 opj_tcd_tile_t *tile = &tcd->tcd_image->tiles[tileno]; in tcd_dump()
244 opj_tcd_tile_t *tcd_tile = tcd->tcd_image->tiles; in opj_tcd_makelayer()
346 opj_tcd_tile_t *tcd_tile = tcd->tcd_image->tiles; in opj_tcd_makelayer_fixed()
457 opj_tcd_tile_t *tcd_tile = tcd->tcd_image->tiles; in opj_tcd_rateallocate()
651 p_tcd->tcd_image->tiles = (opj_tcd_tile_t *) opj_calloc(1, in opj_tcd_init()
653 if (! p_tcd->tcd_image->tiles) { in opj_tcd_init()
657 p_tcd->tcd_image->tiles->comps = (opj_tcd_tilecomp_t *) opj_calloc( in opj_tcd_init()
659 if (! p_tcd->tcd_image->tiles->comps) { in opj_tcd_init()
663 p_tcd->tcd_image->tiles->numcomps = p_image->numcomps; in opj_tcd_init()
758 l_tile = p_tcd->tcd_image->tiles; in opj_tcd_init_tile()
[all …]
/external/pdfium/third_party/libtiff/
D0028-nstrips-OOM.patch14 isTiled(tif) ? "tiles" : "strips");
21 + isTiled(tif) ? "tiles" : "strips");
/external/tensorflow/tensorflow/compiler/xla/g3doc/
Dtiled_layout.md16 Intuitively tiles are laid out to cover the shape and then within each tile,
19 padding elements that are added in order to have complete 2x2 tiles even though
65 corresponds to a tile index in an array of tiles of size
69 ⌈d<sub>i</sub>/t<sub>i</sub>⌉ because if tiles overrun the bounds of the larger
70 array, padding is inserted as in Figure 1. Both the tiles and elements within
71 tiles are laid out recursively without tiling.
112 ⌈d<sub>1</sub>/t<sub>1</sub>⌉), which describes the number of tiles in each
143 # Combining dimensions using tiles
/external/libwebm/common/
Dvp9_level_stats.cc121 const int tiles = parser.column_tiles(); in AddFrame() local
122 if (tiles > max_column_tiles_) in AddFrame()
123 max_column_tiles_ = tiles; in AddFrame()

12345