Home
last modified time | relevance | path

Searched refs:mi_rows (Results 1 – 25 of 31) sorted by relevance

12

/external/libvpx/libvpx/vp9/encoder/
Dvp9_aq_cyclicrefresh.c24 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols) { in vp9_cyclic_refresh_alloc() argument
31 cr->map = vpx_calloc(mi_rows * mi_cols, sizeof(*cr->map)); in vp9_cyclic_refresh_alloc()
36 last_coded_q_map_size = mi_rows * mi_cols * sizeof(*cr->last_coded_q_map); in vp9_cyclic_refresh_alloc()
45 consec_zero_mv_size = mi_rows * mi_cols * sizeof(*cr->consec_zero_mv); in vp9_cyclic_refresh_alloc()
71 const int number_blocks = cm->mi_rows * cm->mi_cols; in apply_cyclic_refresh_bitrate()
170 int target_refresh = cr->percent_refresh * cm->mi_rows * cm->mi_cols / 100; in vp9_cyclic_refresh_rc_bits_per_mb()
200 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); in vp9_cyclic_refresh_update_segment()
254 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); in vp9_cyclic_refresh_update_sb_postencode()
293 for (mi_row = 0; mi_row < cm->mi_rows; mi_row++) in vp9_cyclic_refresh_postencode()
330 const int rows = cm->mi_rows, cols = cm->mi_cols; in vp9_cyclic_refresh_check_golden_update()
[all …]
Dvp9_segmentation.c117 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in count_segs()
123 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); in count_segs()
159 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in count_segs_sb()
227 for (mi_row = 0; mi_row < cm->mi_rows; in vp9_choose_segmap_coding_method()
Dvp9_aq_complexity.c61 memset(cpi->segmentation_map, DEFAULT_AQ2_SEG, cm->mi_rows * cm->mi_cols); in vp9_setup_in_frame_q_adj()
122 const int ymis = VPXMIN(cm->mi_rows - mi_row, num_8x8_blocks_high_lookup[bs]); in vp9_caq_select_segment()
Dvp9_encoder.c121 for (i = 0; i < cpi->common.mi_rows * cpi->common.mi_cols; ++i) in suppress_active_map()
141 for (i = 0; i < cpi->common.mi_rows * cpi->common.mi_cols; ++i) in apply_active_map()
168 const int mi_rows = cpi->common.mi_rows; in vp9_set_active_map() local
173 for (r = 0; r < mi_rows; ++r) { in vp9_set_active_map()
198 const int mi_rows = cpi->common.mi_rows; in vp9_get_active_map() local
203 for (r = 0; r < mi_rows; ++r) { in vp9_get_active_map()
258 memset(cm->mip, 0, cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->mip)); in vp9_enc_setup_mi()
263 for (i = 1; i < cm->mi_rows + 1; ++i) in vp9_enc_setup_mi()
270 cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->mi_grid_base)); in vp9_enc_setup_mi()
441 cm->last_frame_seg_map, (cm->mi_rows * cm->mi_cols)); in save_coding_context()
[all …]
Dvp9_encodeframe.c207 x->mv_row_max = (cm->mi_rows - mi_row) * MI_SIZE + VP9_INTERP_EXTEND; in set_offsets()
213 cm->mi_rows, cm->mi_cols); in set_offsets()
249 if (mi_row + j < cm->mi_rows && mi_col + i < cm->mi_cols) in duplicate_mode_info_in_sb()
259 if (cpi->common.mi_cols > mi_col && cpi->common.mi_rows > mi_row) { in set_block_size()
420 mi_row + block_height / 2 < cm->mi_rows && in set_vt_partitioning()
438 mi_row + block_height / 2 < cm->mi_rows && in set_vt_partitioning()
445 if (mi_row + block_height / 2 < cm->mi_rows) { in set_vt_partitioning()
711 + (mi_col + 4 < cm->mi_cols) * 2 + (mi_row + 4 < cm->mi_rows); in choose_partitioning()
778 mi_row + block_height / 2 < cm->mi_rows) { in choose_partitioning()
911 if ( mi_col + 8 > cm->mi_cols || mi_row + 8 > cm->mi_rows || in choose_partitioning()
[all …]
Dvp9_svc_layercontext.c26 int mi_rows = cpi->common.mi_rows; in vp9_init_layer_context() local
111 lc->map = vpx_malloc(mi_rows * mi_cols * sizeof(signed char)); in vp9_init_layer_context()
112 memset(lc->map, 0, mi_rows * mi_cols); in vp9_init_layer_context()
113 last_coded_q_map_size = mi_rows * mi_cols * sizeof(uint8_t); in vp9_init_layer_context()
117 consec_zero_mv_size = mi_rows * mi_cols * sizeof(uint8_t); in vp9_init_layer_context()
Dvp9_aq_cyclicrefresh.h76 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols);
Dvp9_skin_detection.c84 for (mi_row = 0; mi_row < cm->mi_rows - 1; mi_row += fac) { in vp9_compute_skin_map()
Dvp9_mbgraph.c344 for (mi_row = 0; mi_row < cm->mi_rows; mi_row++) { in separate_arf_mbs()
363 cpi->static_mb_pct = (ncnt[1] * 100) / (cm->mi_rows * cm->mi_cols); in separate_arf_mbs()
Dvp9_bitstream.c393 cm->mi_rows, cm->mi_cols); in write_modes_b()
410 const int has_rows = (mi_row + hbs) < cm->mi_rows; in write_partition()
439 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in write_modes_sb()
456 if (mi_row + bs < cm->mi_rows) in write_modes_sb()
Dvp9_denoiser.c558 int min_blocks_estimate = cm->mi_rows * cm->mi_cols >> 7; in vp9_denoiser_update_noise_estimate()
587 for (mi_row = 0; mi_row < cm->mi_rows; mi_row ++) { in vp9_denoiser_update_noise_estimate()
/external/libvpx/libvpx/vp9/common/
Dvp9_alloccommon.c43 cm->mi_rows = aligned_height >> MI_SIZE_LOG2; in vp9_set_mb_mi()
47 cm->mb_rows = (cm->mi_rows + 1) >> 1; in vp9_set_mb_mi()
126 new_mi_size = cm->mi_stride * calc_mi_size(cm->mi_rows); in vp9_alloc_context_buffers()
133 if (cm->seg_map_alloc_size < cm->mi_rows * cm->mi_cols) { in vp9_alloc_context_buffers()
136 if (alloc_seg_map(cm, cm->mi_rows * cm->mi_cols)) in vp9_alloc_context_buffers()
160 ((cm->mi_rows + (MI_BLOCK_SIZE - 1)) >> 3) * cm->lf.lfm_stride, in vp9_alloc_context_buffers()
183 memset(cm->last_frame_seg_map, 0, cm->mi_rows * cm->mi_cols); in vp9_init_context_buffers()
Dvp9_loopfilter.c852 if (mi_row + MI_BLOCK_SIZE > cm->mi_rows) { in vp9_adjust_mask()
853 const uint64_t rows = cm->mi_rows - mi_row; in vp9_adjust_mask()
972 const int max_rows = (mi_row + MI_BLOCK_SIZE > cm->mi_rows ? in vp9_setup_mask()
973 cm->mi_rows - mi_row : MI_BLOCK_SIZE); in vp9_setup_mask()
1180 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r += row_step) { in vp9_filter_block_plane_non420()
1201 const int skip_border_4x4_r = ss_y && mi_row + r == cm->mi_rows - 1; in vp9_filter_block_plane_non420()
1290 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r += row_step) { in vp9_filter_block_plane_non420()
1291 const int skip_border_4x4_r = ss_y && mi_row + r == cm->mi_rows - 1; in vp9_filter_block_plane_non420()
1352 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r += 2) { in vp9_filter_block_plane_ss00()
1389 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r++) { in vp9_filter_block_plane_ss00()
[all …]
Dvp9_tile_common.c25 tile->mi_row_start = get_tile_offset(row, cm->mi_rows, cm->log2_tile_rows); in vp9_tile_set_row()
26 tile->mi_row_end = get_tile_offset(row + 1, cm->mi_rows, cm->log2_tile_rows); in vp9_tile_set_row()
Dvp9_debugmodes.c29 int rows = cm->mi_rows; in print_mi_data()
53 int rows = cm->mi_rows; in vp9_print_modes_and_motion_vectors()
Dvp9_onyxc_int.h74 int mi_rows; member
179 int mb_rows, mi_rows; member
400 int mi_rows, int mi_cols) { in set_mi_row_col() argument
402 xd->mb_to_bottom_edge = ((mi_rows - bh - mi_row) * MI_SIZE) * 8; in set_mi_row_col()
Dvp9_thread_common.c163 const int sb_rows = mi_cols_aligned_to_sb(cm->mi_rows) >> MI_BLOCK_SIZE_LOG2; in loop_filter_rows_mt()
227 mi_rows_to_filter = cm->mi_rows; in vp9_loop_filter_frame_mt()
228 if (partial_frame && cm->mi_rows > 8) { in vp9_loop_filter_frame_mt()
229 start_mi_row = cm->mi_rows >> 1; in vp9_loop_filter_frame_mt()
231 mi_rows_to_filter = VPXMAX(cm->mi_rows / 8, 8); in vp9_loop_filter_frame_mt()
Dvp9_mvref_common.c39 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in find_mv_refs_idx()
61 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in find_mv_refs_idx()
103 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in find_mv_refs_idx()
Dvp9_mvref_common.h194 int mi_col, int mi_row, int mi_rows, in is_inside() argument
198 mi_row + mi_pos->row >= mi_rows || in is_inside()
Dvp9_entropymode.c433 memset(cm->last_frame_seg_map, 0, (cm->mi_rows * cm->mi_cols)); in vp9_setup_past_independence()
436 memset(cm->current_frame_seg_map, 0, (cm->mi_rows * cm->mi_cols)); in vp9_setup_past_independence()
464 cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->prev_mip)); in vp9_setup_past_independence()
Dvp9_pred_common.h29 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); in get_segment_id()
Dvp9_mfqe.c359 for (mi_row = 0; mi_row < cm->mi_rows; mi_row += MI_BLOCK_SIZE) { in vp9_mfqe()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c809 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); in set_offsets()
824 const int y_mis = VPXMIN(bh, cm->mi_rows - mi_row); in decode_block()
964 const int has_rows = (mi_row + hbs) < cm->mi_rows; in decode_partition()
967 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in decode_partition()
1197 cm->cur_frame->mi_rows = cm->mi_rows; in resize_mv_buffer()
1199 cm->cur_frame->mvs = (MV_REF *)vpx_calloc(cm->mi_rows * cm->mi_cols, in resize_mv_buffer()
1218 if (new_mi_cols > cm->mi_cols || new_mi_rows > cm->mi_rows) { in resize_context_buffers()
1229 if (cm->cur_frame->mvs == NULL || cm->mi_rows > cm->cur_frame->mi_rows || in resize_context_buffers()
1533 if (mi_row + MI_BLOCK_SIZE >= cm->mi_rows) continue; in decode_tiles()
1558 lf_data->stop = cm->mi_rows; in decode_tiles()
Dvp9_decodemv.c162 const int y_mis = VPXMIN(cm->mi_rows - mi_row, bh); in read_inter_segment_id()
218 const int y_mis = VPXMIN(cm->mi_rows - mi_row, bh); in read_intra_frame_mode_info()
Dvp9_decoder.c55 cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->mi_grid_base)); in vp9_dec_setup_mi()

12