Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_alloccommon.c27 for (i = 1; i < cm->mi_rows + 1; ++i) in clear_mi_border()
33 cm->mi_rows = aligned_height >> MI_SIZE_LOG2; in set_mb_mi()
37 cm->mb_rows = (cm->mi_rows + 1) >> 1; in set_mb_mi()
47 vpx_memset(cm->mip, 0, cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->mip)); in setup_mi()
49 vpx_memset(cm->mi_grid_base, 0, cm->mi_stride * (cm->mi_rows + 1) * in setup_mi()
129 if (alloc_mi(cm, cm->mi_stride * (cm->mi_rows + MI_BLOCK_SIZE))) in vp9_resize_frame_buffers()
136 cm->last_frame_seg_map = (uint8_t *)vpx_calloc(cm->mi_rows * cm->mi_cols, 1); in vp9_resize_frame_buffers()
192 if (alloc_mi(cm, cm->mi_stride * (cm->mi_rows + MI_BLOCK_SIZE))) in vp9_alloc_frame_buffers()
198 cm->last_frame_seg_map = (uint8_t *)vpx_calloc(cm->mi_rows * cm->mi_cols, 1); in vp9_alloc_frame_buffers()
236 vpx_memset(cm->last_frame_seg_map, 0, cm->mi_rows * cm->mi_cols); in vp9_update_frame_size()
Dvp9_tile_common.c25 tile->mi_row_start = get_tile_offset(row, cm->mi_rows, cm->log2_tile_rows); in vp9_tile_init()
26 tile->mi_row_end = get_tile_offset(row + 1, cm->mi_rows, cm->log2_tile_rows); in vp9_tile_init()
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()
782 if (mi_row + MI_BLOCK_SIZE > cm->mi_rows) { in vp9_setup_mask()
783 const uint64_t rows = cm->mi_rows - mi_row; in vp9_setup_mask()
922 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r += row_step) { in filter_block_plane_non420()
945 const int skip_border_4x4_r = ss_y && mi_row + r == cm->mi_rows - 1; in filter_block_plane_non420()
1014 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r += row_step) { in filter_block_plane_non420()
1015 const int skip_border_4x4_r = ss_y && mi_row + r == cm->mi_rows - 1; in filter_block_plane_non420()
1057 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r += 2) { in vp9_filter_block_plane()
1086 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r++) { in vp9_filter_block_plane()
[all …]
Dvp9_mvref_common.c181 int mi_col, int mi_row, int mi_rows, in is_inside() argument
185 mi_row + mi_pos->row >= mi_rows || in is_inside()
217 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in find_mv_refs_idx()
237 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in find_mv_refs_idx()
263 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in find_mv_refs_idx()
Dvp9_debugmodes.c31 int rows = cm->mi_rows; in print_mi_data()
56 int rows = cm->mi_rows; in vp9_print_modes_and_motion_vectors()
Dvp9_onyxc_int.h127 int mb_rows, mi_rows; member
273 int mi_rows, int mi_cols) { in set_mi_row_col() argument
275 xd->mb_to_bottom_edge = ((mi_rows - bh - mi_row) * MI_SIZE) * 8; in set_mi_row_col()
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()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_aq_cyclicrefresh.c50 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols) { in vp9_cyclic_refresh_alloc() argument
55 cr->map = vpx_calloc(mi_rows * mi_cols, sizeof(*cr->map)); in vp9_cyclic_refresh_alloc()
78 const int number_blocks = cm->mi_rows * cm->mi_cols; in apply_cyclic_refresh_bitrate()
137 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()
225 vpx_memset(seg_map, 0, cm->mi_rows * cm->mi_cols); in vp9_cyclic_refresh_setup()
259 sb_rows = (cm->mi_rows + MI_BLOCK_SIZE - 1) / MI_BLOCK_SIZE; in vp9_cyclic_refresh_setup()
275 assert(mi_row >= 0 && mi_row < cm->mi_rows); in vp9_cyclic_refresh_setup()
281 ymis = MIN(cm->mi_rows - mi_row, in vp9_cyclic_refresh_setup()
Dvp9_aq_complexity.c34 vpx_memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in vp9_setup_in_frame_q_adj()
37 vpx_memset(cpi->complexity_map, 0, cm->mi_rows * cm->mi_cols); in vp9_setup_in_frame_q_adj()
70 const int ymis = MIN(cm->mi_rows - mi_row, bh); in vp9_select_in_frame_q_segment()
Dvp9_segmentation.c37 (cpi->common.mi_rows * cpi->common.mi_cols)); in vp9_set_segmentation_map()
133 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in count_segs()
139 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); in count_segs()
176 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in count_segs_sb()
247 for (mi_row = 0; mi_row < cm->mi_rows; in vp9_choose_segmap_coding_method()
Dvp9_aq_cyclicrefresh.h26 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols);
Dvp9_encodeframe.c237 x->mv_row_max = (cm->mi_rows - mi_row) * MI_SIZE + VP9_INTERP_EXTEND; in set_offsets()
243 cm->mi_rows, cm->mi_cols); in set_offsets()
294 if (mi_row + j < cm->mi_rows && mi_col + i < cm->mi_cols) in duplicate_mode_info_in_sb()
303 if (cpi->common.mi_cols > mi_col && cpi->common.mi_rows > mi_row) { in set_block_size()
442 mi_row + block_height / 2 < cm->mi_rows && in set_vt_partitioning()
449 if (mi_row + block_height / 2 < cm->mi_rows && in set_vt_partitioning()
565 if (mi_row + y32_idx + y16_idx + 1 < cm->mi_rows && in choose_partitioning()
1063 const int is_edge = (mi_row <= 1) || (mi_row >= (cm->mi_rows - 2)) || in rd_pick_sb_modes()
1257 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in encode_sb()
1291 if (mi_row + hbs < cm->mi_rows) { in encode_sb()
[all …]
Dvp9_mbgraph.c347 for (mi_row = 0; mi_row < cm->mi_rows; mi_row++) { in separate_arf_mbs()
366 cpi->static_mb_pct = (ncnt[1] * 100) / (cm->mi_rows * cm->mi_cols); in separate_arf_mbs()
Dvp9_onyx_if.c274 vpx_memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
287 vpx_memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
346 vpx_memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
394 for (row = 0; row < cpi->common.mi_rows; row++) { in print_seg_map()
412 for (row = 0; row < cm->mi_rows; row++) { in update_reference_segmentation_map()
1200 vpx_calloc(cm->mi_rows * cm->mi_cols, 1)); in vp9_create_compressor()
1204 vpx_calloc(cm->mi_rows * cm->mi_cols, 1)); in vp9_create_compressor()
1208 vp9_cyclic_refresh_alloc(cm->mi_rows, cm->mi_cols)); in vp9_create_compressor()
1213 vpx_calloc(cm->mi_rows * cm->mi_cols, 1)); in vp9_create_compressor()
2555 cm->mi_rows * MI_SIZE != cpi->un_scaled_source->y_height) {
[all …]
Dvp9_bitstream.c384 cm->mi_rows, cm->mi_cols); in write_modes_b()
400 const int has_rows = (mi_row + hbs) < cm->mi_rows; in write_partition()
429 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in write_modes_sb()
444 if (mi_row + bs < cm->mi_rows) in write_modes_sb()
Dvp9_ratectrl.c124 cm->last_frame_seg_map, (cm->mi_rows * cm->mi_cols)); in vp9_save_coding_context()
146 (cm->mi_rows * cm->mi_cols)); in vp9_restore_coding_context()
Dvp9_firstpass.c463 return 2 * mb_row + 1 < cm->mi_rows ? BLOCK_16X16 in get_bsize()
466 return 2 * mb_row + 1 < cm->mi_rows ? BLOCK_8X16 in get_bsize()
597 cm->mi_rows, cm->mi_cols); in vp9_first_pass()
Dvp9_rdopt.c3266 if ((mi_row + bhs) > cm->mi_rows || (mi_col + bws) > cm->mi_cols) { in vp9_rd_pick_inter_mode_sb()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_decodeframe.c302 const int y_mis = MIN(bh, cm->mi_rows - mi_row); in set_offsets()
317 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); in set_offsets()
386 const int has_rows = (mi_row + hbs) < cm->mi_rows; in read_partition()
413 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in decode_partition()
427 if (mi_row + hbs < cm->mi_rows) in decode_partition()
729 lf_data->stop = cm->mi_rows; in decode_tile()
Dvp9_dthread.c142 const int sb_rows = mi_cols_aligned_to_sb(cm->mi_rows) >> MI_BLOCK_SIZE_LOG2; in vp9_loop_filter_frame_mt()
Dvp9_decoder.c172 mi_cols_aligned_to_sb(cm->mi_rows) >> MI_BLOCK_SIZE_LOG2; in vp9_remove_decompressor()
Dvp9_decodemv.c93 const int ymis = MIN(cm->mi_rows - mi_row, bh); in set_segment_id()