/external/libaom/libaom/av1/common/ |
D | alloccommon.c | 166 cm->mi_params.free_mi(&cm->mi_params); in av1_free_context_buffers() 222 static int alloc_mi(CommonModeInfoParams *mi_params) { in alloc_mi() argument 223 const int aligned_mi_rows = calc_mi_size(mi_params->mi_rows); in alloc_mi() 224 const int mi_grid_size = mi_params->mi_stride * aligned_mi_rows; in alloc_mi() 225 const int alloc_size_1d = mi_size_wide[mi_params->mi_alloc_bsize]; in alloc_mi() 227 mi_params->mi_alloc_stride * (aligned_mi_rows / alloc_size_1d); in alloc_mi() 229 if (mi_params->mi_alloc_size < alloc_mi_size || in alloc_mi() 230 mi_params->mi_grid_size < mi_grid_size) { in alloc_mi() 231 mi_params->free_mi(mi_params); in alloc_mi() 233 mi_params->mi_alloc = in alloc_mi() [all …]
|
D | debugmodes.c | 29 const CommonModeInfoParams *const mi_params = &cm->mi_params; in print_mi_data() local 30 MB_MODE_INFO **mi = mi_params->mi_grid_base; in print_mi_data() 31 int rows = mi_params->mi_rows; in print_mi_data() 32 int cols = mi_params->mi_cols; in print_mi_data() 43 mi += mi_params->mi_stride - cols; in print_mi_data() 49 CommonModeInfoParams *mi_params = &cm->mi_params; in av1_print_modes_and_motion_vectors() local 51 MB_MODE_INFO **mi = mi_params->mi_grid_base; in av1_print_modes_and_motion_vectors() 52 const int rows = mi_params->mi_rows; in av1_print_modes_and_motion_vectors() 53 const int cols = mi_params->mi_cols; in av1_print_modes_and_motion_vectors() 70 mi += mi_params->mi_stride - cols; in av1_print_modes_and_motion_vectors() [all …]
|
D | cdef.c | 36 int av1_cdef_compute_sb_list(const CommonModeInfoParams *const mi_params, in av1_cdef_compute_sb_list() argument 39 MB_MODE_INFO **grid = mi_params->mi_grid_base; in av1_cdef_compute_sb_list() 40 int maxc = mi_params->mi_cols - mi_col; in av1_cdef_compute_sb_list() 41 int maxr = mi_params->mi_rows - mi_row; in av1_cdef_compute_sb_list() 60 mi_params->mi_stride)) { in av1_cdef_compute_sb_list() 124 const CommonModeInfoParams *const mi_params = &cm->mi_params; in av1_cdef_frame() local 139 const int nvfb = (mi_params->mi_rows + MI_SIZE_64X64 - 1) / MI_SIZE_64X64; in av1_cdef_frame() 140 const int nhfb = (mi_params->mi_cols + MI_SIZE_64X64 - 1) / MI_SIZE_64X64; in av1_cdef_frame() 153 const int stride = (mi_params->mi_cols << MI_SIZE_LOG2) + 2 * CDEF_HBORDER; in av1_cdef_frame() 175 if (mi_params->mi_grid_base[MI_SIZE_64X64 * fbr * mi_params->mi_stride + in av1_cdef_frame() [all …]
|
D | av1_common_int.h | 434 void (*free_mi)(struct CommonModeInfoParams *mi_params); 435 void (*setup_mi)(struct CommonModeInfoParams *mi_params); 436 void (*set_mb_mi)(struct CommonModeInfoParams *mi_params, int width, 631 CommonModeInfoParams mi_params; member 894 const CommonModeInfoParams *const mi_params = &cm->mi_params; in ensure_mv_buffer() local 896 if (buf->mvs == NULL || buf_rows != mi_params->mi_rows || in ensure_mv_buffer() 897 buf_cols != mi_params->mi_cols) { in ensure_mv_buffer() 899 buf->mi_rows = mi_params->mi_rows; in ensure_mv_buffer() 900 buf->mi_cols = mi_params->mi_cols; in ensure_mv_buffer() 902 (MV_REF *)aom_calloc(((mi_params->mi_rows + 1) >> 1) * in ensure_mv_buffer() [all …]
|
D | pred_common.h | 24 static INLINE int get_segment_id(const CommonModeInfoParams *const mi_params, in get_segment_id() argument 27 const int mi_offset = mi_row * mi_params->mi_cols + mi_col; in get_segment_id() 30 const int xmis = AOMMIN(mi_params->mi_cols - mi_col, bw); in get_segment_id() 31 const int ymis = AOMMIN(mi_params->mi_rows - mi_row, bh); in get_segment_id() 37 segment_ids[mi_offset + y * mi_params->mi_cols + x]); in get_segment_id() 53 const CommonModeInfoParams *const mi_params = &cm->mi_params; in av1_get_spatial_seg_pred() local 57 get_segment_id(mi_params, seg_map, BLOCK_4X4, mi_row - 1, mi_col - 1); in av1_get_spatial_seg_pred() 61 get_segment_id(mi_params, seg_map, BLOCK_4X4, mi_row - 1, mi_col - 0); in av1_get_spatial_seg_pred() 65 get_segment_id(mi_params, seg_map, BLOCK_4X4, mi_row - 0, mi_col - 1); in av1_get_spatial_seg_pred()
|
D | av1_loopfilter.c | 260 cm->mi_params.mi_grid_base + mi_row * cm->mi_params.mi_stride + mi_col; in set_lpf_parameters() 484 ¶ms, (cm->mi_params.mi_stride << scale_vert), cm, xd, HORZ_EDGE, in av1_filter_block_plane_horz() 585 const int y_range = cm->mi_params.mi_rows >> scale_vert; in av1_filter_block_plane_vert_test() 586 const int x_range = cm->mi_params.mi_cols >> scale_horz; in av1_filter_block_plane_vert_test() 627 const int y_range = cm->mi_params.mi_rows >> scale_vert; in av1_filter_block_plane_horz_test() 628 const int x_range = cm->mi_params.mi_cols >> scale_horz; in av1_filter_block_plane_horz_test() 644 ¶ms, (cm->mi_params.mi_stride << scale_vert), cm, xd, HORZ_EDGE, in av1_filter_block_plane_horz_test() 667 const int col_end = cm->mi_params.mi_cols; in loop_filter_rows() 777 mi_rows_to_filter = cm->mi_params.mi_rows; in av1_loop_filter_frame() 778 if (partial_frame && cm->mi_params.mi_rows > 8) { in av1_loop_filter_frame() [all …]
|
D | thread_common.c | 271 ALIGN_POWER_OF_TWO(cm->mi_params.mi_cols, MAX_MIB_SIZE_LOG2) >> in thread_loop_filter_rows() 286 for (mi_col = 0; mi_col < cm->mi_params.mi_cols; in thread_loop_filter_rows() 298 for (mi_col = 0; mi_col < cm->mi_params.mi_cols; in thread_loop_filter_rows() 337 ALIGN_POWER_OF_TWO(cm->mi_params.mi_cols, MIN_MIB_SIZE_LOG2) >> in thread_loop_filter_bitmask_rows() 353 for (mi_col = 0; mi_col < cm->mi_params.mi_cols; in thread_loop_filter_bitmask_rows() 365 for (mi_col = 0; mi_col < cm->mi_params.mi_cols; in thread_loop_filter_bitmask_rows() 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() 420 ALIGN_POWER_OF_TWO(cm->mi_params.mi_rows, MAX_MIB_SIZE_LOG2) >> in loop_filter_rows_mt() 489 mi_rows_to_filter = cm->mi_params.mi_rows; in av1_loop_filter_frame_mt() [all …]
|
D | obmc.h | 32 const int end_col = AOMMIN(mi_col + xd->width, cm->mi_params.mi_cols); in foreach_overlappable_nb_above() 69 const int end_row = AOMMIN(mi_row + xd->height, cm->mi_params.mi_rows); in foreach_overlappable_nb_left()
|
D | tile_common.c | 34 ALIGN_POWER_OF_TWO(cm->mi_params.mi_cols, seq_params->mib_size_log2); in av1_get_tile_limits() 36 ALIGN_POWER_OF_TWO(cm->mi_params.mi_rows, seq_params->mib_size_log2); in av1_get_tile_limits() 138 tile->mi_row_end = AOMMIN(mi_row_end, cm->mi_params.mi_rows); in av1_tile_set_row() 150 tile->mi_col_end = AOMMIN(mi_col_end, cm->mi_params.mi_cols); in av1_tile_set_col()
|
D | mvref_common.c | 43 const int frame_mvs_stride = ROUND_POWER_OF_TWO(cm->mi_params.mi_cols, 1); in av1_copy_frame_mvs() 148 int end_mi = AOMMIN(xd->width, cm->mi_params.mi_cols - mi_col); in scan_row_mbmi() 195 int end_mi = AOMMIN(xd->height, cm->mi_params.mi_rows - mi_row); in scan_col_mbmi() 337 ((mi_row + mi_pos.row) >> 1) * (cm->mi_params.mi_stride >> 1) + in add_tpl_ref_mv() 674 mi_width = AOMMIN(mi_width, cm->mi_params.mi_cols - mi_col); in setup_ref_mv_list() 676 mi_height = AOMMIN(mi_height, cm->mi_params.mi_rows - mi_row); in setup_ref_mv_list() 887 if (row < 0 || row >= (cm->mi_params.mi_rows >> 1) || col < 0 || in get_block_position() 888 col >= (cm->mi_params.mi_cols >> 1)) in get_block_position() 922 if (start_frame_buf->mi_rows != cm->mi_params.mi_rows || in motion_field_projection() 923 start_frame_buf->mi_cols != cm->mi_params.mi_cols) in motion_field_projection() [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | aq_cyclicrefresh.c | 103 const int mbs = cm->mi_params.MBs; in av1_cyclic_refresh_estimate_bits_at_q() 133 int num4x4bl = cm->mi_params.MBs << 4; in av1_cyclic_refresh_rc_bits_per_mb() 166 const int xmis = AOMMIN(cm->mi_params.mi_cols - mi_col, bw); in av1_cyclic_refresh_update_segment() 167 const int ymis = AOMMIN(cm->mi_params.mi_rows - mi_row, bh); in av1_cyclic_refresh_update_segment() 168 const int block_index = mi_row * cm->mi_params.mi_cols + mi_col; in av1_cyclic_refresh_update_segment() 202 int map_offset = block_index + y * cm->mi_params.mi_cols + x; in av1_cyclic_refresh_update_segment() 211 const CommonModeInfoParams *const mi_params = &cm->mi_params; in av1_cyclic_refresh_postencode() local 217 for (int mi_row = 0; mi_row < mi_params->mi_rows; mi_row++) { in av1_cyclic_refresh_postencode() 218 for (int mi_col = 0; mi_col < mi_params->mi_cols; mi_col++) { in av1_cyclic_refresh_postencode() 220 mi_params->mi_grid_base + mi_row * mi_params->mi_stride + mi_col; in av1_cyclic_refresh_postencode() [all …]
|
D | segmentation.c | 52 const CommonModeInfoParams *const mi_params = &cm->mi_params; in count_segs() local 53 if (mi_row >= mi_params->mi_rows || mi_col >= mi_params->mi_cols) return; in count_segs() 56 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, mi_params->mi_rows, in count_segs() 57 mi_params->mi_cols); in count_segs() 69 ? get_segment_id(mi_params, cm->last_frame_seg_map, bsize, mi_row, in count_segs() 91 const CommonModeInfoParams *const mi_params = &cm->mi_params; in count_segs_sb() local 92 const int mis = mi_params->mi_stride; in count_segs_sb() 97 if (mi_row >= mi_params->mi_rows || mi_col >= mi_params->mi_cols) return; in count_segs_sb() 142 if (mi_row + 3 * qbs < mi_params->mi_rows) CSEGS(bs, qbs, 3 * qbs, 0); in count_segs_sb() 149 if (mi_col + 3 * qbs < mi_params->mi_cols) CSEGS(qbs, bs, 0, 3 * qbs); in count_segs_sb() [all …]
|
D | partition_strategy.h | 143 const CommonModeInfoParams *const mi_params = &cm->mi_params; in set_offsets_for_motion_search() local 149 set_mode_info_offsets(&cpi->common.mi_params, &cpi->mbmi_ext_info, x, xd, in set_offsets_for_motion_search() 158 av1_set_mv_limits(mi_params, &x->mv_limits, mi_row, mi_col, mi_height, in set_offsets_for_motion_search() 170 GET_MV_SUBPEL((mi_params->mi_rows - mi_height - mi_row) * MI_SIZE); in set_offsets_for_motion_search() 173 GET_MV_SUBPEL((mi_params->mi_cols - mi_width - mi_col) * MI_SIZE); in set_offsets_for_motion_search() 195 static INLINE int is_full_sb(const CommonModeInfoParams *const mi_params, in is_full_sb() argument 200 return (mi_row + sb_mi_high) <= mi_params->mi_rows && in is_full_sb() 201 (mi_col + sb_mi_wide) <= mi_params->mi_cols; in is_full_sb() 217 is_full_sb(&cm->mi_params, mi_row, mi_col, sb_size) && in use_auto_max_partition()
|
D | firstpass.c | 249 static BLOCK_SIZE get_bsize(const CommonModeInfoParams *const mi_params, in get_bsize() argument 252 mi_params->mi_cols) { in get_bsize() 254 mi_params->mi_rows in get_bsize() 259 mi_params->mi_rows in get_bsize() 374 const CommonModeInfoParams *const mi_params = &cm->mi_params; in firstpass_intra_prediction() local 381 const BLOCK_SIZE bsize = get_bsize(mi_params, mb_row, mb_col); in firstpass_intra_prediction() 384 set_mi_offsets(mi_params, xd, mb_row * mb_scale, mb_col * mb_scale); in firstpass_intra_prediction() 392 mb_col * mb_scale, mi_size_wide[bsize], mi_params->mi_rows, in firstpass_intra_prediction() 393 mi_params->mi_cols); in firstpass_intra_prediction() 570 const CommonModeInfoParams *const mi_params = &cm->mi_params; in firstpass_inter_prediction() local [all …]
|
D | aq_complexity.c | 74 memset(cpi->enc_seg.map, 0, cm->mi_params.mi_rows * cm->mi_params.mi_cols); in av1_setup_in_frame_q_adj() 87 cm->mi_params.mi_rows * cm->mi_params.mi_cols); in av1_setup_in_frame_q_adj() 137 const int mi_offset = mi_row * cm->mi_params.mi_cols + mi_col; in av1_caq_select_segment() 138 const int xmis = AOMMIN(cm->mi_params.mi_cols - mi_col, mi_size_wide[bs]); in av1_caq_select_segment() 139 const int ymis = AOMMIN(cm->mi_params.mi_rows - mi_row, mi_size_high[bs]); in av1_caq_select_segment() 182 cpi->enc_seg.map[mi_offset + y * cm->mi_params.mi_cols + x] = segment; in av1_caq_select_segment()
|
D | pickcdef.c | 306 static int sb_all_skip(const CommonModeInfoParams *const mi_params, int mi_row, in sb_all_skip() argument 308 const int maxr = AOMMIN(mi_params->mi_rows - mi_row, MI_SIZE_64X64); in sb_all_skip() 309 const int maxc = AOMMIN(mi_params->mi_cols - mi_col, MI_SIZE_64X64); in sb_all_skip() 310 const int stride = mi_params->mi_stride; in sb_all_skip() 311 MB_MODE_INFO **mbmi = mi_params->mi_grid_base + mi_row * stride + mi_col; in sb_all_skip() 366 const CommonModeInfoParams *const mi_params = &cm->mi_params; in pick_cdef_from_qp() local 367 const int nvfb = (mi_params->mi_rows + MI_SIZE_64X64 - 1) / MI_SIZE_64X64; in pick_cdef_from_qp() 368 const int nhfb = (mi_params->mi_cols + MI_SIZE_64X64 - 1) / MI_SIZE_64X64; in pick_cdef_from_qp() 369 MB_MODE_INFO **mbmi = mi_params->mi_grid_base; in pick_cdef_from_qp() 374 mbmi += MI_SIZE_64X64 * mi_params->mi_stride; in pick_cdef_from_qp() [all …]
|
D | mcomp.h | 172 const CommonModeInfoParams *const mi_params, FullMvLimits *mv_limits, in av1_set_mv_row_limits() argument 177 const int max1 = (mi_params->mi_rows - mi_row - mi_height) * MI_SIZE + in av1_set_mv_row_limits() 180 (mi_params->mi_rows - mi_row) * MI_SIZE + 2 * AOM_INTERP_EXTEND; in av1_set_mv_row_limits() 185 const CommonModeInfoParams *const mi_params, FullMvLimits *mv_limits, in av1_set_mv_col_limits() argument 190 const int max1 = (mi_params->mi_cols - mi_col - mi_width) * MI_SIZE + border - in av1_set_mv_col_limits() 193 (mi_params->mi_cols - mi_col) * MI_SIZE + 2 * AOM_INTERP_EXTEND; in av1_set_mv_col_limits() 198 const CommonModeInfoParams *const mi_params, FullMvLimits *mv_limits, in av1_set_mv_limits() argument 200 av1_set_mv_row_limits(mi_params, mv_limits, mi_row, mi_height, border); in av1_set_mv_limits() 201 av1_set_mv_col_limits(mi_params, mv_limits, mi_col, mi_width, border); in av1_set_mv_limits()
|
D | encoder.c | 406 i < cpi->common.mi_params.mi_rows * cpi->common.mi_params.mi_cols; ++i) in suppress_active_map() 427 i < cpi->common.mi_params.mi_rows * cpi->common.mi_params.mi_cols; in apply_active_map() 462 const CommonModeInfoParams *const mi_params = &cpi->common.mi_params; in av1_set_active_map() local 463 if (rows == mi_params->mb_rows && cols == mi_params->mb_cols) { in av1_set_active_map() 465 const int mi_rows = mi_params->mi_rows; in av1_set_active_map() 466 const int mi_cols = mi_params->mi_cols; in av1_set_active_map() 492 const CommonModeInfoParams *const mi_params = &cpi->common.mi_params; in av1_get_active_map() local 493 if (rows == mi_params->mb_rows && cols == mi_params->mb_cols && in av1_get_active_map() 496 const int mi_rows = mi_params->mi_rows; in av1_get_active_map() 497 const int mi_cols = mi_params->mi_cols; in av1_get_active_map() [all …]
|
D | encodeframe.c | 257 const int num_cols = (cm->mi_params.mi_cols + num_mi_w - 1) / num_mi_w; in set_ssim_rdmult() 258 const int num_rows = (cm->mi_params.mi_rows + num_mi_h - 1) / num_mi_h; in set_ssim_rdmult() 304 const int num_cols = (cm->mi_params.mi_cols + num_mi_w - 1) / num_mi_w; in get_hier_tpl_rdmult() 305 const int num_rows = (cm->mi_params.mi_rows + num_mi_h - 1) / num_mi_h; in get_hier_tpl_rdmult() 397 set_mode_info_offsets(&cpi->common.mi_params, &cpi->mbmi_ext_info, x, xd, in set_offsets_without_segment_id() 411 av1_set_mv_limits(&cm->mi_params, &x->mv_limits, mi_row, mi_col, mi_height, in set_offsets_without_segment_id() 419 cm->mi_params.mi_rows, cm->mi_params.mi_cols); in set_offsets_without_segment_id() 447 map ? get_segment_id(&cm->mi_params, map, bsize, mi_row, mi_col) : 0; in set_offsets() 534 const CommonModeInfoParams *const mi_params = &cm->mi_params; in update_state() local 546 const int mis = mi_params->mi_stride; in update_state() [all …]
|
D | var_based_part.c | 129 if (cpi->common.mi_params.mi_cols > mi_col && in set_block_size() 130 cpi->common.mi_params.mi_rows > mi_row) { in set_block_size() 131 set_mode_info_offsets(&cpi->common.mi_params, &cpi->mbmi_ext_info, x, xd, in set_block_size() 412 CommonModeInfoParams *mi_params, MACROBLOCK *x, MACROBLOCKD *xd, in set_low_temp_var_flag_64x64() argument 431 mi_params->mi_stride * (mi_row + idx[i][0]) + mi_col + idx[i][1]; in set_low_temp_var_flag_64x64() 432 MB_MODE_INFO **this_mi = mi_params->mi_grid_base + idx_str; in set_low_temp_var_flag_64x64() 434 if (mi_params->mi_cols <= mi_col + idx[i][1] || in set_low_temp_var_flag_64x64() 435 mi_params->mi_rows <= mi_row + idx[i][0]) in set_low_temp_var_flag_64x64() 462 CommonModeInfoParams *mi_params, MACROBLOCK *x, MACROBLOCKD *xd, in set_low_temp_var_flag_128x128() argument 484 mi_params->mi_stride * (mi_row + idx64[i][0]) + mi_col + idx64[i][1]; in set_low_temp_var_flag_128x128() [all …]
|
D | mv_prec.c | 180 const CommonModeInfoParams *const mi_params = &cm->mi_params; in collect_mv_stats_b() local 182 if (mi_row >= mi_params->mi_rows || mi_col >= mi_params->mi_cols) { in collect_mv_stats_b() 187 mi_params->mi_grid_base[mi_row * mi_params->mi_stride + mi_col]; in collect_mv_stats_b() 190 get_mi_ext_idx(mi_row, mi_col, cm->mi_params.mi_alloc_bsize, in collect_mv_stats_b() 272 if (mi_row >= cm->mi_params.mi_rows || mi_col >= cm->mi_params.mi_cols) in collect_mv_stats_sb()
|
D | tpl_model.c | 236 set_mode_info_offsets(&cpi->common.mi_params, &cpi->mbmi_ext_info, x, xd, in mode_estimation() 239 cm->mi_params.mi_rows, cm->mi_params.mi_cols); in mode_estimation() 459 xd->mi[idx + idy * cm->mi_params.mi_stride] = xd->mi[0]; in mode_estimation() 683 const CommonModeInfoParams *const mi_params = &cm->mi_params; in mc_flow_dispenser() local 752 for (mi_row = 0; mi_row < mi_params->mi_rows; mi_row += mi_height) { in mc_flow_dispenser() 754 av1_set_mv_row_limits(mi_params, &x->mv_limits, mi_row, mi_height, in mc_flow_dispenser() 758 GET_MV_SUBPEL((mi_params->mi_rows - mi_height - mi_row) * MI_SIZE); in mc_flow_dispenser() 759 for (mi_col = 0; mi_col < mi_params->mi_cols; mi_col += mi_width) { in mc_flow_dispenser() 763 av1_set_mv_col_limits(mi_params, &x->mv_limits, mi_col, mi_width, in mc_flow_dispenser() 767 GET_MV_SUBPEL(mi_params->mi_cols - mi_width - mi_col); in mc_flow_dispenser() [all …]
|
/external/libaom/libaom/av1/decoder/ |
D | decoder.c | 48 static void dec_set_mb_mi(CommonModeInfoParams *mi_params, int width, in dec_set_mb_mi() argument 58 mi_params->mi_cols = aligned_width >> MI_SIZE_LOG2; in dec_set_mb_mi() 59 mi_params->mi_rows = aligned_height >> MI_SIZE_LOG2; in dec_set_mb_mi() 60 mi_params->mi_stride = calc_mi_size(mi_params->mi_cols); in dec_set_mb_mi() 62 mi_params->mb_cols = (mi_params->mi_cols + 2) >> 2; in dec_set_mb_mi() 63 mi_params->mb_rows = (mi_params->mi_rows + 2) >> 2; in dec_set_mb_mi() 64 mi_params->MBs = mi_params->mb_rows * mi_params->mb_cols; in dec_set_mb_mi() 66 mi_params->mi_alloc_bsize = BLOCK_4X4; in dec_set_mb_mi() 67 mi_params->mi_alloc_stride = mi_params->mi_stride; in dec_set_mb_mi() 69 assert(mi_size_wide[mi_params->mi_alloc_bsize] == in dec_set_mb_mi() [all …]
|
D | inspection.c | 39 const CommonModeInfoParams *const mi_params = &cm->mi_params; in ifd_inspect() local 42 if (fd->mi_rows != mi_params->mi_rows || fd->mi_cols != mi_params->mi_cols) { in ifd_inspect() 44 ifd_init_mi_rc(fd, mi_params->mi_rows, mi_params->mi_cols); in ifd_inspect() 71 for (j = 0; j < mi_params->mi_rows; j++) { in ifd_inspect() 72 for (i = 0; i < mi_params->mi_cols; i++) { in ifd_inspect() 74 mi_params->mi_grid_base[j * mi_params->mi_stride + i]; in ifd_inspect() 75 insp_mi_data *mi = &fd->mi_grid[j * mi_params->mi_cols + i]; in ifd_inspect() 126 tx_type_row * mi_params->mi_stride + tx_type_col; in ifd_inspect() 127 mi->tx_type = mi_params->tx_type_map[tx_type_map_idx]; in ifd_inspect()
|
D | decodemv.c | 73 CommonModeInfoParams *const mi_params = &cm->mi_params; in read_cdef() local 75 get_mi_grid_idx(mi_params, xd->mi_row & first_block_mask, in read_cdef() 77 MB_MODE_INFO *const mbmi = mi_params->mi_grid_base[grid_idx]; in read_cdef() 307 segment_id, segment_ids[mi_offset + y * cm->mi_params.mi_cols + x]); in dec_get_segment_id() 319 cm->cur_frame->seg_map[mi_offset + y * cm->mi_params.mi_cols + x] = in set_segment_id() 330 const CommonModeInfoParams *const mi_params = &cm->mi_params; in read_intra_segment_id() local 333 const int mi_offset = mi_row * mi_params->mi_cols + mi_col; in read_intra_segment_id() 336 const int x_mis = AOMMIN(mi_params->mi_cols - mi_col, bw); in read_intra_segment_id() 337 const int y_mis = AOMMIN(mi_params->mi_rows - mi_row, bh); in read_intra_segment_id() 343 static void copy_segment_id(const CommonModeInfoParams *const mi_params, in copy_segment_id() argument [all …]
|