/external/libaom/libaom/av1/common/ |
D | tile_common.c | 38 const int sb_rows = mi_rows >> seq_params->mib_size_log2; in av1_get_tile_limits() local 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() 57 int sb_rows = mi_rows >> seq_params->mib_size_log2; in av1_calculate_tile_cols() local 76 tiles->max_height_sb = sb_rows >> tiles->min_log2_rows; in av1_calculate_tile_cols() 84 int max_tile_area_sb = (sb_rows * sb_cols); in av1_calculate_tile_cols() 109 int sb_rows = mi_rows >> seq_params->mib_size_log2; in av1_calculate_tile_rows() local 113 size_sb = ALIGN_POWER_OF_TWO(sb_rows, tiles->log2_rows); in av1_calculate_tile_rows() 116 for (i = 0, start_sb = 0; start_sb < sb_rows; i++) { in av1_calculate_tile_rows() 121 tiles->row_start_sb[i] = sb_rows; in av1_calculate_tile_rows() [all …]
|
D | thread_common.c | 409 int sb_rows; in loop_filter_rows_mt() local 411 sb_rows = ALIGN_POWER_OF_TWO(cm->mi_params.mi_rows, MIN_MIB_SIZE_LOG2) >> in loop_filter_rows_mt() 414 sb_rows = ALIGN_POWER_OF_TWO(cm->mi_params.mi_rows, MAX_MIB_SIZE_LOG2) >> in loop_filter_rows_mt() 419 const int sb_rows = in loop_filter_rows_mt() local 426 if (!lf_sync->sync_range || sb_rows != lf_sync->rows || in loop_filter_rows_mt() 429 loop_filter_alloc(lf_sync, cm, sb_rows, cm->width, num_workers); in loop_filter_rows_mt() 435 sizeof(*(lf_sync->cur_sb_col[i])) * sb_rows); in loop_filter_rows_mt()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_multi_thread.c | 57 const int sb_rows = in vp9_row_mt_alloc_rd_thresh() local 62 (int *)vpx_calloc(sb_rows * BLOCK_SIZES * MAX_MODES, in vp9_row_mt_alloc_rd_thresh() 64 for (i = 0; i < sb_rows * BLOCK_SIZES * MAX_MODES; i++) in vp9_row_mt_alloc_rd_thresh() 74 const int sb_rows = mi_cols_aligned_to_sb(cm->mi_rows) >> MI_BLOCK_SIZE_LOG2; in vp9_row_mt_mem_alloc() local 79 jobs_per_tile_col = VPXMAX(cm->mb_rows, sb_rows); in vp9_row_mt_mem_alloc() 175 const int sb_rows = mi_cols_aligned_to_sb(cm->mi_rows) >> MI_BLOCK_SIZE_LOG2; in vp9_multi_thread_tile_init() local 180 int jobs_per_tile_col = cpi->oxcf.pass == 1 ? cm->mb_rows : sb_rows; in vp9_multi_thread_tile_init() 235 const int sb_rows = mi_cols_aligned_to_sb(cm->mi_rows) >> MI_BLOCK_SIZE_LOG2; in vp9_prepare_job_queue() local 239 case ENCODE_JOB: jobs_per_tile_col = sb_rows; break; in vp9_prepare_job_queue()
|
D | vp9_aq_cyclicrefresh.c | 365 int i, block_count, bl_index, sb_rows, sb_cols, sbs_in_frame; in cyclic_refresh_update_map() local 373 sb_rows = (cm->mi_rows + MI_BLOCK_SIZE - 1) / MI_BLOCK_SIZE; in cyclic_refresh_update_map() 374 sbs_in_frame = sb_cols * sb_rows; in cyclic_refresh_update_map()
|
D | vp9_ratectrl.c | 3006 int sb_rows = (num_mi_rows + MI_BLOCK_SIZE - 1) / MI_BLOCK_SIZE; in vp9_scene_detection_onepass() local 3014 for (sbi_row = 0; sbi_row < sb_rows; ++sbi_row) { in vp9_scene_detection_onepass() 3018 (sbi_row < sb_rows - 1 && sbi_col < sb_cols - 1) && in vp9_scene_detection_onepass()
|
D | vp9_encoder.c | 1384 int sb_rows; in alloc_compressor_data() local 1398 sb_rows = mi_cols_aligned_to_sb(cm->mi_rows) >> MI_BLOCK_SIZE_LOG2; in alloc_compressor_data() 1402 vpx_calloc(sb_rows * 4 * (1 << 6), sizeof(*cpi->tplist[0][0]))); in alloc_compressor_data()
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_thread_common.c | 164 const int sb_rows = mi_cols_aligned_to_sb(cm->mi_rows) >> MI_BLOCK_SIZE_LOG2; in loop_filter_rows_mt() local 170 const int num_workers = VPXMIN(nworkers, VPXMIN(num_tile_cols, sb_rows)); in loop_filter_rows_mt() 173 if (!lf_sync->sync_range || sb_rows != lf_sync->rows || in loop_filter_rows_mt() 176 vp9_loop_filter_alloc(lf_sync, cm, sb_rows, cm->width, num_workers); in loop_filter_rows_mt() 181 memset(lf_sync->cur_sb_col, -1, sizeof(*lf_sync->cur_sb_col) * sb_rows); in loop_filter_rows_mt() 244 const int sb_rows = mi_cols_aligned_to_sb(cm->mi_rows) >> MI_BLOCK_SIZE_LOG2; in vp9_lpf_mt_init() local 248 if (!lf_sync->sync_range || sb_rows != lf_sync->rows || in vp9_lpf_mt_init() 251 vp9_loop_filter_alloc(lf_sync, cm, sb_rows, cm->width, num_workers); in vp9_lpf_mt_init() 255 memset(lf_sync->cur_sb_col, -1, sizeof(*lf_sync->cur_sb_col) * sb_rows); in vp9_lpf_mt_init() 260 sizeof(*lf_sync->num_tiles_done) * sb_rows); in vp9_lpf_mt_init()
|
/external/libaom/libaom/av1/encoder/ |
D | aq_cyclicrefresh.c | 267 int i, block_count, bl_index, sb_rows, sb_cols, sbs_in_frame; in cyclic_refresh_update_map() local 272 sb_rows = (mi_params->mi_rows + cm->seq_params.mib_size - 1) / in cyclic_refresh_update_map() 274 sbs_in_frame = sb_cols * sb_rows; in cyclic_refresh_update_map()
|
D | encoder.h | 1572 const int sb_rows = ALIGN_POWER_OF_TWO(mb_rows, shift) >> shift; in get_token_alloc() local 1578 return sb_rows * sb_cols * sb_palette_toks; in get_token_alloc()
|
D | encoder.c | 1120 int sb_rows = mi_rows_aligned_to_sb >> cm->seq_params.mib_size_log2; in alloc_compressor_data() local 1139 aom_calloc(sb_rows * MAX_TILE_ROWS * MAX_TILE_COLS, in alloc_compressor_data() 1206 int sb_rows = mi_rows >> seq_params->mib_size_log2; in set_tile_info() local 1208 for (i = 0, start_sb = 0; start_sb < sb_rows && i < MAX_TILE_ROWS; i++) { in set_tile_info() 1215 tiles->row_start_sb[i] = sb_rows; in set_tile_info()
|
/external/libgav1/libgav1/src/ |
D | obu_parser.cc | 1598 const int sb_rows = sequence_header_.use_128x128_superblock in ParseTileInfoSyntax() local 1602 tile_info->sb_rows = sb_rows; in ParseTileInfoSyntax() 1611 CeilLog2(std::min(sb_rows, static_cast<int>(kMaxTileRows))); in ParseTileInfoSyntax() 1613 minlog2_tile_columns, TileLog2(sb_max_tile_area, sb_rows * sb_columns)); in ParseTileInfoSyntax() 1655 (sb_rows + (1 << tile_info->tile_rows_log2) - 1) >> in ParseTileInfoSyntax() 1659 for (int sb_start = 0; sb_start < sb_rows; sb_start += sb_tile_height) { in ParseTileInfoSyntax() 1694 int max_tile_area_sb = sb_rows * sb_columns; in ParseTileInfoSyntax() 1700 for (int sb_start = 0; sb_start < sb_rows; ++i) { in ParseTileInfoSyntax() 1706 const int max_height = std::min(sb_rows - sb_start, max_tile_height_sb); in ParseTileInfoSyntax()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decodeframe.c | 1774 const int sb_rows = aligned_rows >> MI_BLOCK_SIZE_LOG2; in vp9_jobq_alloc() local 1776 const size_t jobq_size = (tile_cols * sb_rows * 2 + sb_rows) * sizeof(Job); in vp9_jobq_alloc() 1902 const int sb_rows = aligned_rows >> MI_BLOCK_SIZE_LOG2; in row_decode_worker_hook() local 1924 const int is_last_row = sb_rows - 1 == cur_sb_row; in row_decode_worker_hook() 2165 const int sb_rows = (aligned_rows >> MI_BLOCK_SIZE_LOG2); in set_rows_after_error() local 2168 const int is_last_row = (sb_rows - 1 == mi_row >> MI_BLOCK_SIZE_LOG2); in set_rows_after_error() 2241 const int sb_rows = (aligned_rows >> MI_BLOCK_SIZE_LOG2); in tile_worker_hook() local 2242 const int is_last_row = (sb_rows - 1 == mi_row >> MI_BLOCK_SIZE_LOG2); in tile_worker_hook() 2333 const int sb_rows = mi_cols_aligned_to_sb(cm->mi_rows) >> MI_BLOCK_SIZE_LOG2; in decode_tiles_row_wise_mt() local 2343 sb_rows * sb_cols * sizeof(*row_mt_worker_data->recon_map)); in decode_tiles_row_wise_mt() [all …]
|
/external/libgav1/libgav1/src/utils/ |
D | types.h | 302 int sb_rows; member
|
/external/libaom/libaom/av1/decoder/ |
D | decodeframe.c | 2994 int sb_rows = av1_get_sb_rows_in_tile(cm, tile); in get_max_row_mt_workers_per_tile() local 2996 sb_rows == 1 ? AOM_MIN_THREADS_PER_TILE : AOM_MAX_THREADS_PER_TILE; in get_max_row_mt_workers_per_tile()
|