/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_ethread.c | 229 static void accumulate_fp_tile_stat(TileDataEnc *tile_data, in accumulate_fp_tile_stat() argument 231 tile_data->fp_data.intra_factor += tile_data_t->fp_data.intra_factor; in accumulate_fp_tile_stat() 232 tile_data->fp_data.brightness_factor += in accumulate_fp_tile_stat() 234 tile_data->fp_data.coded_error += tile_data_t->fp_data.coded_error; in accumulate_fp_tile_stat() 235 tile_data->fp_data.sr_coded_error += tile_data_t->fp_data.sr_coded_error; in accumulate_fp_tile_stat() 236 tile_data->fp_data.frame_noise_energy += in accumulate_fp_tile_stat() 238 tile_data->fp_data.intra_error += tile_data_t->fp_data.intra_error; in accumulate_fp_tile_stat() 239 tile_data->fp_data.intercount += tile_data_t->fp_data.intercount; in accumulate_fp_tile_stat() 240 tile_data->fp_data.second_ref_count += tile_data_t->fp_data.second_ref_count; in accumulate_fp_tile_stat() 241 tile_data->fp_data.neutral_count += tile_data_t->fp_data.neutral_count; in accumulate_fp_tile_stat() [all …]
|
D | vp9_multi_thread.c | 100 TileDataEnc *this_tile = &cpi->tile_data[tile_col]; 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() 115 TileDataEnc *this_col_tile = &cpi->tile_data[tile_col]; in vp9_row_mt_mem_alloc() 122 TileDataEnc *this_tile = &cpi->tile_data[tile_row * tile_cols]; in vp9_row_mt_mem_alloc() 151 TileDataEnc *this_tile = &cpi->tile_data[tile_col]; in vp9_row_mt_mem_dealloc() 161 &cpi->tile_data[tile_row * multi_thread_ctxt->allocated_tile_cols + in vp9_row_mt_mem_dealloc() 179 TileDataEnc *this_tile = &cpi->tile_data[i]; in vp9_multi_thread_tile_init()
|
D | vp9_rdopt.h | 33 struct TileDataEnc *tile_data, 39 struct VP9_COMP *cpi, struct TileDataEnc *tile_data, struct macroblock *x, 49 struct TileDataEnc *tile_data,
|
D | vp9_encodeframe.c | 1923 static void rd_pick_sb_modes(VP9_COMP *cpi, TileDataEnc *tile_data, in rd_pick_sb_modes() argument 1928 TileInfo *const tile_info = &tile_data->tile_info; in rd_pick_sb_modes() 2001 vp9_rd_pick_inter_mode_sb_seg_skip(cpi, tile_data, x, rd_cost, bsize, in rd_pick_sb_modes() 2004 vp9_rd_pick_inter_mode_sb(cpi, tile_data, x, mi_row, mi_col, rd_cost, in rd_pick_sb_modes() 2007 vp9_rd_pick_inter_mode_sub8x8(cpi, tile_data, x, mi_row, mi_col, rd_cost, in rd_pick_sb_modes() 2578 TileDataEnc *tile_data, MODE_INFO **mi_8x8, in rd_use_partition() argument 2583 TileInfo *const tile_info = &tile_data->tile_info; in rd_use_partition() 2644 rd_pick_sb_modes(cpi, tile_data, x, mi_row, mi_col, &none_rdc, bsize, ctx, in rd_use_partition() 2663 rd_pick_sb_modes(cpi, tile_data, x, mi_row, mi_col, &last_part_rdc, bsize, in rd_use_partition() 2668 rd_pick_sb_modes(cpi, tile_data, x, mi_row, mi_col, &last_part_rdc, in rd_use_partition() [all …]
|
D | vp9_pickmode.h | 23 void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, TileDataEnc *tile_data,
|
D | vp9_firstpass.h | 207 struct TileDataEnc *tile_data,
|
D | vp9_pickmode.c | 1077 VP9_COMP *cpi, TileDataEnc *tile_data, int source_variance, in update_thresh_freq_fact_row_mt() argument 1082 int *freq_fact = &tile_data->row_base_thresh_freq_fact[freq_fact_idx]; in update_thresh_freq_fact_row_mt() 1095 VP9_COMP *cpi, TileDataEnc *tile_data, int source_variance, in update_thresh_freq_fact() argument 1099 int *freq_fact = &tile_data->thresh_freq_fact[bsize][thr_mode_idx]; in update_thresh_freq_fact() 1215 const int flag_list[4], TileDataEnc *tile_data, int mi_row, int mi_col, in find_predictors() argument 1221 TileInfo *const tile_info = &tile_data->tile_info; in find_predictors() 1615 void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, TileDataEnc *tile_data, in vp9_pick_inter_mode() argument 1647 ? &(tile_data->row_base_thresh_freq_fact[thresh_freq_fact_idx]) in vp9_pick_inter_mode() 1648 : tile_data->thresh_freq_fact[bsize]; in vp9_pick_inter_mode() 1920 &ref_frame_skip_mask, flag_list, tile_data, mi_row, in vp9_pick_inter_mode() [all …]
|
D | vp9_firstpass.c | 816 TileDataEnc *tile_data, MV *best_ref_mv, in vp9_first_pass_encode_tile_mb_row() argument 822 TileInfo tile = tile_data->tile_info; in vp9_first_pass_encode_tile_mb_row() 829 int num_mb_cols = get_num_cols(tile_data->tile_info, 1); in vp9_first_pass_encode_tile_mb_row() 889 (*(cpi->row_mt_sync_read_ptr))(&tile_data->row_mt_sync, mb_row, c); in vp9_first_pass_encode_tile_mb_row() 1313 accumulate_fp_mb_row_stat(tile_data, fp_acc_data); in vp9_first_pass_encode_tile_mb_row() 1315 (*(cpi->row_mt_sync_write_ptr))(&tile_data->row_mt_sync, mb_row, c, in vp9_first_pass_encode_tile_mb_row() 1324 TileDataEnc tile_data; in first_pass_encode() local 1325 TileInfo *tile = &tile_data.tile_info; in first_pass_encode() 1333 vp9_first_pass_encode_tile_mb_row(cpi, &cpi->td, fp_acc_data, &tile_data, in first_pass_encode() 1414 first_tile_col = &cpi->tile_data[0]; in vp9_first_pass()
|
D | vp9_encoder.h | 597 TileDataEnc *tile_data; member 979 TileDataEnc *this_tile = &cpi->tile_data[tile_row * tile_cols + tile_col]; in get_start_tok()
|
D | vp9_rdopt.c | 3147 void vp9_rd_pick_inter_mode_sb(VP9_COMP *cpi, TileDataEnc *tile_data, in vp9_rd_pick_inter_mode_sb() argument 3152 TileInfo *const tile_info = &tile_data->tile_info; in vp9_rd_pick_inter_mode_sb() 3194 const int *const rd_thresh_freq_fact = tile_data->thresh_freq_fact[bsize]; in vp9_rd_pick_inter_mode_sb() 3196 int8_t *tile_mode_map = tile_data->mode_map[bsize]; in vp9_rd_pick_inter_mode_sb() 3782 vp9_update_rd_thresh_fact(tile_data->thresh_freq_fact, in vp9_rd_pick_inter_mode_sb() 3836 void vp9_rd_pick_inter_mode_sb_seg_skip(VP9_COMP *cpi, TileDataEnc *tile_data, in vp9_rd_pick_inter_mode_sb_seg_skip() argument 3922 vp9_update_rd_thresh_fact(tile_data->thresh_freq_fact, in vp9_rd_pick_inter_mode_sb_seg_skip() 3932 void vp9_rd_pick_inter_mode_sub8x8(VP9_COMP *cpi, TileDataEnc *tile_data, in vp9_rd_pick_inter_mode_sub8x8() argument 3975 const int *const rd_thresh_freq_fact = tile_data->thresh_freq_fact[bsize]; in vp9_rd_pick_inter_mode_sub8x8() 4523 vp9_update_rd_thresh_fact(tile_data->thresh_freq_fact, sf->adaptive_rd_thresh, in vp9_rd_pick_inter_mode_sub8x8()
|
D | vp9_bitstream.c | 943 write_modes(cpi, xd, &cpi->tile_data[data->tile_idx].tile_info, in encode_tile_worker() 1085 write_modes(cpi, xd, &cpi->tile_data[tile_idx].tile_info, &residual_bc, in encode_tiles()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decodeframe.c | 1701 TileWorkerData *tile_data = NULL; in decode_tiles() local 1741 tile_data = pbi->tile_worker_data + tile_cols * tile_row + tile_col; in decode_tiles() 1742 tile_data->xd = pbi->mb; in decode_tiles() 1743 tile_data->xd.corrupted = 0; in decode_tiles() 1744 tile_data->xd.counts = in decode_tiles() 1746 vp9_zero(tile_data->dqcoeff); in decode_tiles() 1747 vp9_tile_init(&tile_data->xd.tile, cm, tile_row, tile_col); in decode_tiles() 1749 &tile_data->bit_reader, pbi->decrypt_cb, in decode_tiles() 1751 vp9_init_macroblockd(cm, &tile_data->xd, tile_data->dqcoeff); in decode_tiles() 1763 tile_data = pbi->tile_worker_data + tile_cols * tile_row + col; in decode_tiles() [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | encodeframe.c | 67 static void encode_superblock(const AV1_COMP *const cpi, TileDataEnc *tile_data, 331 const TileDataEnc *const tile_data, ThreadData *td, in update_state() argument 438 update_filter_type_count(tile_data->allow_update_cdf, td->counts, xd, in update_state() 506 static void pick_sb_modes(AV1_COMP *const cpi, TileDataEnc *tile_data, in pick_sb_modes() argument 513 TileInfo *const tile_info = &tile_data->tile_info; in pick_sb_modes() 653 av1_rd_pick_inter_mode_sb_seg_skip(cpi, tile_data, x, mi_row, mi_col, in pick_sb_modes() 659 av1_nonrd_pick_inter_mode_sb(cpi, tile_data, x, mi_row, mi_col, rd_cost, in pick_sb_modes() 662 av1_rd_pick_inter_mode_sb(cpi, tile_data, x, mi_row, mi_col, rd_cost, in pick_sb_modes() 906 static void update_stats(const AV1_COMMON *const cm, TileDataEnc *tile_data, in update_stats() argument 915 const uint8_t allow_update_cdf = tile_data->allow_update_cdf; in update_stats() [all …]
|
D | rdopt.h | 121 struct TileDataEnc *tile_data, 127 struct TileDataEnc *tile_data, 134 const struct AV1_COMP *cpi, struct TileDataEnc *tile_data, 169 void av1_inter_mode_data_init(struct TileDataEnc *tile_data); 170 void av1_inter_mode_data_fit(TileDataEnc *tile_data, int rdmult);
|
D | ethread.c | 40 TileDataEnc *tile_data = &cpi->tile_data[row * cm->tile_cols + col]; in update_delta_lf_for_row_mt() local 41 const TileInfo *const tile_info = &tile_data->tile_info; in update_delta_lf_for_row_mt() 211 TileDataEnc *const this_tile = &cpi->tile_data[cur_tile_id]; in get_next_job() 237 TileDataEnc *this_tile = &cpi->tile_data[tile_index]; in switch_tile_and_get_next_job() 310 TileDataEnc *const this_tile = &cpi->tile_data[cur_tile_id]; in enc_row_mt_worker_hook() 368 &cpi->tile_data[tile_row * cm->tile_cols + tile_col]; in enc_worker_hook() 593 if (cpi->tile_data == NULL || cpi->allocated_tiles < tile_cols * tile_rows) in av1_encode_tiles_mt() 630 if (cpi->tile_data == NULL || cpi->allocated_tiles < tile_cols * tile_rows) { in av1_encode_tiles_row_mt() 639 TileDataEnc *tile_data = &cpi->tile_data[row * cm->tile_cols + col]; in av1_encode_tiles_row_mt() local 641 av1_get_sb_rows_in_tile(cm, tile_data->tile_info); in av1_encode_tiles_row_mt() [all …]
|
D | av1_multi_thread.c | 35 &cpi->tile_data[tile_row * multi_thread_ctxt->allocated_tile_cols + in av1_row_mt_mem_alloc() 61 &cpi->tile_data[tile_row * multi_thread_ctxt->allocated_tile_cols + in av1_row_mt_mem_dealloc()
|
D | rdopt.c | 744 void av1_inter_mode_data_init(TileDataEnc *tile_data) { in av1_inter_mode_data_init() argument 746 InterModeRdModel *md = &tile_data->inter_mode_rd_models[i]; in av1_inter_mode_data_init() 757 static int get_est_rate_dist(const TileDataEnc *tile_data, BLOCK_SIZE bsize, in get_est_rate_dist() argument 761 const InterModeRdModel *md = &tile_data->inter_mode_rd_models[bsize]; in get_est_rate_dist() 792 void av1_inter_mode_data_fit(TileDataEnc *tile_data, int rdmult) { in av1_inter_mode_data_fit() argument 796 InterModeRdModel *md = &tile_data->inter_mode_rd_models[bsize]; in av1_inter_mode_data_fit() 843 static void inter_mode_data_push(TileDataEnc *tile_data, BLOCK_SIZE bsize, in inter_mode_data_push() argument 848 InterModeRdModel *rd_model = &tile_data->inter_mode_rd_models[bsize]; in inter_mode_data_push() 2569 const TileDataEnc *tile_data, in PrintPredictionUnitStats() argument 2577 (tile_data == NULL || in PrintPredictionUnitStats() [all …]
|
D | encoder.h | 907 TileDataEnc *tile_data; member 1187 TileDataEnc *this_tile = &cpi->tile_data[tile_row * tile_cols + tile_col]; in get_start_tok()
|
D | level.c | 398 &cpi->tile_data[tile_row * cm->tile_cols + tile_col].tile_info; in get_tile_stats()
|
D | bitstream.c | 2206 const uint8_t *tile_data; in find_identical_tile() local 2225 tile_data = candidate->data + 4; in find_identical_tile() 2227 if (memcmp(tile_data, cur_tile_data, cur_tile_size) != 0) continue; in find_identical_tile() 3479 TileDataEnc *this_tile = &cpi->tile_data[tile_idx]; in write_tiles_in_tg_obus() 3584 TileDataEnc *this_tile = &cpi->tile_data[tile_idx]; in write_tiles_in_tg_obus()
|
/external/libaom/libaom/examples/ |
D | lightfield_bitstream_parsing.c | 137 aom_tile_data tile_data = { 0, NULL, 0 }; in process_tile_list() local 158 aom_codec_control_(codec, AV1D_GET_TILE_DATA, &tile_data); in process_tile_list() 170 aom_wb_write_literal(&wb, (int)tile_data.coded_tile_data_size - 1, 16); in process_tile_list() 173 memcpy(tl, (uint8_t *)tile_data.coded_tile_data, in process_tile_list() 174 tile_data.coded_tile_data_size); in process_tile_list() 175 tl += tile_data.coded_tile_data_size; in process_tile_list() 178 tile_info_bytes + (uint32_t)tile_data.coded_tile_data_size; in process_tile_list()
|
/external/libaom/libaom/av1/decoder/ |
D | decodeframe.c | 2878 aom_free(pbi->tile_data); in decoder_alloc_tile_data() 2879 CHECK_MEM_ERROR(cm, pbi->tile_data, in decoder_alloc_tile_data() 2880 aom_memalign(32, n_tiles * sizeof(*pbi->tile_data))); in decoder_alloc_tile_data() 2883 TileDataDec *const tile_data = pbi->tile_data + i; in decoder_alloc_tile_data() local 2884 av1_zero(tile_data->dec_row_mt_sync); in decoder_alloc_tile_data() 3021 TileDataDec *const tile_data = in decode_tile_sb_row() local 3022 pbi->tile_data + tile_info.tile_row * cm->tile_cols + tile_info.tile_col; in decode_tile_sb_row() 3033 sync_read(&tile_data->dec_row_mt_sync, sb_row_in_tile, sb_col_in_tile); in decode_tile_sb_row() 3039 sync_write(&tile_data->dec_row_mt_sync, sb_row_in_tile, sb_col_in_tile, in decode_tile_sb_row() 3189 if (pbi->tile_data == NULL || n_tiles != pbi->allocated_tiles) { in decode_tiles() [all …]
|
D | decoder.c | 191 TileDataDec *const tile_data = pbi->tile_data + i; in av1_decoder_remove() local 192 av1_dec_row_mt_dealloc(&tile_data->dec_row_mt_sync); in av1_decoder_remove() 194 aom_free(pbi->tile_data); in av1_decoder_remove()
|
D | decoder.h | 145 TileDataDec *tile_data; member 172 TileDataDec *tile_data; member
|
/external/libaom/libaom/av1/ |
D | av1_dx_iface.c | 1068 aom_tile_data *const tile_data = va_arg(args, aom_tile_data *); in ctrl_get_tile_data() local 1070 if (tile_data) { in ctrl_get_tile_data() 1076 tile_data->coded_tile_data_size = in ctrl_get_tile_data() 1078 tile_data->coded_tile_data = in ctrl_get_tile_data()
|