/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_encodeframe.c | 77 int mi_row, int mi_col, BLOCK_SIZE bsize); 116 int mi_row, in get_sby_perpixel_diff_variance() argument 120 int offset = (mi_row * MI_SIZE) * yv12->y_stride + (mi_col * MI_SIZE); in get_sby_perpixel_diff_variance() 131 int mi_row, in get_rd_var_based_fixed_partition() argument 134 mi_row, mi_col, in get_rd_var_based_fixed_partition() 147 int mi_row, in get_nonrd_var_based_fixed_partition() argument 150 mi_row, mi_col, in get_nonrd_var_based_fixed_partition() 164 int mi_row, in set_modeinfo_offsets() argument 166 const int idx_str = xd->mi_stride * mi_row + mi_col; in set_modeinfo_offsets() 171 static int is_block_in_mb_map(const VP9_COMP *cpi, int mi_row, int mi_col, in is_block_in_mb_map() argument [all …]
|
D | vp9_segmentation.c | 128 int bw, int bh, int mi_row, int mi_col) { in count_segs() argument 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() 149 bsize, mi_row, mi_col); in count_segs() 169 int mi_row, int mi_col, in count_segs_sb() argument 176 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in count_segs_sb() 184 t_unpred_seg_counts, bs, bs, mi_row, mi_col); in count_segs_sb() 187 t_unpred_seg_counts, bs, hbs, mi_row, mi_col); in count_segs_sb() 190 mi_row + hbs, mi_col); in count_segs_sb() 193 t_unpred_seg_counts, hbs, bs, mi_row, mi_col); in count_segs_sb() [all …]
|
D | vp9_aq_cyclicrefresh.c | 130 int mi_row, int mi_col, in vp9_cyclic_refresh_update_segment() argument 137 const int ymis = MIN(cm->mi_rows - mi_row, bh); in vp9_cyclic_refresh_update_segment() 138 const int block_index = mi_row * cm->mi_cols + mi_col; in vp9_cyclic_refresh_update_segment() 273 int mi_row = sb_row_index * MI_BLOCK_SIZE; in vp9_cyclic_refresh_setup() local 275 assert(mi_row >= 0 && mi_row < cm->mi_rows); in vp9_cyclic_refresh_setup() 277 bl_index = mi_row * cm->mi_cols + mi_col; in vp9_cyclic_refresh_setup() 281 ymis = MIN(cm->mi_rows - mi_row, in vp9_cyclic_refresh_setup()
|
D | vp9_rdopt.h | 47 int mi_row, int mi_col, 61 int mi_row, int mi_col, 70 int mi_row, int mi_col,
|
D | vp9_aq_complexity.c | 62 int mi_row, int mi_col, in vp9_select_in_frame_q_segment() argument 66 const int mi_offset = mi_row * cm->mi_cols + mi_col; in vp9_select_in_frame_q_segment() 70 const int ymis = MIN(cm->mi_rows - mi_row, bh); in vp9_select_in_frame_q_segment()
|
D | vp9_bitstream.c | 373 int mi_row, int mi_col) { in write_modes_b() argument 378 xd->mi = cm->mi_grid_visible + (mi_row * cm->mi_stride + mi_col); in write_modes_b() 382 mi_row, num_8x8_blocks_high_lookup[m->mbmi.sb_type], in write_modes_b() 396 int hbs, int mi_row, int mi_col, in write_partition() argument 398 const int ctx = partition_plane_context(xd, mi_row, mi_col, bsize); in write_partition() 400 const int has_rows = (mi_row + hbs) < cm->mi_rows; in write_partition() 419 int mi_row, int mi_col, BLOCK_SIZE bsize) { in write_modes_sb() argument 427 MODE_INFO *m = cm->mi_grid_visible[mi_row * cm->mi_stride + mi_col]; in write_modes_sb() 429 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in write_modes_sb() 433 write_partition(cm, xd, bs, mi_row, mi_col, partition, bsize, w); in write_modes_sb() [all …]
|
D | vp9_pickmode.c | 31 BLOCK_SIZE bsize, int mi_row, int mi_col, in full_pixel_motion_search() argument 58 vp9_setup_pre_planes(xd, 0, scaled_ref_frame, mi_row, mi_col, NULL); in full_pixel_motion_search() 135 BLOCK_SIZE bsize, int mi_row, int mi_col, in sub_pixel_motion_search() argument 154 vp9_setup_pre_planes(xd, 0, scaled_ref_frame, mi_row, mi_col, NULL); in sub_pixel_motion_search() 205 int mi_row, int mi_col, in vp9_pick_inter_mode() argument 261 ref_frame, bsize, mi_row, mi_col, in vp9_pick_inter_mode() 304 full_pixel_motion_search(cpi, x, tile, bsize, mi_row, mi_col, in vp9_pick_inter_mode() 310 sub_pixel_motion_search(cpi, x, tile, bsize, mi_row, mi_col, in vp9_pick_inter_mode() 321 vp9_build_inter_predictors_sby(xd, mi_row, mi_col, bsize); in vp9_pick_inter_mode()
|
D | vp9_mbgraph.c | 308 int mi_row, mi_col; in separate_arf_mbs() local 347 for (mi_row = 0; mi_row < cm->mi_rows; mi_row++) { in separate_arf_mbs() 351 if (arf_not_zz[mi_row / 2 * cm->mb_cols + mi_col / 2]) { 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()
|
D | vp9_aq_complexity.h | 22 void vp9_select_in_frame_q_segment(struct VP9_COMP *cpi, int mi_row, int mi_col,
|
D | vp9_encodeframe.h | 25 int mi_row, int mi_col);
|
D | vp9_pickmode.h | 22 int mi_row, int mi_col,
|
D | vp9_aq_cyclicrefresh.h | 35 int mi_row, int mi_col,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_reconinter.h | 21 void vp9_build_inter_predictors_sby(MACROBLOCKD *xd, int mi_row, int mi_col, 24 void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col, 27 void vp9_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, 30 void vp9_dec_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, 51 int mi_row, int mi_col, in setup_pred_plane() argument 55 const int y = (MI_SIZE * mi_row) >> subsampling_y; in setup_pred_plane() 61 int mi_row, int mi_col); 64 const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col,
|
D | vp9_debugmodes.c | 27 int mi_row; in print_mi_data() local 37 for (mi_row = 0; mi_row < rows; mi_row++) { in print_mi_data() 51 int mi_row; in vp9_print_modes_and_motion_vectors() local 67 for (mi_row = 0; mi_row < rows; mi_row++) { in vp9_print_modes_and_motion_vectors()
|
D | vp9_mvref_common.c | 181 int mi_col, int mi_row, int mi_rows, in is_inside() argument 183 return !(mi_row + mi_pos->row < 0 || in is_inside() 185 mi_row + mi_pos->row >= mi_rows || in is_inside() 195 int block, int mi_row, int mi_col) { in find_mv_refs_idx() argument 199 ? cm->prev_mi_grid_visible[mi_row * xd->mi_stride + mi_col] in find_mv_refs_idx() 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() 290 int mi_row, int mi_col) { in vp9_find_mv_refs() argument 292 mi_row, mi_col); in vp9_find_mv_refs() [all …]
|
D | vp9_onyxc_int.h | 259 static INLINE void set_skip_context(MACROBLOCKD *xd, int mi_row, int mi_col) { in set_skip_context() argument 261 const int left_idx = (mi_row * 2) & 15; in set_skip_context() 271 int mi_row, int bh, in set_mi_row_col() argument 274 xd->mb_to_top_edge = -((mi_row * MI_SIZE) * 8); in set_mi_row_col() 275 xd->mb_to_bottom_edge = ((mi_rows - bh - mi_row) * MI_SIZE) * 8; in set_mi_row_col() 280 xd->up_available = (mi_row != 0); in set_mi_row_col() 300 int mi_row, int mi_col, in update_partition_context() argument 304 PARTITION_CONTEXT *const left_ctx = xd->left_seg_context + (mi_row & MI_MASK); in update_partition_context() 317 int mi_row, int mi_col, in partition_plane_context() argument 320 const PARTITION_CONTEXT *left_ctx = xd->left_seg_context + (mi_row & MI_MASK); in partition_plane_context()
|
D | vp9_loopfilter.c | 621 void vp9_setup_mask(VP9_COMMON *const cm, const int mi_row, const int mi_col, in vp9_setup_mask() argument 649 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() 907 int mi_row, int mi_col) { in filter_block_plane_non420() argument 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() [all …]
|
D | vp9_reconinter.c | 202 int mi_row, int mi_col, in build_inter_predictors_for_planes() argument 206 const int mi_y = mi_row * MI_SIZE; in build_inter_predictors_for_planes() 229 void vp9_build_inter_predictors_sby(MACROBLOCKD *xd, int mi_row, int mi_col, in vp9_build_inter_predictors_sby() argument 231 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 0, 0); in vp9_build_inter_predictors_sby() 233 void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col, in vp9_build_inter_predictors_sbuv() argument 235 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 1, in vp9_build_inter_predictors_sbuv() 238 void vp9_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, in vp9_build_inter_predictors_sb() argument 240 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 0, in vp9_build_inter_predictors_sb() 385 void vp9_dec_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, in vp9_dec_build_inter_predictors_sb() argument 389 const int mi_y = mi_row * MI_SIZE; in vp9_dec_build_inter_predictors_sb() [all …]
|
D | vp9_mvref_common.h | 35 int_mv *mv_ref_list, int mi_row, int mi_col); 45 int block, int ref, int mi_row, int mi_col,
|
D | vp9_loopfilter.h | 91 const int mi_row, const int mi_col, 97 int mi_row,
|
D | vp9_pred_common.c | 370 BLOCK_SIZE bsize, int mi_row, int mi_col) { in vp9_get_segment_id() argument 371 const int mi_offset = mi_row * cm->mi_cols + mi_col; in vp9_get_segment_id() 375 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/decoder/ |
D | vp9_decodeframe.c | 298 BLOCK_SIZE bsize, int mi_row, int mi_col) { in set_offsets() argument 302 const int y_mis = MIN(bh, cm->mi_rows - mi_row); in set_offsets() 303 const int offset = mi_row * cm->mi_stride + mi_col; in set_offsets() 313 set_skip_context(xd, mi_row, 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() 319 vp9_setup_dst_planes(xd, get_frame_new_buffer(cm), mi_row, mi_col); in set_offsets() 324 int idx, int mi_row, int mi_col) { in set_ref() argument 331 vp9_setup_pre_planes(xd, idx, ref_buffer->buf, mi_row, mi_col, in set_ref() 338 int mi_row, int mi_col, in decode_block() argument 341 MB_MODE_INFO *mbmi = set_offsets(cm, xd, tile, bsize, mi_row, mi_col); in decode_block() [all …]
|
D | vp9_decodemv.c | 88 int mi_row, int mi_col, int segment_id) { in set_segment_id() argument 89 const int mi_offset = mi_row * cm->mi_cols + mi_col; in set_segment_id() 93 const int ymis = MIN(cm->mi_rows - mi_row, bh); in set_segment_id() 104 int mi_row, int mi_col, in read_intra_segment_id() argument 117 set_segment_id(cm, bsize, mi_row, mi_col, segment_id); in read_intra_segment_id() 122 int mi_row, int mi_col, vp9_reader *r) { in read_inter_segment_id() argument 132 bsize, mi_row, mi_col); in read_inter_segment_id() 144 set_segment_id(cm, bsize, mi_row, mi_col, segment_id); in read_inter_segment_id() 163 int mi_row, int mi_col, vp9_reader *r) { in read_intra_frame_mode_info() argument 171 mbmi->segment_id = read_intra_segment_id(cm, xd, mi_row, mi_col, r); in read_intra_frame_mode_info() [all …]
|
D | vp9_dthread.c | 101 const int mi_row = r << MI_BLOCK_SIZE_LOG2; in loop_filter_rows_mt() local 102 MODE_INFO **mi_8x8 = cm->mi_grid_visible + mi_row * cm->mi_stride; in loop_filter_rows_mt() 110 vp9_setup_dst_planes(xd, frame_buffer, mi_row, mi_col); in loop_filter_rows_mt() 111 vp9_setup_mask(cm, mi_row, mi_col, mi_8x8 + mi_col, cm->mi_stride, &lfm); in loop_filter_rows_mt() 114 vp9_filter_block_plane(cm, &xd->plane[plane], mi_row, &lfm); in loop_filter_rows_mt()
|
D | vp9_decodemv.h | 24 int mi_row, int mi_col, vp9_reader *r);
|