Home
last modified time | relevance | path

Searched refs:tile_row (Results 1 – 25 of 31) sorted by relevance

12

/external/libaom/libaom/av1/encoder/
Dav1_multi_thread.c21 int tile_row, tile_col; in av1_row_mt_mem_alloc() local
30 for (tile_row = 0; tile_row < multi_thread_ctxt->allocated_tile_rows; in av1_row_mt_mem_alloc()
31 tile_row++) { in av1_row_mt_mem_alloc()
35 &cpi->tile_data[tile_row * multi_thread_ctxt->allocated_tile_cols + in av1_row_mt_mem_alloc()
53 int tile_row; in av1_row_mt_mem_dealloc() local
56 for (tile_row = 0; tile_row < multi_thread_ctxt->allocated_tile_rows; in av1_row_mt_mem_dealloc()
57 tile_row++) { in av1_row_mt_mem_dealloc()
61 &cpi->tile_data[tile_row * multi_thread_ctxt->allocated_tile_cols + in av1_row_mt_mem_dealloc()
Dethread.c234 for (int tile_row = 0; tile_row < tile_rows; tile_row++) { in switch_tile_and_get_next_job() local
236 int tile_index = tile_row * tile_cols + tile_col; in switch_tile_and_get_next_job()
311 int tile_row = this_tile->tile_info.tile_row; in enc_row_mt_worker_hook() local
329 av1_init_above_context(cm, &td->mb.e_mbd, tile_row); in enc_row_mt_worker_hook()
339 av1_encode_sb_row(cpi, td, tile_row, tile_col, current_mi_row); in enc_row_mt_worker_hook()
364 int tile_row = t / tile_cols; in enc_worker_hook() local
368 &cpi->tile_data[tile_row * cm->tile_cols + tile_col]; in enc_worker_hook()
371 av1_encode_tile(cpi, thread_data->td, tile_row, tile_col); in enc_worker_hook()
666 for (int tile_row = 0; tile_row < tile_rows; tile_row++) { in av1_encode_tiles_row_mt() local
668 int tile_id = tile_row * tile_cols + tile_col; in av1_encode_tiles_row_mt()
[all …]
Dsegmentation.c175 int tile_col, tile_row, mi_row, mi_col; in av1_choose_segmap_coding_method() local
183 for (tile_row = 0; tile_row < cm->tile_rows; tile_row++) { in av1_choose_segmap_coding_method()
185 av1_tile_set_row(&tile_info, cm, tile_row); in av1_choose_segmap_coding_method()
Dencodeframe.h38 void av1_encode_tile(struct AV1_COMP *cpi, struct ThreadData *td, int tile_row,
41 int tile_row, int tile_col, int mi_row);
Dbitstream.c1347 xd->above_txfm_context = cm->above_txfm_context[tile->tile_row] + mi_col; in write_mbmi_b()
1682 aom_writer *const w, int tile_row, int tile_col) { in write_modes() argument
1691 av1_zero_above_context(cm, xd, mi_col_start, mi_col_end, tile->tile_row); in write_modes()
1692 av1_init_above_context(cm, xd, tile->tile_row); in write_modes()
1706 cpi->tplist[tile_row][tile_col][sb_row_in_tile].start; in write_modes()
1708 tok + cpi->tplist[tile_row][tile_col][sb_row_in_tile].count; in write_modes()
1717 assert(tok == cpi->tplist[tile_row][tile_col][sb_row_in_tile].stop); in write_modes()
2188 const int tile_row, const int tile_col, in find_identical_tile() argument
2192 tile_buffers[tile_row][tile_col].data + 4; in find_identical_tile()
2193 const size_t cur_tile_size = tile_buffers[tile_row][tile_col].size; in find_identical_tile()
[all …]
Dlevel.c395 for (int tile_row = 0; tile_row < tile_rows; ++tile_row) { in get_tile_stats() local
398 &cpi->tile_data[tile_row * cm->tile_cols + tile_col].tile_info; in get_tile_stats()
Dencodeframe.c222 xd->above_txfm_context = cm->above_txfm_context[tile->tile_row] + mi_col; in set_offsets_without_segment_id()
1729 xd->above_txfm_context = cm->above_txfm_context[tile_info->tile_row] + mi_col; in rd_use_partition()
1990 xd->above_txfm_context = cm->above_txfm_context[tile_info->tile_row] + mi_col; in nonrd_use_partition()
2397 xd->above_txfm_context = cm->above_txfm_context[tile_info->tile_row] + mi_col; in rd_pick_sqr_partition()
3287 xd->above_txfm_context = cm->above_txfm_context[tile_info->tile_row] + mi_col; in rd_pick_partition()
4942 int tile_col, tile_row; in av1_alloc_tile_data() local
4950 for (tile_row = 0; tile_row < tile_rows; ++tile_row) in av1_alloc_tile_data()
4953 &cpi->tile_data[tile_row * tile_cols + tile_col]; in av1_alloc_tile_data()
4968 int tile_col, tile_row; in av1_init_tile_data() local
4974 for (tile_row = 0; tile_row < tile_rows; ++tile_row) { in av1_init_tile_data()
[all …]
Dencoder.h1182 static INLINE void get_start_tok(AV1_COMP *cpi, int tile_row, int tile_col, in get_start_tok() argument
1187 TileDataEnc *this_tile = &cpi->tile_data[tile_row * tile_cols + tile_col]; in get_start_tok()
1194 *tok = cpi->tile_tok[tile_row][tile_col] + in get_start_tok()
/external/libaom/libaom/av1/common/
Dalloccommon.c194 for (int tile_row = 0; tile_row < num_free_above_contexts; tile_row++) { in av1_free_above_context_buffers() local
196 aom_free(cm->above_context[i][tile_row]); in av1_free_above_context_buffers()
197 cm->above_context[i][tile_row] = NULL; in av1_free_above_context_buffers()
199 aom_free(cm->above_seg_context[tile_row]); in av1_free_above_context_buffers()
200 cm->above_seg_context[tile_row] = NULL; in av1_free_above_context_buffers()
202 aom_free(cm->above_txfm_context[tile_row]); in av1_free_above_context_buffers()
203 cm->above_txfm_context[tile_row] = NULL; in av1_free_above_context_buffers()
255 for (int tile_row = 0; tile_row < num_alloc_above_contexts; tile_row++) { in av1_alloc_above_context_buffers() local
257 cm->above_context[plane_idx][tile_row] = (ENTROPY_CONTEXT *)aom_calloc( in av1_alloc_above_context_buffers()
258 aligned_mi_cols, sizeof(*cm->above_context[0][tile_row])); in av1_alloc_above_context_buffers()
[all …]
Donyxc_int.h749 const int tile_row) { in av1_init_above_context() argument
752 xd->above_context[i] = cm->above_context[i][tile_row]; in av1_init_above_context()
754 xd->above_seg_context = cm->above_seg_context[tile_row]; in av1_init_above_context()
755 xd->above_txfm_context = cm->above_txfm_context[tile_row]; in av1_init_above_context()
1118 int mi_col_start, int mi_col_end, const int tile_row) { in av1_zero_above_context() argument
1130 av1_zero_array(cm->above_context[0][tile_row] + offset_y, width_y); in av1_zero_above_context()
1132 if (cm->above_context[1][tile_row] && cm->above_context[2][tile_row]) { in av1_zero_above_context()
1133 av1_zero_array(cm->above_context[1][tile_row] + offset_uv, width_uv); in av1_zero_above_context()
1134 av1_zero_array(cm->above_context[2][tile_row] + offset_uv, width_uv); in av1_zero_above_context()
1141 av1_zero_array(cm->above_seg_context[tile_row] + mi_col_start, aligned_width); in av1_zero_above_context()
[all …]
Dtile_common.h28 int tile_row; member
Drestoration.h324 typedef void (*rest_tile_start_visitor_t)(int tile_row, int tile_col,
Dtile_common.c128 tile->tile_row = row; in av1_tile_set_row()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_multi_thread.c71 int tile_row, tile_col; in vp9_row_mt_mem_alloc() local
112 for (tile_row = 1; tile_row < tile_rows; tile_row++) { in vp9_row_mt_mem_alloc()
114 TileDataEnc *this_tile = &cpi->tile_data[tile_row * tile_cols + tile_col]; in vp9_row_mt_mem_alloc()
121 for (tile_row = 0; tile_row < tile_rows; tile_row++) { in vp9_row_mt_mem_alloc()
122 TileDataEnc *this_tile = &cpi->tile_data[tile_row * tile_cols]; in vp9_row_mt_mem_alloc()
124 multi_thread_ctxt->num_tile_vert_sbs[tile_row] = in vp9_row_mt_mem_alloc()
133 int tile_row; in vp9_row_mt_mem_dealloc() local
156 for (tile_row = 0; tile_row < multi_thread_ctxt->allocated_tile_rows; in vp9_row_mt_mem_dealloc()
157 tile_row++) { in vp9_row_mt_mem_dealloc()
161 &cpi->tile_data[tile_row * multi_thread_ctxt->allocated_tile_cols + in vp9_row_mt_mem_dealloc()
[all …]
Dvp9_ethread.c50 int tile_row = t / tile_cols; in enc_worker_hook() local
53 vp9_encode_tile(cpi, thread_data->td, tile_row, tile_col); in enc_worker_hook()
399 int tile_row, tile_col; in first_pass_worker_hook() local
422 tile_row = proc_job->tile_row_id; in first_pass_worker_hook()
424 this_tile = &cpi->tile_data[tile_row * tile_cols + tile_col]; in first_pass_worker_hook()
490 int tile_row, tile_col; in temporal_filter_worker_hook() local
511 tile_row = proc_job->tile_row_id; in temporal_filter_worker_hook()
512 this_tile = &cpi->tile_data[tile_row * tile_cols + tile_col]; in temporal_filter_worker_hook()
569 int tile_row, tile_col; in enc_row_mt_worker_hook() local
588 tile_row = proc_job->tile_row_id; in enc_row_mt_worker_hook()
[all …]
Dvp9_encodeframe.h39 void vp9_encode_tile(struct VP9_COMP *cpi, struct ThreadData *td, int tile_row,
43 int tile_row, int tile_col, int mi_row);
Dvp9_bitstream.c485 vpx_writer *w, int tile_row, int tile_col, in write_modes() argument
499 tok = cpi->tplist[tile_row][tile_col][tile_sb_row].start; in write_modes()
500 tok_end = tok + cpi->tplist[tile_row][tile_col][tile_sb_row].count; in write_modes()
508 assert(tok == cpi->tplist[tile_row][tile_col][tile_sb_row].stop); in write_modes()
941 const int tile_row = 0; in encode_tile_worker() local
944 &data->bit_writer, tile_row, data->tile_idx, in encode_tile_worker()
1060 int tile_row, tile_col; in encode_tiles() local
1076 for (tile_row = 0; tile_row < tile_rows; tile_row++) { in encode_tiles()
1078 int tile_idx = tile_row * tile_cols + tile_col; in encode_tiles()
1080 if (tile_col < tile_cols - 1 || tile_row < tile_rows - 1) in encode_tiles()
[all …]
Dvp9_temporal_filter.c940 static void temporal_filter_iterate_tile_c(VP9_COMP *cpi, int tile_row, in temporal_filter_iterate_tile_c() argument
945 &cpi->tile_data[tile_row * tile_cols + tile_col].tile_info; in temporal_filter_iterate_tile_c()
962 int tile_row, tile_col; in temporal_filter_iterate_c() local
965 for (tile_row = 0; tile_row < tile_rows; ++tile_row) { in temporal_filter_iterate_c()
967 temporal_filter_iterate_tile_c(cpi, tile_row, tile_col); in temporal_filter_iterate_c()
Dvp9_encodeframe.c5543 int tile_col, tile_row; in vp9_init_tile_data() local
5556 for (tile_row = 0; tile_row < tile_rows; ++tile_row) in vp9_init_tile_data()
5559 &cpi->tile_data[tile_row * tile_cols + tile_col]; in vp9_init_tile_data()
5576 for (tile_row = 0; tile_row < tile_rows; ++tile_row) { in vp9_init_tile_data()
5578 TileDataEnc *this_tile = &cpi->tile_data[tile_row * tile_cols + tile_col]; in vp9_init_tile_data()
5583 vp9_tile_init(tile_info, cm, tile_row, tile_col); in vp9_init_tile_data()
5585 cpi->tile_tok[tile_row][tile_col] = pre_tok + tile_tok; in vp9_init_tile_data()
5586 pre_tok = cpi->tile_tok[tile_row][tile_col]; in vp9_init_tile_data()
5589 cpi->tplist[tile_row][tile_col] = tplist + tplist_count; in vp9_init_tile_data()
5590 tplist = cpi->tplist[tile_row][tile_col]; in vp9_init_tile_data()
[all …]
Dvp9_encoder.h975 static INLINE void get_start_tok(VP9_COMP *cpi, int tile_row, int tile_col, in get_start_tok() argument
979 TileDataEnc *this_tile = &cpi->tile_data[tile_row * tile_cols + tile_col]; in get_start_tok()
986 cpi->tile_tok[tile_row][tile_col] + get_token_alloc(mb_row, tile_mb_cols); in get_start_tok()
/external/libaom/libaom/examples/
Dlightfield_bitstream_parsing.c82 int tile_row; member
142 int tr = tiles[i].tile_row; in process_tile_list()
379 &tiles[num_tiles].tile_row) == 4) { in main()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c3022 pbi->tile_data + tile_info.tile_row * cm->tile_cols + tile_info.tile_col; in decode_tile_sb_row()
3088 static void decode_tile(AV1Decoder *pbi, ThreadData *const td, int tile_row, in decode_tile() argument
3095 av1_tile_set_row(&tile_info, cm, tile_row); in decode_tile()
3098 tile_info.mi_col_end, tile_row); in decode_tile()
3145 int tile_row, tile_col; in decode_tiles() local
3210 for (tile_row = tile_rows_start; tile_row < tile_rows_end; ++tile_row) { in decode_tiles()
3211 const int row = inv_row_order ? tile_rows - 1 - tile_row : tile_row; in decode_tiles()
3290 int tile_row = tile_data->tile_info.tile_row; in tile_worker_hook_init() local
3295 av1_tile_init(&td->xd.tile, cm, tile_row, tile_col); in tile_worker_hook_init()
3311 av1_init_above_context(cm, &td->xd, tile_row); in tile_worker_hook_init()
[all …]
Ddecoder.h71 int tile_row; member
/external/libhevc/decoder/
Dihevcd_utils.c360 WORD32 tile_row, tile_col; in ihevcd_get_tile_pos() local
371 tile_row = 0; in ihevcd_get_tile_pos()
420 tile_row = i; in ihevcd_get_tile_pos()
426 *pi4_tile_idx = tile_row * ps_pps->i1_num_tile_columns in ihevcd_get_tile_pos()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c1699 int tile_row, tile_col; in decode_tiles() local
1738 for (tile_row = 0; tile_row < tile_rows; ++tile_row) { in decode_tiles()
1740 const TileBuffer *const buf = &tile_buffers[tile_row][tile_col]; in decode_tiles()
1741 tile_data = pbi->tile_worker_data + tile_cols * tile_row + tile_col; in decode_tiles()
1747 vp9_tile_init(&tile_data->xd.tile, cm, tile_row, tile_col); in decode_tiles()
1755 for (tile_row = 0; tile_row < tile_rows; ++tile_row) { in decode_tiles()
1757 vp9_tile_set_row(&tile, cm, tile_row); in decode_tiles()
1763 tile_data = pbi->tile_worker_data + tile_cols * tile_row + col; in decode_tiles()

12