/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_multi_thread.c | 55 TileDataEnc *const this_tile) { in vp9_row_mt_alloc_rd_thresh() argument 61 this_tile->row_base_thresh_freq_fact = in vp9_row_mt_alloc_rd_thresh() 63 sizeof(*(this_tile->row_base_thresh_freq_fact))); in vp9_row_mt_alloc_rd_thresh() 65 this_tile->row_base_thresh_freq_fact[i] = RD_THRESH_INIT_FACT; in vp9_row_mt_alloc_rd_thresh() 100 TileDataEnc *this_tile = &cpi->tile_data[tile_col]; in vp9_row_mt_mem_alloc() local 101 vp9_row_mt_sync_mem_alloc(&this_tile->row_mt_sync, cm, jobs_per_tile_col); in vp9_row_mt_mem_alloc() 103 if (this_tile->row_base_thresh_freq_fact != NULL) { in vp9_row_mt_mem_alloc() 104 vpx_free(this_tile->row_base_thresh_freq_fact); in vp9_row_mt_mem_alloc() 105 this_tile->row_base_thresh_freq_fact = NULL; in vp9_row_mt_mem_alloc() 107 vp9_row_mt_alloc_rd_thresh(cpi, this_tile); in vp9_row_mt_mem_alloc() [all …]
|
D | vp9_ethread.c | 400 TileDataEnc *this_tile; in first_pass_worker_hook() local 424 this_tile = &cpi->tile_data[tile_row * tile_cols + tile_col]; in first_pass_worker_hook() 431 this_tile, &best_ref_mv, mb_row); in first_pass_worker_hook() 479 TileDataEnc *this_tile = &cpi->tile_data[i]; in vp9_encode_fp_row_mt() local 480 accumulate_fp_tile_stat(first_tile_col, this_tile); in vp9_encode_fp_row_mt() 492 TileDataEnc *this_tile; in temporal_filter_worker_hook() local 512 this_tile = &cpi->tile_data[tile_row * tile_cols + tile_col]; in temporal_filter_worker_hook() 513 mb_col_start = (this_tile->tile_info.mi_col_start) >> TF_SHIFT; in temporal_filter_worker_hook() 514 mb_col_end = (this_tile->tile_info.mi_col_end + TF_ROUND) >> TF_SHIFT; in temporal_filter_worker_hook()
|
D | vp9_firstpass.c | 780 static void accumulate_fp_mb_row_stat(TileDataEnc *this_tile, in accumulate_fp_mb_row_stat() argument 782 this_tile->fp_data.intra_factor += fp_acc_data->intra_factor; in accumulate_fp_mb_row_stat() 783 this_tile->fp_data.brightness_factor += fp_acc_data->brightness_factor; in accumulate_fp_mb_row_stat() 784 this_tile->fp_data.coded_error += fp_acc_data->coded_error; in accumulate_fp_mb_row_stat() 785 this_tile->fp_data.sr_coded_error += fp_acc_data->sr_coded_error; in accumulate_fp_mb_row_stat() 786 this_tile->fp_data.frame_noise_energy += fp_acc_data->frame_noise_energy; in accumulate_fp_mb_row_stat() 787 this_tile->fp_data.intra_error += fp_acc_data->intra_error; in accumulate_fp_mb_row_stat() 788 this_tile->fp_data.intercount += fp_acc_data->intercount; in accumulate_fp_mb_row_stat() 789 this_tile->fp_data.second_ref_count += fp_acc_data->second_ref_count; in accumulate_fp_mb_row_stat() 790 this_tile->fp_data.neutral_count += fp_acc_data->neutral_count; in accumulate_fp_mb_row_stat() [all …]
|
D | vp9_multi_thread.h | 33 TileDataEnc *const this_tile);
|
D | vp9_encoder.h | 979 TileDataEnc *this_tile = &cpi->tile_data[tile_row * tile_cols + tile_col]; in get_start_tok() local 980 const TileInfo *const tile_info = &this_tile->tile_info; in get_start_tok()
|
D | vp9_encodeframe.c | 5578 TileDataEnc *this_tile = &cpi->tile_data[tile_row * tile_cols + tile_col]; in vp9_init_tile_data() local 5579 TileInfo *tile_info = &this_tile->tile_info; in vp9_init_tile_data() 5581 this_tile->row_base_thresh_freq_fact == NULL) in vp9_init_tile_data() 5582 vp9_row_mt_alloc_rd_thresh(cpi, this_tile); in vp9_init_tile_data() 5600 TileDataEnc *this_tile = &cpi->tile_data[tile_row * tile_cols + tile_col]; in vp9_encode_sb_row() local 5601 const TileInfo *const tile_info = &this_tile->tile_info; in vp9_encode_sb_row() 5612 encode_nonrd_sb_row(cpi, td, this_tile, mi_row, &tok); in vp9_encode_sb_row() 5614 encode_rd_sb_row(cpi, td, this_tile, mi_row, &tok); in vp9_encode_sb_row() 5630 TileDataEnc *this_tile = &cpi->tile_data[tile_row * tile_cols + tile_col]; in vp9_encode_tile() local 5631 const TileInfo *const tile_info = &this_tile->tile_info; in vp9_encode_tile()
|
/external/libaom/libaom/av1/encoder/ |
D | av1_multi_thread.c | 34 TileDataEnc *this_tile = in av1_row_mt_mem_alloc() local 37 av1_row_mt_sync_mem_alloc(&this_tile->row_mt_sync, cm, max_sb_rows); in av1_row_mt_mem_alloc() 40 cm, this_tile->row_ctx, in av1_row_mt_mem_alloc() 43 AOMMAX(1, (av1_get_sb_cols_in_tile(cm, this_tile->tile_info) - in av1_row_mt_mem_alloc() 45 sizeof(*this_tile->row_ctx))); in av1_row_mt_mem_alloc() 60 TileDataEnc *this_tile = in av1_row_mt_mem_dealloc() local 63 av1_row_mt_sync_mem_dealloc(&this_tile->row_mt_sync); in av1_row_mt_mem_dealloc() 64 if (cpi->oxcf.cdf_update_mode) aom_free(this_tile->row_ctx); in av1_row_mt_mem_dealloc()
|
D | ethread.c | 211 TileDataEnc *const this_tile = &cpi->tile_data[cur_tile_id]; in get_next_job() local 212 AV1RowMTInfo *row_mt_info = &this_tile->row_mt_info; in get_next_job() 214 if (row_mt_info->current_mi_row < this_tile->tile_info.mi_row_end) { in get_next_job() 237 TileDataEnc *this_tile = &cpi->tile_data[tile_index]; in switch_tile_and_get_next_job() local 238 AV1RowMTInfo *row_mt_info = &this_tile->row_mt_info; in switch_tile_and_get_next_job() 240 av1_get_sb_rows_in_tile(cm, this_tile->tile_info); in switch_tile_and_get_next_job() 242 av1_get_sb_cols_in_tile(cm, this_tile->tile_info); in switch_tile_and_get_next_job() 248 this_tile->tile_info.mi_row_end - row_mt_info->current_mi_row; in switch_tile_and_get_next_job() 310 TileDataEnc *const this_tile = &cpi->tile_data[cur_tile_id]; in enc_row_mt_worker_hook() local 311 int tile_row = this_tile->tile_info.tile_row; in enc_row_mt_worker_hook() [all …]
|
D | encoder.h | 1187 TileDataEnc *this_tile = &cpi->tile_data[tile_row * tile_cols + tile_col]; in get_start_tok() local 1188 const TileInfo *const tile_info = &this_tile->tile_info; in get_start_tok()
|
D | encodeframe.c | 5001 TileDataEnc *this_tile = &cpi->tile_data[tile_row * tile_cols + tile_col]; in av1_encode_sb_row() local 5002 const TileInfo *const tile_info = &this_tile->tile_info; in av1_encode_sb_row() 5015 encode_sb_row(cpi, td, this_tile, mi_row, &tok, cpi->sf.use_nonrd_pick_mode); in av1_encode_sb_row() 5035 TileDataEnc *const this_tile = in av1_encode_tile() local 5037 const TileInfo *const tile_info = &this_tile->tile_info; in av1_encode_tile() 5040 av1_inter_mode_data_init(this_tile); in av1_encode_tile() 5047 this_tile->m_search_count = 0; // Count of motion search hits. in av1_encode_tile() 5048 this_tile->ex_search_count = 0; // Exhaustive mesh search hits. in av1_encode_tile() 5049 td->mb.m_search_count_ptr = &this_tile->m_search_count; in av1_encode_tile() 5050 td->mb.ex_search_count_ptr = &this_tile->ex_search_count; in av1_encode_tile() [all …]
|
D | bitstream.c | 3479 TileDataEnc *this_tile = &cpi->tile_data[tile_idx]; in write_tiles_in_tg_obus() local 3487 cpi->td.mb.e_mbd.tile_ctx = &this_tile->tctx; in write_tiles_in_tg_obus() 3584 TileDataEnc *this_tile = &cpi->tile_data[tile_idx]; in write_tiles_in_tg_obus() local 3626 cpi->td.mb.e_mbd.tile_ctx = &this_tile->tctx; in write_tiles_in_tg_obus()
|