Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp9/encoder/
Dvp9_aq_cyclicrefresh.c49 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols) { in vp9_cyclic_refresh_alloc() argument
54 cr->map = vpx_calloc(mi_rows * mi_cols, sizeof(*cr->map)); in vp9_cyclic_refresh_alloc()
77 const int number_blocks = cm->mi_rows * cm->mi_cols; in apply_cyclic_refresh_bitrate()
136 const int ymis = MIN(cm->mi_rows - mi_row, bh); in vp9_cyclic_refresh_update_segment()
191 vpx_memset(seg_map, 0, cm->mi_rows * cm->mi_cols); in vp9_cyclic_refresh_setup()
224 vpx_memset(seg_map, 0, cm->mi_rows * cm->mi_cols); in vp9_cyclic_refresh_setup()
258 sb_rows = (cm->mi_rows + MI_BLOCK_SIZE - 1) / MI_BLOCK_SIZE; in vp9_cyclic_refresh_setup()
274 assert(mi_row >= 0 && mi_row < cm->mi_rows); in vp9_cyclic_refresh_setup()
280 ymis = MIN(cm->mi_rows - mi_row, in vp9_cyclic_refresh_setup()
Dvp9_aq_complexity.c47 vpx_memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in vp9_setup_in_frame_q_adj()
50 vpx_memset(cpi->complexity_map, 0, cm->mi_rows * cm->mi_cols); in vp9_setup_in_frame_q_adj()
105 const int ymis = MIN(cm->mi_rows - mi_row, bh); in vp9_select_in_frame_q_segment()
Dvp9_segmentation.c121 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in count_segs()
127 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); in count_segs()
163 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in count_segs_sb()
231 for (mi_row = 0; mi_row < cm->mi_rows; in vp9_choose_segmap_coding_method()
Dvp9_encodeframe.c160 x->mv_row_max = (cm->mi_rows - mi_row) * MI_SIZE + VP9_INTERP_EXTEND; in set_offsets()
166 cm->mi_rows, cm->mi_cols); in set_offsets()
199 if (mi_row + j < cm->mi_rows && mi_col + i < cm->mi_cols) in duplicate_mode_info_in_sb()
207 if (cpi->common.mi_cols > mi_col && cpi->common.mi_rows > mi_row) { in set_block_size()
347 mi_row + block_height / 2 < cm->mi_rows && in set_vt_partitioning()
354 if (mi_row + block_height / 2 < cm->mi_rows && in set_vt_partitioning()
470 if (mi_row + y32_idx + y16_idx + 1 < cm->mi_rows && in choose_partitioning()
761 const int is_edge = (mi_row <= 1) || (mi_row >= (cm->mi_rows - 2)) || in rd_pick_sb_modes()
932 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in encode_sb()
963 if (mi_row + hbs < cm->mi_rows && bsize > BLOCK_8X8) { in encode_sb()
[all …]
Dvp9_aq_cyclicrefresh.h26 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols);
Dvp9_encoder.c221 cm->last_frame_seg_map, (cm->mi_rows * cm->mi_cols)); in save_coding_context()
243 (cm->mi_rows * cm->mi_cols)); in restore_coding_context()
262 vpx_memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
275 vpx_memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
334 vpx_memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
379 for (row = 0; row < cm->mi_rows; row++) { in update_reference_segmentation_map()
742 vpx_calloc(cm->mi_rows * cm->mi_cols, 1)); in vp9_create_compressor()
746 vpx_calloc(cm->mi_rows * cm->mi_cols, 1)); in vp9_create_compressor()
750 vp9_cyclic_refresh_alloc(cm->mi_rows, cm->mi_cols)); in vp9_create_compressor()
755 vpx_calloc(cm->mi_rows * cm->mi_cols, 1)); in vp9_create_compressor()
[all …]
Dvp9_mbgraph.c334 for (mi_row = 0; mi_row < cm->mi_rows; mi_row++) { in separate_arf_mbs()
353 cpi->static_mb_pct = (ncnt[1] * 100) / (cm->mi_rows * cm->mi_cols); in separate_arf_mbs()
Dvp9_pickmode.c52 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in mv_refs_rt()
72 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in mv_refs_rt()
88 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in mv_refs_rt()
Dvp9_bitstream.c380 cm->mi_rows, cm->mi_cols); in write_modes_b()
397 const int has_rows = (mi_row + hbs) < cm->mi_rows; in write_partition()
426 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in write_modes_sb()
441 if (mi_row + bs < cm->mi_rows) in write_modes_sb()
Dvp9_temporal_filter.c457 cm->mi_rows * MI_SIZE != cpi->frames[frame]->y_height) { in vp9_temporal_filter()
Dvp9_firstpass.c365 return 2 * mb_row + 1 < cm->mi_rows ? BLOCK_16X16 in get_bsize()
368 return 2 * mb_row + 1 < cm->mi_rows ? BLOCK_8X16 in get_bsize()
549 cm->mi_rows, cm->mi_cols); in vp9_first_pass()
Dvp9_rdopt.c2621 if ((mi_row + bhs) > cm->mi_rows || (mi_col + bws) > cm->mi_cols) { in vp9_rd_pick_inter_mode_sb()
/external/libvpx/libvpx/vp9/common/
Dvp9_alloccommon.c27 for (i = 1; i < cm->mi_rows + 1; ++i) in clear_mi_border()
36 cm->mi_rows = aligned_height >> MI_SIZE_LOG2; in vp9_set_mb_mi()
40 cm->mb_rows = (cm->mi_rows + 1) >> 1; in vp9_set_mb_mi()
50 vpx_memset(cm->mip, 0, cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->mip)); in setup_mi()
52 vpx_memset(cm->mi_grid_base, 0, cm->mi_stride * (cm->mi_rows + 1) * in setup_mi()
134 if (alloc_mi(cm, cm->mi_stride * (cm->mi_rows + MI_BLOCK_SIZE))) goto fail; in vp9_alloc_context_buffers()
136 cm->last_frame_seg_map = (uint8_t *)vpx_calloc(cm->mi_rows * cm->mi_cols, 1); in vp9_alloc_context_buffers()
205 vpx_memset(cm->last_frame_seg_map, 0, cm->mi_rows * cm->mi_cols); in vp9_init_context_buffers()
Dvp9_loopfilter.c649 const int max_rows = (mi_row + MI_BLOCK_SIZE > cm->mi_rows ? in vp9_setup_mask()
650 cm->mi_rows - mi_row : MI_BLOCK_SIZE); in vp9_setup_mask()
783 if (mi_row + MI_BLOCK_SIZE > cm->mi_rows) { in vp9_setup_mask()
784 const uint64_t rows = cm->mi_rows - mi_row; in vp9_setup_mask()
924 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r += row_step) { in filter_block_plane_non420()
947 const int skip_border_4x4_r = ss_y && mi_row + r == cm->mi_rows - 1; in filter_block_plane_non420()
1016 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r += row_step) { in filter_block_plane_non420()
1017 const int skip_border_4x4_r = ss_y && mi_row + r == cm->mi_rows - 1; in filter_block_plane_non420()
1059 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r += 2) { in vp9_filter_block_plane()
1088 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r++) { in vp9_filter_block_plane()
[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.c30 int rows = cm->mi_rows; in print_mi_data()
55 int rows = cm->mi_rows; in vp9_print_modes_and_motion_vectors()
Dvp9_mvref_common.c42 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in find_mv_refs_idx()
62 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in find_mv_refs_idx()
88 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in find_mv_refs_idx()
Dvp9_onyxc_int.h123 int mb_rows, mi_rows; member
281 int mi_rows, int mi_cols) { in set_mi_row_col() argument
283 xd->mb_to_bottom_edge = ((mi_rows - bh - mi_row) * MI_SIZE) * 8; in set_mi_row_col()
Dvp9_mvref_common.h191 int mi_col, int mi_row, int mi_rows, in is_inside() argument
195 mi_row + mi_pos->row >= mi_rows || in is_inside()
Dvp9_entropymode.c443 vpx_memset(cm->last_frame_seg_map, 0, (cm->mi_rows * cm->mi_cols)); in vp9_setup_past_independence()
468 vpx_memset(cm->prev_mip, 0, cm->mi_stride * (cm->mi_rows + 1) * in vp9_setup_past_independence()
471 vpx_memset(cm->mip, 0, cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->mip)); in vp9_setup_past_independence()
Dvp9_pred_common.c375 const int ymis = MIN(cm->mi_rows - mi_row, bh); in vp9_get_segment_id()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c304 const int y_mis = MIN(bh, cm->mi_rows - mi_row); in set_offsets()
319 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); in set_offsets()
388 const int has_rows = (mi_row + hbs) < cm->mi_rows; in read_partition()
415 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in decode_partition()
433 if (mi_row + hbs < cm->mi_rows) in decode_partition()
894 if (mi_row + MI_BLOCK_SIZE >= cm->mi_rows) continue; in decode_tiles()
913 lf_data->stop = cm->mi_rows; in decode_tiles()
Dvp9_dthread.c143 const int sb_rows = mi_cols_aligned_to_sb(cm->mi_rows) >> MI_BLOCK_SIZE_LOG2; in vp9_loop_filter_frame_mt()
Dvp9_decoder.c101 mi_cols_aligned_to_sb(cm->mi_rows) >> MI_BLOCK_SIZE_LOG2; in vp9_decoder_remove()
Dvp9_decodemv.c92 const int ymis = MIN(cm->mi_rows - mi_row, bh); in set_segment_id()