Home
last modified time | relevance | path

Searched refs:tile_data (Results 1 – 25 of 33) sorted by relevance

12

/external/libvpx/libvpx/vp9/encoder/
Dvp9_ethread.c229 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 …]
Dvp9_rdopt.h34 struct TileDataEnc *tile_data,
40 struct VP9_COMP *cpi, struct TileDataEnc *tile_data, struct macroblock *x,
52 struct TileDataEnc *tile_data,
Dvp9_multi_thread.c100 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()
Dvp9_encodeframe.c1994 static void rd_pick_sb_modes(VP9_COMP *cpi, TileDataEnc *tile_data, in rd_pick_sb_modes() argument
2000 TileInfo *const tile_info = &tile_data->tile_info; in rd_pick_sb_modes()
2078 vp9_rd_pick_inter_mode_sb_seg_skip(cpi, tile_data, x, rd_cost, bsize, in rd_pick_sb_modes()
2081 vp9_rd_pick_inter_mode_sb(cpi, tile_data, x, mi_row, mi_col, rd_cost, in rd_pick_sb_modes()
2084 vp9_rd_pick_inter_mode_sub8x8(cpi, tile_data, x, mi_row, mi_col, rd_cost, in rd_pick_sb_modes()
2663 TileDataEnc *tile_data, MODE_INFO **mi_8x8, in rd_use_partition() argument
2668 TileInfo *const tile_info = &tile_data->tile_info; in rd_use_partition()
2729 rd_pick_sb_modes(cpi, tile_data, x, mi_row, mi_col, &none_rdc, bsize, ctx, in rd_use_partition()
2748 rd_pick_sb_modes(cpi, tile_data, x, mi_row, mi_col, &last_part_rdc, bsize, in rd_use_partition()
2753 rd_pick_sb_modes(cpi, tile_data, x, mi_row, mi_col, &last_part_rdc, in rd_use_partition()
[all …]
Dvp9_pickmode.h23 void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, TileDataEnc *tile_data,
Dvp9_firstpass.h237 struct TileDataEnc *tile_data,
Dvp9_pickmode.c1112 VP9_COMP *cpi, TileDataEnc *tile_data, int source_variance, in update_thresh_freq_fact_row_mt() argument
1117 int *freq_fact = &tile_data->row_base_thresh_freq_fact[freq_fact_idx]; in update_thresh_freq_fact_row_mt()
1130 VP9_COMP *cpi, TileDataEnc *tile_data, unsigned int source_variance, in update_thresh_freq_fact() argument
1134 int *freq_fact = &tile_data->thresh_freq_fact[bsize][thr_mode_idx]; in update_thresh_freq_fact()
1250 const int flag_list[4], TileDataEnc *tile_data, int mi_row, int mi_col, in find_predictors() argument
1256 TileInfo *const tile_info = &tile_data->tile_info; in find_predictors()
1676 void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, TileDataEnc *tile_data, in vp9_pick_inter_mode() argument
1708 ? &(tile_data->row_base_thresh_freq_fact[thresh_freq_fact_idx]) in vp9_pick_inter_mode()
1709 : tile_data->thresh_freq_fact[bsize]; in vp9_pick_inter_mode()
1991 &ref_frame_skip_mask, flag_list, tile_data, mi_row, in vp9_pick_inter_mode()
[all …]
Dvp9_firstpass.c817 TileDataEnc *tile_data, MV *best_ref_mv, in vp9_first_pass_encode_tile_mb_row() argument
823 TileInfo tile = tile_data->tile_info; in vp9_first_pass_encode_tile_mb_row()
830 int num_mb_cols = get_num_cols(tile_data->tile_info, 1); in vp9_first_pass_encode_tile_mb_row()
891 (*(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()
Dvp9_encoder.h589 TileDataEnc *tile_data; member
990 TileDataEnc *this_tile = &cpi->tile_data[tile_row * tile_cols + tile_col]; in get_start_tok()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c1787 static void recon_tile_row(TileWorkerData *tile_data, VP9Decoder *pbi, in recon_tile_row() argument
1796 int mi_col_start = tile_data->xd.tile.mi_col_start; in recon_tile_row()
1797 int mi_col_end = tile_data->xd.tile.mi_col_end; in recon_tile_row()
1800 vp9_zero(tile_data->xd.left_context); in recon_tile_row()
1801 vp9_zero(tile_data->xd.left_seg_context); in recon_tile_row()
1814 tile_data->xd.plane[plane].eob = in recon_tile_row()
1816 tile_data->xd.plane[plane].dqcoeff = in recon_tile_row()
1819 tile_data->xd.partition = in recon_tile_row()
1821 process_partition(tile_data, pbi, mi_row, mi_col, BLOCK_64X64, 4, RECON, in recon_tile_row()
1852 static void parse_tile_row(TileWorkerData *tile_data, VP9Decoder *pbi, in parse_tile_row() argument
[all …]
/external/libaom/libaom/av1/encoder/
Dinterp_search.c160 const TileDataEnc *tile_data, BLOCK_SIZE bsize, in interpolation_filter_rd() argument
186 (void)tile_data; in interpolation_filter_rd()
220 PrintPredictionUnitStats(cpi, tile_data, x, &rd_stats_y, bsize); in interpolation_filter_rd()
313 const TileDataEnc *tile_data, BLOCK_SIZE bsize, in find_best_interp_rd_facade() argument
333 if (interpolation_filter_rd(x, cpi, tile_data, bsize, orig_dst, rd, in find_best_interp_rd_facade()
345 const TileDataEnc *tile_data, BLOCK_SIZE bsize, in pred_dual_interp_filter_rd() argument
372 find_best_interp_rd_facade(x, cpi, tile_data, bsize, orig_dst, rd, rd_stats_y, in pred_dual_interp_filter_rd()
382 const TileDataEnc *tile_data, BLOCK_SIZE bsize, in fast_dual_interp_filter_rd() argument
399 pred_dual_interp_filter_rd(x, cpi, tile_data, bsize, orig_dst, rd, in fast_dual_interp_filter_rd()
412 if (interpolation_filter_rd(x, cpi, tile_data, bsize, orig_dst, rd, in fast_dual_interp_filter_rd()
[all …]
Dencodeframe.c77 TileDataEnc *tile_data, ThreadData *td,
722 TileDataEnc *tile_data, in pick_sb_modes() argument
735 set_offsets(cpi, &tile_data->tile_info, x, mi_row, mi_col, bsize); in pick_sb_modes()
850 av1_rd_pick_inter_mode_sb_seg_skip(cpi, tile_data, x, mi_row, mi_col, in pick_sb_modes()
856 av1_rd_pick_inter_mode_sb(cpi, tile_data, x, rd_cost, bsize, ctx, in pick_sb_modes()
860 av1_nonrd_pick_inter_mode_sb(cpi, tile_data, x, rd_cost, bsize, ctx, in pick_sb_modes()
1559 TileDataEnc *tile_data, ThreadData *td, in encode_b() argument
1564 TileInfo *const tile = &tile_data->tile_info; in encode_b()
1581 encode_superblock(cpi, tile_data, td, tp, dry_run, bsize, rate); in encode_b()
1653 if (tile_data->allow_update_cdf) update_stats(&cpi->common, td); in encode_b()
[all …]
Drdopt.h66 struct TileDataEnc *tile_data,
75 struct TileDataEnc *tile_data,
82 const struct AV1_COMP *cpi, struct TileDataEnc *tile_data,
118 void av1_inter_mode_data_init(struct TileDataEnc *tile_data);
119 void av1_inter_mode_data_fit(TileDataEnc *tile_data, int rdmult);
Dethread.c55 TileDataEnc *tile_data = &cpi->tile_data[row * cm->tiles.cols + col]; in update_delta_lf_for_row_mt() local
56 const TileInfo *const tile_info = &tile_data->tile_info; in update_delta_lf_for_row_mt()
226 TileDataEnc *const this_tile = &cpi->tile_data[cur_tile_id]; in get_next_job()
253 TileDataEnc *this_tile = &cpi->tile_data[tile_index]; in switch_tile_and_get_next_job()
326 TileDataEnc *const this_tile = &cpi->tile_data[cur_tile_id]; in enc_row_mt_worker_hook()
380 &cpi->tile_data[tile_row * cm->tiles.cols + tile_col]; in enc_worker_hook()
626 if (cpi->tile_data == NULL || cpi->allocated_tiles < tile_cols * tile_rows) in av1_encode_tiles_mt()
663 if (cpi->tile_data == NULL || cpi->allocated_tiles < tile_cols * tile_rows) { in av1_encode_tiles_row_mt()
672 TileDataEnc *tile_data = &cpi->tile_data[row * cm->tiles.cols + col]; in av1_encode_tiles_row_mt() local
674 av1_get_sb_rows_in_tile(cm, tile_data->tile_info); in av1_encode_tiles_row_mt()
[all …]
Dav1_multi_thread.c35 &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()
Dinterp_search.h76 const TileDataEnc *tile_data, BLOCK_SIZE bsize,
Drdopt.c355 void av1_inter_mode_data_init(TileDataEnc *tile_data) { in av1_inter_mode_data_init() argument
357 InterModeRdModel *md = &tile_data->inter_mode_rd_models[i]; in av1_inter_mode_data_init()
368 static int get_est_rate_dist(const TileDataEnc *tile_data, BLOCK_SIZE bsize, in get_est_rate_dist() argument
372 const InterModeRdModel *md = &tile_data->inter_mode_rd_models[bsize]; in get_est_rate_dist()
403 void av1_inter_mode_data_fit(TileDataEnc *tile_data, int rdmult) { in av1_inter_mode_data_fit() argument
407 InterModeRdModel *md = &tile_data->inter_mode_rd_models[bsize]; in av1_inter_mode_data_fit()
454 static AOM_INLINE void inter_mode_data_push(TileDataEnc *tile_data, in inter_mode_data_push() argument
460 InterModeRdModel *rd_model = &tile_data->inter_mode_rd_models[bsize]; in inter_mode_data_push()
1225 const AV1_COMP *const cpi, TileDataEnc *tile_data, MACROBLOCK *const x, in motion_mode_rd() argument
1251 (void)tile_data; in motion_mode_rd()
[all …]
Dmv_prec.c363 cpi->tile_data[tile_idx].tctx = *cm->fc; in av1_collect_mv_stats()
364 cpi->td.mb.e_mbd.tile_ctx = &cpi->tile_data[tile_idx].tctx; in av1_collect_mv_stats()
Dlevel.c909 const TileDataEnc *const tile_data, in get_tile_stats() argument
927 &tile_data[tile_row * cm->tiles.cols + tile_col].tile_info; in get_tile_stats()
1069 get_tile_stats(cm, cpi->tile_data, &max_tile_size, &max_superres_tile_width, in av1_update_level_info()
Dtx_search.c867 static int get_est_rate_dist(const TileDataEnc *tile_data, BLOCK_SIZE bsize, in get_est_rate_dist() argument
871 const InterModeRdModel *md = &tile_data->inter_mode_rd_models[bsize]; in get_est_rate_dist()
932 const TileDataEnc *tile_data, in PrintPredictionUnitStats() argument
939 (tile_data == NULL || in PrintPredictionUnitStats()
940 !tile_data->inter_mode_rd_models[plane_bsize].ready)) in PrintPredictionUnitStats()
942 (void)tile_data; in PrintPredictionUnitStats()
1039 assert(tile_data->inter_mode_rd_models[plane_bsize].ready); in PrintPredictionUnitStats()
1043 get_est_rate_dist(tile_data, plane_bsize, overall_sse, &est_residue_cost, in PrintPredictionUnitStats()
3528 PrintPredictionUnitStats(cpi, tile_data, x, rd_stats_y, bsize); in av1_txfm_search()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c2493 aom_free(pbi->tile_data); in decoder_alloc_tile_data()
2494 CHECK_MEM_ERROR(cm, pbi->tile_data, in decoder_alloc_tile_data()
2495 aom_memalign(32, n_tiles * sizeof(*pbi->tile_data))); in decoder_alloc_tile_data()
2498 TileDataDec *const tile_data = pbi->tile_data + i; in decoder_alloc_tile_data() local
2499 av1_zero(tile_data->dec_row_mt_sync); in decoder_alloc_tile_data()
2637 TileDataDec *const tile_data = in decode_tile_sb_row() local
2638 pbi->tile_data + tile_info.tile_row * cm->tiles.cols + tile_info.tile_col; in decode_tile_sb_row()
2649 sync_read(&tile_data->dec_row_mt_sync, sb_row_in_tile, sb_col_in_tile); in decode_tile_sb_row()
2655 sync_write(&tile_data->dec_row_mt_sync, sb_row_in_tile, sb_col_in_tile, in decode_tile_sb_row()
2807 if (pbi->tile_data == NULL || n_tiles != pbi->allocated_tiles) { in decode_tiles()
[all …]
Ddecoder.c211 TileDataDec *const tile_data = pbi->tile_data + i; in av1_decoder_remove() local
212 av1_dec_row_mt_dealloc(&tile_data->dec_row_mt_sync); in av1_decoder_remove()
214 aom_free(pbi->tile_data); in av1_decoder_remove()
Ddecoder.h144 TileDataDec *tile_data; member
171 TileDataDec *tile_data; member
/external/libaom/libaom/examples/
Dlightfield_bitstream_parsing.c137 aom_tile_data tile_data = { 0, NULL, 0 }; in process_tile_list() local
158 AOM_CODEC_CONTROL_TYPECHECKED(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/
Dav1_dx_iface.c1039 aom_tile_data *const tile_data = va_arg(args, aom_tile_data *); in ctrl_get_tile_data() local
1041 if (tile_data) { in ctrl_get_tile_data()
1047 tile_data->coded_tile_data_size = in ctrl_get_tile_data()
1049 tile_data->coded_tile_data = in ctrl_get_tile_data()

12