Home
last modified time | relevance | path

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

12

/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodeframe.c52 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()
157 int mi_col) { in get_rd_var_based_fixed_partition() argument
159 mi_row, mi_col, in get_rd_var_based_fixed_partition()
177 int mi_col) { 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 …]
Dvp9_segmentation.c114 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 …]
Dvp9_aq_cyclicrefresh.c190 int mi_row, int mi_col, in vp9_cyclic_refresh_update_segment() argument
199 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); 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
253 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); 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
294 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) { 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 …]
Dvp9_denoiser.c185 int mi_row, int mi_col) { in block_start() argument
186 return framebuf + (stride * mi_row * 8) + (mi_col * 8); in block_start()
194 int mi_col, 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 …]
Dvp9_rdopt.h44 int mi_row, int mi_col,
59 int vp9_active_v_edge(struct VP9_COMP *cpi, int mi_col, 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,
Dvp9_bitstream.c379 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()
392 mi_col, num_8x8_blocks_wide_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()
411 const int has_cols = (mi_col + hbs) < cm->mi_cols; 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 …]
Dvp9_aq_complexity.c115 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()
121 const int xmis = VPXMIN(cm->mi_cols - mi_col, num_8x8_blocks_wide_lookup[bs]); in vp9_caq_select_segment()
143 vp9_setup_src_planes(mb, cpi->Source, mi_row, mi_col); in vp9_caq_select_segment()
Dvp9_skin_detection.c54 int i, j, mi_row, mi_col, num_bl; in vp9_compute_skin_map() local
86 for (mi_col = 0; mi_col < cm->mi_cols - 1; mi_col += fac) { in vp9_compute_skin_map()
Dvp9_pickmode.h25 int mi_row, int mi_col, RD_COST *rd_cost,
30 int mi_row, int mi_col, RD_COST *rd_cost,
Dvp9_mbgraph.c305 int mi_row, mi_col; in separate_arf_mbs() local
345 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) { 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()
Dvp9_pickmode.c48 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 …]
Dvp9_aq_cyclicrefresh.h95 int mi_row, int mi_col, BLOCK_SIZE bsize,
100 int mi_row, int mi_col,
/external/libvpx/libvpx/vp9/common/
Dvp9_debugmodes.c27 int mi_row, mi_col; in print_mi_data() local
36 for (mi_col = 0; mi_col < cols; mi_col++) { in print_mi_data()
50 int mi_col; in vp9_print_modes_and_motion_vectors() local
66 for (mi_col = 0; mi_col < cols; mi_col++) { in vp9_print_modes_and_motion_vectors()
80 for (mi_col = 0; mi_col < cols; mi_col++) { in vp9_print_modes_and_motion_vectors()
Dvp9_reconinter.h53 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
97 const int x = (MI_SIZE * mi_col) >> subsampling_x; in setup_pred_plane()
105 int mi_row, int mi_col);
108 const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col,
Dvp9_loopfilter.h99 const int mi_row, const int mi_col,
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()
138 int mi_col, int bw, int bh);
140 const int mi_col, LOOP_FILTER_MASK *lfm);
Dvp9_reconinter.c234 int mi_row, int mi_col, in build_inter_predictors_for_planes() argument
237 const int mi_x = mi_col * 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 …]
Dvp9_mvref_common.c19 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()
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
194 mi_row, mi_col, NULL, NULL, mode_context); in vp9_append_sub8x8_mvs_for_idx()
Dvp9_onyxc_int.h381 static INLINE void set_skip_context(MACROBLOCKD *xd, int mi_row, int mi_col) { in set_skip_context() argument
382 const int above_idx = mi_col * 2; in set_skip_context()
399 int mi_col, int bw, in set_mi_row_col() argument
403 xd->mb_to_left_edge = -((mi_col * MI_SIZE) * 8); in set_mi_row_col()
404 xd->mb_to_right_edge = ((mi_cols - bw - mi_col) * MI_SIZE) * 8; in set_mi_row_col()
408 xd->left_available = (mi_col > tile->mi_col_start); in set_mi_row_col()
429 int mi_row, int mi_col, in update_partition_context() argument
432 PARTITION_CONTEXT *const above_ctx = xd->above_seg_context + mi_col; in update_partition_context()
446 int mi_row, int mi_col, in partition_plane_context() argument
448 const PARTITION_CONTEXT *above_ctx = xd->above_seg_context + mi_col; in partition_plane_context()
Dvp9_mvref_common.h194 int mi_col, int mi_row, int mi_rows, in is_inside() argument
197 mi_col + mi_pos->col < tile->mi_col_start || in is_inside()
199 mi_col + mi_pos->col >= tile->mi_col_end); in is_inside()
213 int_mv *mv_ref_list, int mi_row, int mi_col,
224 int block, int ref, int mi_row, int mi_col,
Dvp9_loopfilter.c829 const int mi_col, LOOP_FILTER_MASK *lfm) { in vp9_adjust_mask() argument
881 if (mi_col + MI_BLOCK_SIZE > cm->mi_cols) { in vp9_adjust_mask()
882 const uint64_t columns = cm->mi_cols - mi_col; in vp9_adjust_mask()
916 if (mi_col == 0) { 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
974 const int max_cols = (mi_col + MI_BLOCK_SIZE > cm->mi_cols ? in vp9_setup_mask()
975 cm->mi_cols - mi_col : 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
1187 for (c = 0; c < MI_BLOCK_SIZE && mi_col + c < cm->mi_cols; c += col_step) { in vp9_filter_block_plane_non420()
[all …]
Dvp9_thread_common.c98 int mi_row, mi_col; in thread_loop_filter_rows() local
114 for (mi_col = 0; mi_col < cm->mi_cols; mi_col += MI_BLOCK_SIZE, ++lfm) { in thread_loop_filter_rows()
116 const int c = mi_col >> 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()
135 vp9_filter_block_plane_non420(cm, &planes[plane], mi + mi_col, in thread_loop_filter_rows()
136 mi_row, mi_col); in thread_loop_filter_rows()
Dvp9_mfqe.c353 int mi_row, mi_col; in vp9_mfqe() local
360 for (mi_col = 0; mi_col < cm->mi_cols; mi_col += 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()
372 const uint32_t col_offset_y = mi_col << 3; in vp9_mfqe()
373 const uint32_t col_offset_uv = mi_col << 2; in vp9_mfqe()
Dvp9_pred_common.h24 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()
28 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); in get_segment_id()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c152 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()
161 const int x_mis = VPXMIN(cm->mi_cols - mi_col, bw); 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()
217 const int x_mis = VPXMIN(cm->mi_cols - mi_col, bw); in read_intra_frame_mode_info()
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()
512 mi_row, mi_col, fpm_sync, (void *)pbi, inter_mode_ctx); in read_inter_block_mode_info()
554 vp9_append_sub8x8_mvs_for_idx(cm, xd, j, ref, mi_row, mi_col, in read_inter_block_mode_info()
[all …]
Dvp9_decodeframe.c709 int mi_row, int mi_col) { in dec_build_inter_predictors_sb() argument
711 const int mi_x = mi_col * 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
823 const int x_mis = VPXMIN(bw, cm->mi_cols - mi_col); in decode_block()
826 MB_MODE_INFO *mbmi = set_offsets(cm, xd, bsize, mi_row, mi_col, in decode_block()
[all …]

12