Home
last modified time | relevance | path

Searched refs:MI_SIZE_LOG2 (Results 1 – 23 of 23) sorted by relevance

/external/libaom/libaom/av1/common/
Dav1_loopfilter.c678 if ((mi_row << MI_SIZE_LOG2) > cm->height || in is_frame_boundary()
679 (mi_col << MI_SIZE_LOG2) > cm->width) in is_frame_boundary()
682 if ((mi_row << MI_SIZE_LOG2) >= cm->height || in is_frame_boundary()
683 (mi_col << MI_SIZE_LOG2) > cm->width) in is_frame_boundary()
687 if ((mi_row << MI_SIZE_LOG2) >= cm->height || in is_frame_boundary()
688 (mi_col << MI_SIZE_LOG2) >= cm->width) in is_frame_boundary()
710 const int x = (mi_col << (MI_SIZE_LOG2 - ssx)); in setup_masks()
711 const int y = (mi_row << (MI_SIZE_LOG2 - ssy)); in setup_masks()
750 if ((r << MI_SIZE_LOG2) > cm->height || in setup_masks()
751 (c << MI_SIZE_LOG2) > cm->width) in setup_masks()
[all …]
Denums.h36 #define MI_SIZE_LOG2 2 macro
37 #define MI_SIZE (1 << MI_SIZE_LOG2)
40 #define MAX_MIB_SIZE_LOG2 (MAX_SB_SIZE_LOG2 - MI_SIZE_LOG2)
44 #define MIN_MIB_SIZE_LOG2 (MIN_SB_SIZE_LOG2 - MI_SIZE_LOG2)
55 #define MI_SIZE_64X64 (64 >> MI_SIZE_LOG2)
56 #define MI_SIZE_128X128 (128 >> MI_SIZE_LOG2)
Dalloccommon.c26 const int mi_cols = aligned_width >> MI_SIZE_LOG2; in av1_get_MBs()
27 const int mi_rows = aligned_height >> MI_SIZE_LOG2; in av1_get_MBs()
75 cm->mi_cols = aligned_width >> MI_SIZE_LOG2; in av1_set_mb_mi()
76 cm->mi_rows = aligned_height >> MI_SIZE_LOG2; in av1_set_mb_mi()
134 const int ext_h = RESTORATION_UNIT_OFFSET + (mi_h << MI_SIZE_LOG2); in av1_alloc_restoration_buffers()
Dblockd.h364 *pixel_c = ((mi_col >> subsampling_x) << MI_SIZE_LOG2) + in mi_to_pixel_loc()
366 *pixel_r = ((mi_row >> subsampling_y) << MI_SIZE_LOG2) + in mi_to_pixel_loc()
797 const int tx_w_log2 = tx_size_wide_log2[txs] - MI_SIZE_LOG2; in av1_get_txb_size_index()
798 const int tx_h_log2 = tx_size_high_log2[txs] - MI_SIZE_LOG2; in av1_get_txb_size_index()
812 const int tx_w_log2 = tx_size_wide_log2[txs] - MI_SIZE_LOG2; in av1_get_txk_type_index()
813 const int tx_h_log2 = tx_size_high_log2[txs] - MI_SIZE_LOG2; in av1_get_txk_type_index()
Dmvref_common.c766 xd->n4_w << MI_SIZE_LOG2, xd->n4_h << MI_SIZE_LOG2, xd); in setup_ref_mv_list()
768 xd->n4_w << MI_SIZE_LOG2, xd->n4_h << MI_SIZE_LOG2, xd); in setup_ref_mv_list()
796 xd->n4_w << MI_SIZE_LOG2, xd->n4_h << MI_SIZE_LOG2, xd); in setup_ref_mv_list()
902 const int row_offset = (mv.row >= 0) ? (mv.row >> (4 + MI_SIZE_LOG2)) in get_block_position()
903 : -((-mv.row) >> (4 + MI_SIZE_LOG2)); in get_block_position()
905 const int col_offset = (mv.col >= 0) ? (mv.col >> (4 + MI_SIZE_LOG2)) in get_block_position()
906 : -((-mv.col) >> (4 + MI_SIZE_LOG2)); in get_block_position()
Dtile_common.c36 int sb_size_log2 = cm->seq_params.mib_size_log2 + MI_SIZE_LOG2; in av1_get_tile_limits()
227 return ((cm->min_inner_tile_width << MI_SIZE_LOG2) >= in is_min_tile_width_satisfied()
Dcdef.c168 mi_wide_l2[pli] = MI_SIZE_LOG2 - xd->plane[pli].subsampling_x; in av1_cdef_frame()
169 mi_high_l2[pli] = MI_SIZE_LOG2 - xd->plane[pli].subsampling_y; in av1_cdef_frame()
171 const int stride = (cm->mi_cols << MI_SIZE_LOG2) + 2 * CDEF_HBORDER; in av1_cdef_frame()
Dreconintra.c426 << (bh_in_mi_log2 + MI_SIZE_LOG2 - in has_bottom_left()
1540 const int mi_row = -xd->mb_to_top_edge >> (3 + MI_SIZE_LOG2); in av1_predict_intra_block()
1541 const int mi_col = -xd->mb_to_left_edge >> (3 + MI_SIZE_LOG2); in av1_predict_intra_block()
Dresize.c1233 const int downscaled_x0 = tile_col.mi_col_start << (MI_SIZE_LOG2 - ss_x); in av1_upscale_normative_rows()
1234 const int downscaled_x1 = tile_col.mi_col_end << (MI_SIZE_LOG2 - ss_x); in av1_upscale_normative_rows()
/external/libvpx/libvpx/vp9/common/
Dvp9_enums.h21 #define MI_SIZE_LOG2 3 macro
22 #define MI_BLOCK_SIZE_LOG2 (6 - MI_SIZE_LOG2) // 64 = 2^6
24 #define MI_SIZE (1 << MI_SIZE_LOG2) // pixels per mi-unit
Dvp9_alloccommon.c21 const int aligned_width = ALIGN_POWER_OF_TWO(width, MI_SIZE_LOG2); in vp9_set_mb_mi()
22 const int aligned_height = ALIGN_POWER_OF_TWO(height, MI_SIZE_LOG2); in vp9_set_mb_mi()
24 cm->mi_cols = aligned_width >> MI_SIZE_LOG2; in vp9_set_mb_mi()
25 cm->mi_rows = aligned_height >> MI_SIZE_LOG2; in vp9_set_mb_mi()
/external/libaom/libaom/av1/decoder/
Dinspection.c24 int mi_cols = ALIGN_POWER_OF_TWO(frame_width, 3) >> MI_SIZE_LOG2; in ifd_init()
25 int mi_rows = ALIGN_POWER_OF_TWO(frame_height, 3) >> MI_SIZE_LOG2; in ifd_init()
Ddecodeframe.c910 mi_x = above_mi_col << MI_SIZE_LOG2; in dec_build_prediction_by_above_pred()
911 mi_y = ctxt->mi_row << MI_SIZE_LOG2; in dec_build_prediction_by_above_pred()
964 mi_x = ctxt->mi_col << MI_SIZE_LOG2; in dec_build_prediction_by_left_pred()
965 mi_y = left_mi_row << MI_SIZE_LOG2; in dec_build_prediction_by_left_pred()
972 int bh = (left_mi_height << MI_SIZE_LOG2) >> pd->subsampling_y; in dec_build_prediction_by_left_pred()
1274 const int tx_w_log2 = tx_size_wide_log2[txs] - MI_SIZE_LOG2; in read_tx_size_vartx()
1275 const int tx_h_log2 = tx_size_high_log2[txs] - MI_SIZE_LOG2; in read_tx_size_vartx()
2342 ALIGN_POWER_OF_TWO(height, MI_SIZE_LOG2) >> MI_SIZE_LOG2; in resize_context_buffers()
2344 ALIGN_POWER_OF_TWO(width, MI_SIZE_LOG2) >> MI_SIZE_LOG2; in resize_context_buffers()
2735 ((AOMMAX(tile_width, tile_height) << MI_SIZE_LOG2) <= 256) ? 1 : 0; in get_ls_tile_buffers()
Ddecodemv.c54 const int mask = (1 << (6 - MI_SIZE_LOG2)); in read_cdef()
/external/libaom/libaom/av1/encoder/
Dreconinter_enc.c318 mi_x = above_mi_col << MI_SIZE_LOG2; in build_prediction_by_above_pred()
319 mi_y = ctxt->mi_row << MI_SIZE_LOG2; in build_prediction_by_above_pred()
374 mi_x = ctxt->mi_col << MI_SIZE_LOG2; in build_prediction_by_left_pred()
375 mi_y = left_mi_row << MI_SIZE_LOG2; in build_prediction_by_left_pred()
382 int bh = (left_mi_height << MI_SIZE_LOG2) >> pd->subsampling_y; in build_prediction_by_left_pred()
Dpickcdef.c354 stride[pli] = cm->mi_cols << MI_SIZE_LOG2; in av1_cdef_search()
355 mi_wide_l2[pli] = MI_SIZE_LOG2 - xd->plane[pli].subsampling_x; in av1_cdef_search()
356 mi_high_l2[pli] = MI_SIZE_LOG2 - xd->plane[pli].subsampling_y; in av1_cdef_search()
Dencodeframe.c392 if ((xd->mb_to_right_edge >> (3 + MI_SIZE_LOG2)) + mi_width > x_idx && in update_state()
393 (xd->mb_to_bottom_edge >> (3 + MI_SIZE_LOG2)) + mi_height > y) { in update_state()
4984 *tile_info, cm->seq_params.mib_size_log2 + MI_SIZE_LOG2, num_planes); in av1_init_tile_data()
5009 ((1 << (cm->seq_params.mib_size_log2 + MI_SIZE_LOG2)) + 8) >> 4; in av1_encode_sb_row()
5012 cm->seq_params.mib_size_log2 + MI_SIZE_LOG2, num_planes); in av1_encode_sb_row()
5026 cm->seq_params.mib_size_log2 + MI_SIZE_LOG2, num_planes)); in av1_encode_sb_row()
Drdopt.c3102 const int mi_row = -xd->mb_to_top_edge >> (3 + MI_SIZE_LOG2); in search_txk_type()
3103 const int mi_col = -xd->mb_to_left_edge >> (3 + MI_SIZE_LOG2); in search_txk_type()
4011 const int mi_row = -xd->mb_to_top_edge >> (3 + MI_SIZE_LOG2); in super_block_yrd()
4012 const int mi_col = -xd->mb_to_left_edge >> (3 + MI_SIZE_LOG2); in super_block_yrd()
5856 const int mi_row_in_sb = (mi_row % MAX_MIB_SIZE) << MI_SIZE_LOG2; in find_tx_size_rd_records()
5857 const int mi_col_in_sb = (mi_col % MAX_MIB_SIZE) << MI_SIZE_LOG2; in find_tx_size_rd_records()
6546 const int mi_row = -xd->mb_to_top_edge >> (3 + MI_SIZE_LOG2); in choose_intra_uv_mode()
6547 const int mi_col = -xd->mb_to_left_edge >> (3 + MI_SIZE_LOG2); in choose_intra_uv_mode()
13837 const int bw = xd->n4_w << MI_SIZE_LOG2; in calc_target_weighted_pred_above()
13883 const int bw = xd->n4_w << MI_SIZE_LOG2; in calc_target_weighted_pred_left()
[all …]
Dbitstream.c880 const int m = ~((1 << (6 - MI_SIZE_LOG2)) - 1); in write_cdef()
891 const int mask = 1 << (6 - MI_SIZE_LOG2); in write_cdef()
3507 ((AOMMAX(cm->tile_width, cm->tile_height) << MI_SIZE_LOG2) <= 256) in write_tiles_in_tg_obus()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ethread.c60 const int aligned_width = ALIGN_POWER_OF_TWO(cpi->oxcf.width, MI_SIZE_LOG2); in get_max_tile_cols()
61 int mi_cols = aligned_width >> MI_SIZE_LOG2; in get_max_tile_cols()
Dvp9_ratectrl.c2827 const int aligned_width = ALIGN_POWER_OF_TWO(src_width, MI_SIZE_LOG2); in vp9_scene_detection_onepass()
2828 const int aligned_height = ALIGN_POWER_OF_TWO(src_height, MI_SIZE_LOG2); in vp9_scene_detection_onepass()
2829 num_mi_cols = aligned_width >> MI_SIZE_LOG2; in vp9_scene_detection_onepass()
2830 num_mi_rows = aligned_height >> MI_SIZE_LOG2; in vp9_scene_detection_onepass()
Dvp9_encodeframe.c1790 if ((xd->mb_to_right_edge >> (3 + MI_SIZE_LOG2)) + mi_width > x_idx && in update_state()
1791 (xd->mb_to_bottom_edge >> (3 + MI_SIZE_LOG2)) + mi_height > y) { in update_state()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c1478 ALIGN_POWER_OF_TWO(height, MI_SIZE_LOG2) >> MI_SIZE_LOG2; in resize_context_buffers()
1480 ALIGN_POWER_OF_TWO(width, MI_SIZE_LOG2) >> MI_SIZE_LOG2; in resize_context_buffers()