/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encodeframe.c | 52 int mi_row, int mi_col, BLOCK_SIZE bsize, 142 int mi_row, int mi_col, in get_sby_perpixel_diff_variance() argument 150 &last->y_buffer[mi_row * MI_SIZE * last->y_stride + mi_col * MI_SIZE]; in get_sby_perpixel_diff_variance() 156 int mi_row, in get_rd_var_based_fixed_partition() argument 159 mi_row, mi_col, in get_rd_var_based_fixed_partition() 176 int mi_row, in set_mode_info_offsets() argument 178 const int idx_str = xd->mi_stride * mi_row + mi_col; in set_mode_info_offsets() 181 x->mbmi_ext = x->mbmi_ext_base + (mi_row * cm->mi_cols + mi_col); in set_mode_info_offsets() 185 MACROBLOCK *const x, int mi_row, int mi_col, in set_offsets() argument 194 set_skip_context(xd, mi_row, mi_col); in set_offsets() [all …]
|
D | vp9_segmentation.c | 114 int bw, int bh, int mi_row, int mi_col) { in count_segs() argument 117 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() 133 bsize, mi_row, mi_col); in count_segs() 153 int mi_row, int mi_col, in count_segs_sb() argument 159 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in count_segs_sb() 167 t_unpred_seg_counts, bs, bs, mi_row, mi_col); in count_segs_sb() 170 t_unpred_seg_counts, bs, hbs, mi_row, mi_col); in count_segs_sb() 173 mi_row + hbs, mi_col); in count_segs_sb() 176 t_unpred_seg_counts, hbs, bs, mi_row, mi_col); in count_segs_sb() [all …]
|
D | vp9_aq_cyclicrefresh.c | 190 int mi_row, int mi_col, in vp9_cyclic_refresh_update_segment() argument 200 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); in vp9_cyclic_refresh_update_segment() 201 const int block_index = mi_row * cm->mi_cols + mi_col; in vp9_cyclic_refresh_update_segment() 246 int mi_row, int mi_col, in vp9_cyclic_refresh_update_sb_postencode() argument 254 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); in vp9_cyclic_refresh_update_sb_postencode() 255 const int block_index = mi_row * cm->mi_cols + mi_col; in vp9_cyclic_refresh_update_sb_postencode() 290 int mi_row, mi_col; in vp9_cyclic_refresh_postencode() local 293 for (mi_row = 0; mi_row < cm->mi_rows; mi_row++) in vp9_cyclic_refresh_postencode() 296 seg_map[mi_row * cm->mi_cols + mi_col]) == CR_SEGMENT_ID_BOOST1) in vp9_cyclic_refresh_postencode() 299 seg_map[mi_row * cm->mi_cols + mi_col]) == CR_SEGMENT_ID_BOOST2) in vp9_cyclic_refresh_postencode() [all …]
|
D | vp9_denoiser.c | 185 int mi_row, int mi_col) { in block_start() argument 186 return framebuf + (stride * mi_row * 8) + (mi_col * 8); in block_start() 193 int mi_row, in perform_motion_compensation() argument 264 mi_row, mi_col); in perform_motion_compensation() 270 mi_row, mi_col); in perform_motion_compensation() 276 mi_row, mi_col); in perform_motion_compensation() 283 mi_row, mi_col); in perform_motion_compensation() 288 mi_row, mi_col); in perform_motion_compensation() 293 mi_row, mi_col); in perform_motion_compensation() 314 int mi_row, int mi_col, BLOCK_SIZE bs, in vp9_denoiser_denoise() argument [all …]
|
D | vp9_rdopt.h | 44 int mi_row, int mi_col, 58 int vp9_active_h_edge(struct VP9_COMP *cpi, int mi_row, int mi_step); 60 int vp9_active_edge_sb(struct VP9_COMP *cpi, int mi_row, int mi_col); 65 int mi_row, int mi_col,
|
D | vp9_bitstream.c | 379 int mi_row, int mi_col) { in write_modes_b() argument 384 xd->mi = cm->mi_grid_visible + (mi_row * cm->mi_stride + mi_col); in write_modes_b() 388 (mi_row * cm->mi_cols + mi_col); in write_modes_b() 391 mi_row, num_8x8_blocks_high_lookup[m->mbmi.sb_type], in write_modes_b() 406 int hbs, int mi_row, int mi_col, in write_partition() argument 408 const int ctx = partition_plane_context(xd, mi_row, mi_col, bsize); in write_partition() 410 const int has_rows = (mi_row + hbs) < cm->mi_rows; in write_partition() 429 int mi_row, int mi_col, BLOCK_SIZE bsize) { in write_modes_sb() argument 439 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in write_modes_sb() 442 m = cm->mi_grid_visible[mi_row * cm->mi_stride + mi_col]; in write_modes_sb() [all …]
|
D | vp9_aq_complexity.c | 115 int mi_row, int mi_col, int projected_rate) { in vp9_caq_select_segment() argument 118 const int mi_offset = mi_row * cm->mi_cols + mi_col; in vp9_caq_select_segment() 122 const int ymis = VPXMIN(cm->mi_rows - mi_row, num_8x8_blocks_high_lookup[bs]); in vp9_caq_select_segment() 143 vp9_setup_src_planes(mb, cpi->Source, mi_row, mi_col); in vp9_caq_select_segment()
|
D | vp9_skin_detection.c | 54 int i, j, mi_row, mi_col, num_bl; in vp9_compute_skin_map() local 84 for (mi_row = 0; mi_row < cm->mi_rows - 1; mi_row += fac) { in vp9_compute_skin_map()
|
D | vp9_pickmode.h | 25 int mi_row, int mi_col, RD_COST *rd_cost, 30 int mi_row, int mi_col, RD_COST *rd_cost,
|
D | vp9_mbgraph.c | 305 int mi_row, mi_col; in separate_arf_mbs() local 344 for (mi_row = 0; mi_row < cm->mi_rows; mi_row++) { in separate_arf_mbs() 348 if (arf_not_zz[mi_row / 2 * cm->mb_cols + mi_col / 2]) { in separate_arf_mbs() 350 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 0; in separate_arf_mbs() 352 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 1; in separate_arf_mbs()
|
D | vp9_pickmode.c | 48 int mi_row, int mi_col) { in mv_refs_rt() argument 66 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in mv_refs_rt() 87 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in mv_refs_rt() 103 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in mv_refs_rt() 126 BLOCK_SIZE bsize, int mi_row, int mi_col, in combined_motion_search() argument 154 vp9_setup_pre_planes(xd, 0, scaled_ref_frame, mi_row, mi_col, NULL); in combined_motion_search() 260 int mi_row, int mi_col, int *early_term) { in model_rd_for_sb_y_large() argument 393 vp9_build_inter_predictors_sbp(xd, mi_row, mi_col, bsize, i); in model_rd_for_sb_y_large() 775 BLOCK_SIZE bsize, int mi_row, int mi_col, in encode_breakout_test() argument 835 vp9_build_inter_predictors_sbuv(xd, mi_row, mi_col, bsize); in encode_breakout_test() [all …]
|
D | vp9_aq_cyclicrefresh.h | 95 int mi_row, int mi_col, BLOCK_SIZE bsize, 100 int mi_row, int mi_col,
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_debugmodes.c | 27 int mi_row, mi_col; in print_mi_data() local 34 for (mi_row = 0; mi_row < rows; mi_row++) { in print_mi_data() 49 int mi_row; in vp9_print_modes_and_motion_vectors() local 64 for (mi_row = 0; mi_row < rows; mi_row++) { in vp9_print_modes_and_motion_vectors() 78 for (mi_row = 0; mi_row < rows; mi_row++) { in vp9_print_modes_and_motion_vectors()
|
D | vp9_loopfilter.h | 99 const int mi_row, const int mi_col, 105 int mi_row, 110 int mi_row, 116 int mi_row, int mi_col); 133 const int mi_row, const int mi_col) { in get_lfm() argument 134 return &lf->lfm[(mi_col >> 3) + ((mi_row >> 3) * lf->lfm_stride)]; in get_lfm() 137 void vp9_build_mask(struct VP9Common *cm, const MB_MODE_INFO *mbmi, int mi_row, 139 void vp9_adjust_mask(struct VP9Common *const cm, const int mi_row,
|
D | vp9_reconinter.h | 53 void vp9_build_inter_predictors_sby(MACROBLOCKD *xd, int mi_row, int mi_col, 56 void vp9_build_inter_predictors_sbp(MACROBLOCKD *xd, int mi_row, int mi_col, 59 void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col, 62 void vp9_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, 94 int mi_row, int mi_col, in setup_pred_plane() argument 98 const int y = (MI_SIZE * mi_row) >> subsampling_y; in setup_pred_plane() 105 int mi_row, int mi_col); 108 const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col,
|
D | vp9_mvref_common.c | 19 int block, int mi_row, int mi_col, in find_mv_refs_idx() argument 28 cm->prev_frame->mvs + mi_row * cm->mi_cols + mi_col : NULL; in find_mv_refs_idx() 39 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() 79 sync(data, mi_row); in find_mv_refs_idx() 87 sync(data, mi_row); in find_mv_refs_idx() 103 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in find_mv_refs_idx() 152 int mi_row, int mi_col, in vp9_find_mv_refs() argument 156 mi_row, mi_col, sync, data, mode_context); in vp9_find_mv_refs() 183 int block, int ref, int mi_row, int mi_col, in vp9_append_sub8x8_mvs_for_idx() argument [all …]
|
D | vp9_reconinter.c | 234 int mi_row, int mi_col, in build_inter_predictors_for_planes() argument 238 const int mi_y = mi_row * MI_SIZE; in build_inter_predictors_for_planes() 261 void vp9_build_inter_predictors_sby(MACROBLOCKD *xd, int mi_row, int mi_col, in vp9_build_inter_predictors_sby() argument 263 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 0, 0); in vp9_build_inter_predictors_sby() 266 void vp9_build_inter_predictors_sbp(MACROBLOCKD *xd, int mi_row, int mi_col, in vp9_build_inter_predictors_sbp() argument 268 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, plane, plane); in vp9_build_inter_predictors_sbp() 271 void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col, in vp9_build_inter_predictors_sbuv() argument 273 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 1, in vp9_build_inter_predictors_sbuv() 277 void vp9_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, in vp9_build_inter_predictors_sb() argument 279 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 0, in vp9_build_inter_predictors_sb() [all …]
|
D | vp9_loopfilter.c | 828 void vp9_adjust_mask(VP9_COMMON *const cm, const int mi_row, in vp9_adjust_mask() argument 852 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() 945 void vp9_setup_mask(VP9_COMMON *const cm, const int mi_row, const int mi_col, in vp9_setup_mask() argument 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() 1087 vp9_adjust_mask(cm, mi_row, mi_col, lfm); in vp9_setup_mask() 1165 int mi_row, int mi_col) { in vp9_filter_block_plane_non420() argument 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() [all …]
|
D | vp9_mvref_common.h | 194 int mi_col, int mi_row, int mi_rows, in is_inside() argument 196 return !(mi_row + mi_pos->row < 0 || in is_inside() 198 mi_row + mi_pos->row >= mi_rows || in is_inside() 210 typedef void (*find_mv_refs_sync)(void *const data, int mi_row); 213 int_mv *mv_ref_list, int mi_row, int mi_col, 224 int block, int ref, int mi_row, int mi_col,
|
D | vp9_onyxc_int.h | 381 static INLINE void set_skip_context(MACROBLOCKD *xd, int mi_row, int mi_col) { in set_skip_context() argument 383 const int left_idx = (mi_row * 2) & 15; in set_skip_context() 398 int mi_row, int bh, in set_mi_row_col() argument 401 xd->mb_to_top_edge = -((mi_row * MI_SIZE) * 8); in set_mi_row_col() 402 xd->mb_to_bottom_edge = ((mi_rows - bh - mi_row) * MI_SIZE) * 8; in set_mi_row_col() 407 xd->up_available = (mi_row != 0); in set_mi_row_col() 429 int mi_row, int mi_col, in update_partition_context() argument 433 PARTITION_CONTEXT *const left_ctx = xd->left_seg_context + (mi_row & MI_MASK); in update_partition_context() 446 int mi_row, int mi_col, in partition_plane_context() argument 449 const PARTITION_CONTEXT *left_ctx = xd->left_seg_context + (mi_row & MI_MASK); in partition_plane_context()
|
D | vp9_thread_common.c | 98 int mi_row, mi_col; in thread_loop_filter_rows() local 109 for (mi_row = start; mi_row < stop; in thread_loop_filter_rows() 110 mi_row += lf_sync->num_workers * MI_BLOCK_SIZE) { in thread_loop_filter_rows() 111 MODE_INFO **const mi = cm->mi_grid_visible + mi_row * cm->mi_stride; in thread_loop_filter_rows() 112 LOOP_FILTER_MASK *lfm = get_lfm(&cm->lf, mi_row, 0); in thread_loop_filter_rows() 115 const int r = mi_row >> MI_BLOCK_SIZE_LOG2; in thread_loop_filter_rows() 121 vp9_setup_dst_planes(planes, frame_buffer, mi_row, mi_col); in thread_loop_filter_rows() 123 vp9_adjust_mask(cm, mi_row, mi_col, lfm); in thread_loop_filter_rows() 125 vp9_filter_block_plane_ss00(cm, &planes[0], mi_row, lfm); in thread_loop_filter_rows() 129 vp9_filter_block_plane_ss11(cm, &planes[plane], mi_row, lfm); in thread_loop_filter_rows() [all …]
|
D | vp9_mfqe.c | 353 int mi_row, mi_col; in vp9_mfqe() local 359 for (mi_row = 0; mi_row < cm->mi_rows; mi_row += MI_BLOCK_SIZE) { in vp9_mfqe() 362 MODE_INFO *mi_local = cm->mi + (mi_row * cm->mi_stride + mi_col); in vp9_mfqe() 365 (mi_row * cm->mi_stride + mi_col); in vp9_mfqe() 370 const uint32_t row_offset_y = mi_row << 3; in vp9_mfqe() 371 const uint32_t row_offset_uv = mi_row << 2; in vp9_mfqe()
|
D | vp9_pred_common.h | 24 BLOCK_SIZE bsize, int mi_row, int mi_col) { in get_segment_id() argument 25 const int mi_offset = mi_row * cm->mi_cols + mi_col; in get_segment_id() 29 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); in get_segment_id()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decodemv.c | 152 int mi_row, int mi_col, vpx_reader *r) { in read_inter_segment_id() argument 156 const int mi_offset = mi_row * cm->mi_cols + mi_col; in read_inter_segment_id() 162 const int y_mis = VPXMIN(cm->mi_rows - mi_row, bh); in read_inter_segment_id() 205 int mi_row, int mi_col, vpx_reader *r) { in read_intra_frame_mode_info() argument 212 const int mi_offset = mi_row * cm->mi_cols + mi_col; in read_intra_frame_mode_info() 218 const int y_mis = VPXMIN(cm->mi_rows - mi_row, bh); in read_intra_frame_mode_info() 479 static void fpm_sync(void *const data, int mi_row) { in fpm_sync() argument 482 mi_row << MI_BLOCK_SIZE_LOG2); in fpm_sync() 488 int mi_row, int mi_col, vpx_reader *r) { in read_inter_block_mode_info() argument 509 vp9_setup_pre_planes(xd, ref, ref_buf->buf, mi_row, mi_col, in read_inter_block_mode_info() [all …]
|
D | vp9_decodeframe.c | 709 int mi_row, int mi_col) { in dec_build_inter_predictors_sb() argument 712 const int mi_y = mi_row * MI_SIZE; in dec_build_inter_predictors_sb() 786 BLOCK_SIZE bsize, int mi_row, int mi_col, in set_offsets() argument 789 const int offset = mi_row * cm->mi_stride + mi_col; in set_offsets() 805 set_skip_context(xd, mi_row, mi_col); in set_offsets() 809 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); in set_offsets() 811 vp9_setup_dst_planes(xd->plane, get_frame_new_buffer(cm), mi_row, mi_col); in set_offsets() 816 int mi_row, int mi_col, in decode_block() argument 824 const int y_mis = VPXMIN(bh, cm->mi_rows - mi_row); in decode_block() 826 MB_MODE_INFO *mbmi = set_offsets(cm, xd, bsize, mi_row, mi_col, in decode_block() [all …]
|