/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_aq_cyclicrefresh.c | 50 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() 136 const int xmis = MIN(cm->mi_cols - mi_col, bw); in vp9_cyclic_refresh_update_segment() 138 const int block_index = mi_row * cm->mi_cols + mi_col; in vp9_cyclic_refresh_update_segment() 168 cr->map[block_index + y * cm->mi_cols + x] = new_map_value; in vp9_cyclic_refresh_update_segment() 169 cpi->segmentation_map[block_index + y * cm->mi_cols + x] = 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() 258 sb_cols = (cm->mi_cols + MI_BLOCK_SIZE - 1) / MI_BLOCK_SIZE; in vp9_cyclic_refresh_setup() [all …]
|
D | vp9_aq_complexity.c | 34 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() 66 const int mi_offset = mi_row * cm->mi_cols + mi_col; in vp9_select_in_frame_q_segment() 69 const int xmis = MIN(cm->mi_cols - mi_col, bw); in vp9_select_in_frame_q_segment() 99 cpi->segmentation_map[mi_offset + y * cm->mi_cols + x] = segment; in vp9_select_in_frame_q_segment() 100 cpi->complexity_map[mi_offset + y * cm->mi_cols + x] = in vp9_select_in_frame_q_segment()
|
D | vp9_segmentation.c | 37 (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()
|
D | vp9_aq_cyclicrefresh.h | 26 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols);
|
D | vp9_encodeframe.c | 238 x->mv_col_max = (cm->mi_cols - mi_col) * 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() 441 if (mi_col + block_width / 2 < cm->mi_cols && in set_vt_partitioning() 459 if (mi_col + block_width / 2 < cm->mi_cols && in set_vt_partitioning() 566 mi_row + x32_idx + x16_idx + 1 < cm->mi_cols) { in choose_partitioning() 1061 const int mi_offset = mi_row * cm->mi_cols + mi_col; in rd_pick_sb_modes() 1064 (mi_col <= 1) || (mi_col >= (cm->mi_cols - 2)); in rd_pick_sb_modes() 1257 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in encode_sb() [all …]
|
D | vp9_mbgraph.c | 348 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) { in separate_arf_mbs() 353 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 0; in separate_arf_mbs() 355 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 1; in separate_arf_mbs() 366 cpi->static_mb_pct = (ncnt[1] * 100) / (cm->mi_rows * cm->mi_cols); in separate_arf_mbs()
|
D | vp9_bitstream.c | 384 cm->mi_rows, cm->mi_cols); in write_modes_b() 401 const int has_cols = (mi_col + hbs) < cm->mi_cols; in write_partition() 429 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in write_modes_sb() 449 if (mi_col + bs < cm->mi_cols) in write_modes_sb() 875 vp9_get_tile_n_bits(cm->mi_cols, &min_log2_tile_cols, &max_log2_tile_cols); in write_tile_info() 938 mi_cols_aligned_to_sb(cm->mi_cols));
|
D | vp9_onyx_if.c | 274 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() 395 for (col = 0; col < cpi->common.mi_cols; col++) { in print_seg_map() 415 for (col = 0; col < cm->mi_cols; col++, mi_8x8++, cache++) in update_reference_segmentation_map() 418 cache_ptr += cm->mi_cols; in update_reference_segmentation_map() 749 vp9_get_tile_n_bits(cm->mi_cols, &min_log2_tile_cols, &max_log2_tile_cols); in set_tile_limits() 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() [all …]
|
D | vp9_ratectrl.c | 124 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()
|
D | vp9_firstpass.c | 462 if (2 * mb_col + 1 < cm->mi_cols) { in get_bsize() 597 cm->mi_rows, cm->mi_cols); in vp9_first_pass()
|
D | vp9_rdopt.c | 3266 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/common/ |
D | vp9_tile_common.c | 27 tile->mi_col_start = get_tile_offset(col, cm->mi_cols, cm->log2_tile_cols); in vp9_tile_init() 28 tile->mi_col_end = get_tile_offset(col + 1, cm->mi_cols, cm->log2_tile_cols); in vp9_tile_init() 31 void vp9_get_tile_n_bits(int mi_cols, in vp9_get_tile_n_bits() argument 33 const int sb_cols = mi_cols_aligned_to_sb(mi_cols) >> MI_BLOCK_SIZE_LOG2; in vp9_get_tile_n_bits()
|
D | vp9_alloccommon.c | 32 cm->mi_cols = aligned_width >> MI_SIZE_LOG2; in set_mb_mi() 34 cm->mi_stride = cm->mi_cols + MI_BLOCK_SIZE; in set_mb_mi() 36 cm->mb_cols = (cm->mi_cols + 1) >> 1; in set_mb_mi() 136 cm->last_frame_seg_map = (uint8_t *)vpx_calloc(cm->mi_rows * cm->mi_cols, 1); in vp9_resize_frame_buffers() 142 (ENTROPY_CONTEXT *)vpx_calloc(2 * mi_cols_aligned_to_sb(cm->mi_cols) * in vp9_resize_frame_buffers() 150 (PARTITION_CONTEXT *)vpx_calloc(mi_cols_aligned_to_sb(cm->mi_cols), in vp9_resize_frame_buffers() 198 cm->last_frame_seg_map = (uint8_t *)vpx_calloc(cm->mi_rows * cm->mi_cols, 1); in vp9_alloc_frame_buffers() 203 (ENTROPY_CONTEXT *)vpx_calloc(2 * mi_cols_aligned_to_sb(cm->mi_cols) * in vp9_alloc_frame_buffers() 210 (PARTITION_CONTEXT *)vpx_calloc(mi_cols_aligned_to_sb(cm->mi_cols), 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()
|
D | vp9_onyxc_int.h | 128 int mb_cols, mi_cols; member 246 i * sizeof(*cm->above_context) * 2 * mi_cols_aligned_to_sb(cm->mi_cols); in init_macroblockd() 273 int mi_rows, int mi_cols) { in set_mi_row_col() argument 277 xd->mb_to_right_edge = ((mi_cols - bw - mi_col) * MI_SIZE) * 8; in set_mi_row_col()
|
D | vp9_debugmodes.c | 32 int cols = cm->mi_cols; in print_mi_data() 57 int cols = cm->mi_cols; in vp9_print_modes_and_motion_vectors()
|
D | vp9_tile_common.h | 30 void vp9_get_tile_n_bits(int mi_cols,
|
D | vp9_pred_common.c | 371 const int mi_offset = mi_row * cm->mi_cols + mi_col; in vp9_get_segment_id() 374 const int xmis = MIN(cm->mi_cols - mi_col, bw); in vp9_get_segment_id() 381 segment_ids[mi_offset + y * cm->mi_cols + x]); in vp9_get_segment_id()
|
D | vp9_loopfilter.c | 651 const int max_cols = (mi_col + MI_BLOCK_SIZE > cm->mi_cols ? in vp9_setup_mask() 652 cm->mi_cols - mi_col : MI_BLOCK_SIZE); in vp9_setup_mask() 811 if (mi_col + MI_BLOCK_SIZE > cm->mi_cols) { in vp9_setup_mask() 812 const uint64_t columns = cm->mi_cols - mi_col; in vp9_setup_mask() 929 for (c = 0; c < MI_BLOCK_SIZE && mi_col + c < cm->mi_cols; c += col_step) { in filter_block_plane_non420() 944 const int skip_border_4x4_c = ss_x && mi_col + c == cm->mi_cols - 1; in filter_block_plane_non420() 1206 for (mi_col = 0; mi_col < cm->mi_cols; mi_col += MI_BLOCK_SIZE) { in vp9_loop_filter_rows()
|
D | vp9_entropymode.c | 443 vpx_memset(cm->last_frame_seg_map, 0, (cm->mi_rows * cm->mi_cols)); in vp9_setup_past_independence()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
D | vp9_decodeframe.c | 301 const int x_mis = MIN(bw, cm->mi_cols - mi_col); 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() 387 const int has_cols = (mi_col + hbs) < cm->mi_cols; in read_partition() 413 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in decode_partition() 432 if (mi_col + hbs < cm->mi_cols) in decode_partition() 736 vp9_get_tile_n_bits(cm->mi_cols, &min_log2_tile_cols, &max_log2_tile_cols); in setup_tile_info() 785 const int aligned_cols = mi_cols_aligned_to_sb(cm->mi_cols); in decode_tiles() 875 const int aligned_mi_cols = mi_cols_aligned_to_sb(cm->mi_cols); in decode_tiles_mt()
|
D | vp9_decodemv.c | 89 const int mi_offset = mi_row * cm->mi_cols + mi_col; in set_segment_id() 92 const int xmis = MIN(cm->mi_cols - mi_col, bw); in set_segment_id() 100 cm->last_frame_seg_map[mi_offset + y * cm->mi_cols + x] = segment_id; in set_segment_id()
|
D | vp9_dthread.c | 98 const int sb_cols = mi_cols_aligned_to_sb(cm->mi_cols) >> MI_BLOCK_SIZE_LOG2; in loop_filter_rows_mt()
|