Home
last modified time | relevance | path

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

12345

/external/libaom/libaom/av1/encoder/
Dpartition_strategy.h49 int mi_col, BLOCK_SIZE bsize, int *partition_none_allowed,
58 int mi_col, BLOCK_SIZE bsize,
72 int mi_row, int mi_col,
81 int mi_row, int mi_col,
94 int mi_col,
127 int mi_col);
140 int mi_row, int mi_col, in set_offsets_for_motion_search() argument
150 mi_row, mi_col); in set_offsets_for_motion_search()
153 av1_setup_dst_planes(xd->plane, bsize, &cm->cur_frame->buf, mi_row, mi_col, 0, in set_offsets_for_motion_search()
158 av1_set_mv_limits(mi_params, &x->mv_limits, mi_row, mi_col, mi_height, in set_offsets_for_motion_search()
[all …]
Dmv_prec.c178 int mi_col) { in collect_mv_stats_b() argument
182 if (mi_row >= mi_params->mi_rows || mi_col >= mi_params->mi_cols) { in collect_mv_stats_b()
187 mi_params->mi_grid_base[mi_row * mi_params->mi_stride + mi_col]; in collect_mv_stats_b()
190 get_mi_ext_idx(mi_row, mi_col, cm->mi_params.mi_alloc_bsize, in collect_mv_stats_b()
231 const int px_row = 4 * mi_row, px_col = 4 * mi_col; in collect_mv_stats_b()
268 int mi_col, BLOCK_SIZE bsize) { in collect_mv_stats_sb() argument
272 if (mi_row >= cm->mi_params.mi_rows || mi_col >= cm->mi_params.mi_cols) in collect_mv_stats_sb()
275 const PARTITION_TYPE partition = get_partition(cm, mi_row, mi_col, bsize); in collect_mv_stats_sb()
282 collect_mv_stats_b(mv_stats, cpi, mi_row, mi_col); in collect_mv_stats_sb()
285 collect_mv_stats_b(mv_stats, cpi, mi_row, mi_col); in collect_mv_stats_sb()
[all …]
Dencodeframe.c213 int mi_row, int mi_col, in get_sby_perpixel_diff_variance() argument
222 &last->y_buffer[mi_row * MI_SIZE * last->y_stride + mi_col * MI_SIZE]; in get_sby_perpixel_diff_variance()
228 int mi_row, int mi_col) { in get_rd_var_based_fixed_partition() argument
230 cpi, &x->plane[0].src, mi_row, mi_col, BLOCK_64X64); in get_rd_var_based_fixed_partition()
251 const int mi_col, int *const rdmult) { in set_ssim_rdmult() argument
270 for (col = mi_col / num_mi_h; in set_ssim_rdmult()
271 col < num_cols && col < mi_col / num_mi_h + num_bcols; ++col) { in set_ssim_rdmult()
287 const int mi_col, int orig_rdmult) { in get_hier_tpl_rdmult() argument
314 for (col = mi_col / num_mi_h; in get_hier_tpl_rdmult()
315 col < num_cols && col < mi_col / num_mi_h + num_bcols; ++col) { in get_hier_tpl_rdmult()
[all …]
Dsegmentation.c51 int mi_row, int mi_col) { in count_segs() argument
53 if (mi_row >= mi_params->mi_rows || mi_col >= mi_params->mi_cols) return; in count_segs()
56 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, mi_params->mi_rows, in count_segs()
70 mi_col) in count_segs()
89 unsigned *t_unpred_seg_counts, int mi_row, int mi_col, in count_segs_sb() argument
97 if (mi_row >= mi_params->mi_rows || mi_col >= mi_params->mi_cols) return; in count_segs_sb()
102 (cs_bw), (cs_bh), mi_row + (cs_rowoff), mi_col + (cs_coloff)); in count_segs_sb()
107 partition = get_partition(cm, mi_row, mi_col, bsize); in count_segs_sb()
149 if (mi_col + 3 * qbs < mi_params->mi_cols) CSEGS(qbs, bs, 0, 3 * qbs); in count_segs_sb()
163 mi_row + mi_dr, mi_col + mi_dc, subsize); in count_segs_sb()
[all …]
Dvar_based_part.c128 int mi_col, BLOCK_SIZE bsize) { in set_block_size() argument
129 if (cpi->common.mi_params.mi_cols > mi_col && in set_block_size()
132 mi_row, mi_col); in set_block_size()
140 BLOCK_SIZE bsize, int mi_row, int mi_col, in set_vt_partitioning() argument
159 if (mi_col + block_width <= tile->mi_col_end && in set_vt_partitioning()
162 set_block_size(cpi, x, xd, mi_row, mi_col, bsize); in set_vt_partitioning()
176 if (mi_col + block_width <= tile->mi_col_end && in set_vt_partitioning()
179 set_block_size(cpi, x, xd, mi_row, mi_col, bsize); in set_vt_partitioning()
184 mi_col + block_width / 2 <= tile->mi_col_end) { in set_vt_partitioning()
192 set_block_size(cpi, x, xd, mi_row, mi_col, subsize); in set_vt_partitioning()
[all …]
Dtpl_model.c191 int frame_idx, int mi_row, int mi_col, BLOCK_SIZE bsize, TX_SIZE tx_size, in mode_estimation() argument
212 int mb_y_offset = mi_row * MI_SIZE * xd->cur_buf->y_stride + mi_col * MI_SIZE; in mode_estimation()
217 mi_row * MI_SIZE * tpl_frame->rec_picture->y_stride + mi_col * MI_SIZE; in mode_estimation()
237 mi_row, mi_col); in mode_estimation()
238 set_mi_row_col(xd, &xd->tile, mi_row, mi_height, mi_col, mi_width, in mode_estimation()
308 mi_row * MI_SIZE * ref_frame_ptr->y_stride + mi_col * MI_SIZE; in mode_estimation()
320 mi_row - mi_height, mi_col, tpl_frame->stride, block_mis_log2)]; in mode_estimation()
330 mi_row, mi_col - mi_width, tpl_frame->stride, block_mis_log2)]; in mode_estimation()
338 if (xd->up_available && mi_col + mi_width < xd->tile.mi_col_end) { in mode_estimation()
340 mi_row - mi_height, mi_col + mi_width, tpl_frame->stride, in mode_estimation()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodeframe.c62 int output_enabled, int mi_row, int mi_col,
165 int mi_row, int mi_col, in get_sby_perpixel_diff_variance() argument
173 &last->y_buffer[mi_row * MI_SIZE * last->y_stride + mi_col * MI_SIZE]; in get_sby_perpixel_diff_variance()
179 int mi_row, int mi_col) { in get_rd_var_based_fixed_partition() argument
181 cpi, &x->plane[0].src, mi_row, mi_col, BLOCK_64X64); in get_rd_var_based_fixed_partition()
194 int mi_col, BLOCK_SIZE bsize, int segment_index) { in set_segment_index() argument
212 mi->segment_id = get_segment_id(cm, map, bsize, mi_row, mi_col); in set_segment_index()
223 vp9_get_sub_block_energy(cpi, x, mi_row, mi_col, bsize, &min_energy, in set_segment_index()
231 mi->segment_id = get_segment_id(cm, map, bsize, mi_row, mi_col); in set_segment_index()
238 mi->segment_id = get_segment_id(cm, map, bsize, mi_row, mi_col); in set_segment_index()
[all …]
Dvp9_skin_detection.c41 int mi_col) { in vp9_compute_skin_sb() argument
54 const int y_shift = src_ystride * (mi_row << 3) + (mi_col << 3); in vp9_compute_skin_sb()
55 const int uv_shift = src_uvstride * (mi_row << 2) + (mi_col << 2); in vp9_compute_skin_sb()
57 const int mi_col_limit = VPXMIN(mi_col + 8, cm->mi_cols - 2); in vp9_compute_skin_sb()
64 for (j = mi_col; j < mi_col_limit; j += fac) { in vp9_compute_skin_sb()
97 for (j = mi_col; j < mi_col_limit; j += fac) { in vp9_compute_skin_sb()
103 if ((i == mi_row && (j == mi_col || j == mi_col_limit - fac)) || in vp9_compute_skin_sb()
104 (i == mi_row_limit - fac && (j == mi_col || j == mi_col_limit - fac))) in vp9_compute_skin_sb()
107 if (i == mi_row || i == mi_row_limit - fac || j == mi_col || in vp9_compute_skin_sb()
113 if (i + mi >= mi_row && i + mi < mi_row_limit && j + mj >= mi_col && in vp9_compute_skin_sb()
[all …]
Dvp9_segmentation.c163 int mi_col) { in count_segs() argument
166 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; in count_segs()
171 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); in count_segs()
181 get_segment_id(cm, cm->last_frame_seg_map, bsize, mi_row, mi_col); in count_segs()
199 int *t_unpred_seg_counts, int mi_row, int mi_col, in count_segs_sb() argument
205 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; in count_segs_sb()
212 t_unpred_seg_counts, bs, bs, mi_row, mi_col); in count_segs_sb()
215 t_unpred_seg_counts, bs, hbs, mi_row, mi_col); in count_segs_sb()
218 mi_row + hbs, mi_col); in count_segs_sb()
221 t_unpred_seg_counts, hbs, bs, mi_row, mi_col); in count_segs_sb()
[all …]
Dvp9_noise_estimate.c179 int mi_row, mi_col; in vp9_update_noise_estimate() local
183 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) { in vp9_update_noise_estimate()
184 int bl_index = mi_row * cm->mi_cols + mi_col; in vp9_update_noise_estimate()
192 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) { in vp9_update_noise_estimate()
194 if (mi_row % 4 == 0 && mi_col % 4 == 0 && mi_row < cm->mi_rows - 1 && in vp9_update_noise_estimate()
195 mi_col < cm->mi_cols - 1) { in vp9_update_noise_estimate()
196 int bl_index = mi_row * cm->mi_cols + mi_col; in vp9_update_noise_estimate()
Dvp9_rdopt.h35 struct macroblock *x, int mi_row, int mi_col,
47 int vp9_active_v_edge(struct VP9_COMP *cpi, int mi_col, int mi_step);
48 int vp9_active_edge_sb(struct VP9_COMP *cpi, int mi_row, int mi_col);
53 struct macroblock *x, 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()
48 int mi_col; in vp9_print_modes_and_motion_vectors() local
64 for (mi_col = 0; mi_col < cols; mi_col++) { in vp9_print_modes_and_motion_vectors()
78 for (mi_col = 0; mi_col < cols; mi_col++) { in vp9_print_modes_and_motion_vectors()
Dvp9_reconinter.h51 void vp9_build_inter_predictors_sby(MACROBLOCKD *xd, int mi_row, int mi_col,
54 void vp9_build_inter_predictors_sbp(MACROBLOCKD *xd, int mi_row, int mi_col,
57 void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col,
60 void vp9_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col,
86 int stride, int mi_row, int mi_col, in setup_pred_plane() argument
89 const int x = (MI_SIZE * mi_col) >> subsampling_x; in setup_pred_plane()
97 int mi_col);
100 const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col,
Dvp9_loopfilter.h100 const int mi_col, MODE_INFO **mi8x8,
113 MODE_INFO **mi_8x8, int mi_row, int mi_col);
128 const int mi_row, const int mi_col) { in get_lfm() argument
129 return &lf->lfm[(mi_col >> 3) + ((mi_row >> 3) * lf->lfm_stride)]; in get_lfm()
133 int mi_col, int bw, int bh);
135 const int mi_col, LOOP_FILTER_MASK *lfm);
Dvp9_mvref_common.c19 int mi_col, uint8_t *mode_context) { in find_mv_refs_idx() argument
27 ? cm->prev_frame->mvs + mi_row * cm->mi_cols + mi_col in find_mv_refs_idx()
39 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in find_mv_refs_idx()
60 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in find_mv_refs_idx()
87 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { in find_mv_refs_idx()
135 int_mv *mv_ref_list, int mi_row, int mi_col, in vp9_find_mv_refs() argument
137 find_mv_refs_idx(cm, xd, mi, ref_frame, mv_ref_list, -1, mi_row, mi_col, in vp9_find_mv_refs()
154 int ref, int mi_row, int mi_col, in vp9_append_sub8x8_mvs_for_idx() argument
165 mi_col, mode_context); in vp9_append_sub8x8_mvs_for_idx()
Dvp9_reconinter.c209 int mi_row, int mi_col, in build_inter_predictors_for_planes() argument
212 const int mi_x = mi_col * MI_SIZE; in build_inter_predictors_for_planes()
235 void vp9_build_inter_predictors_sby(MACROBLOCKD *xd, int mi_row, int mi_col, in vp9_build_inter_predictors_sby() argument
237 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 0, 0); in vp9_build_inter_predictors_sby()
240 void vp9_build_inter_predictors_sbp(MACROBLOCKD *xd, int mi_row, int mi_col, in vp9_build_inter_predictors_sbp() argument
242 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, plane, plane); in vp9_build_inter_predictors_sbp()
245 void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col, in vp9_build_inter_predictors_sbuv() argument
247 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 1, in vp9_build_inter_predictors_sbuv()
251 void vp9_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, in vp9_build_inter_predictors_sb() argument
253 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 0, in vp9_build_inter_predictors_sb()
[all …]
Dvp9_onyxc_int.h376 static INLINE void set_skip_context(MACROBLOCKD *xd, int mi_row, int mi_col) { in set_skip_context() argument
377 const int above_idx = mi_col * 2; in set_skip_context()
393 int mi_row, int bh, int mi_col, int bw, in set_mi_row_col() argument
397 xd->mb_to_left_edge = -((mi_col * MI_SIZE) * 8); in set_mi_row_col()
398 xd->mb_to_right_edge = ((mi_cols - bw - mi_col) * MI_SIZE) * 8; in set_mi_row_col()
402 xd->left_mi = (mi_col > tile->mi_col_start) ? xd->mi[-1] : NULL; in set_mi_row_col()
406 int mi_col, BLOCK_SIZE subsize, in update_partition_context() argument
408 PARTITION_CONTEXT *const above_ctx = xd->above_seg_context + mi_col; in update_partition_context()
422 int mi_col, BLOCK_SIZE bsize) { in partition_plane_context() argument
423 const PARTITION_CONTEXT *above_ctx = xd->above_seg_context + mi_col; in partition_plane_context()
/external/libaom/libaom/av1/common/
Dav1_loopfilter.c194 const int mi_col, const int plane, in get_transform_size() argument
208 const int blk_col = mi_col & (mi_size_wide[sb_type] - 1); in get_transform_size()
258 const int mi_col = scale_horz | ((x << scale_horz) >> MI_SIZE_LOG2); in set_lpf_parameters() local
260 cm->mi_params.mi_grid_base + mi_row * cm->mi_params.mi_stride + mi_col; in set_lpf_parameters()
268 get_transform_size(xd, mi[0], edge_dir, mi_row, mi_col, plane, plane_ptr); in set_lpf_parameters()
291 (VERT_EDGE == edge_dir) ? (mi_col - (1 << scale_horz)) : (mi_col); in set_lpf_parameters()
349 const uint32_t mi_row, const uint32_t mi_col) { in av1_filter_block_plane_vert() argument
363 const uint32_t curr_x = ((mi_col * MI_SIZE) >> scale_horz) + x * MI_SIZE; in av1_filter_block_plane_vert()
462 const uint32_t mi_row, const uint32_t mi_col) { in av1_filter_block_plane_horz() argument
476 const uint32_t curr_x = ((mi_col * MI_SIZE) >> scale_horz) + x * MI_SIZE; in av1_filter_block_plane_horz()
[all …]
Dav1_loopfilter.h144 const uint32_t mi_row, const uint32_t mi_col);
149 const uint32_t mi_row, const uint32_t mi_col);
166 int pl, int mi_row, int mi_col);
170 int mi_row, int mi_col);
172 int get_index_shift(int mi_col, int mi_row, int *index);
184 int pl, int mi_row, int mi_col);
188 int pl, int mi_row, int mi_col);
191 int mi_col, BLOCK_SIZE bsize,
194 void av1_store_bitmask_other_info(struct AV1Common *cm, int mi_row, int mi_col,
199 void av1_store_bitmask_vartx(struct AV1Common *cm, int mi_row, int mi_col,
Ddebugmodes.c38 for (int mi_col = 0; mi_col < cols; mi_col++) { in print_mi_data() local
65 for (int mi_col = 0; mi_col < cols; mi_col++) { in av1_print_modes_and_motion_vectors() local
79 for (int mi_col = 0; mi_col < cols; mi_col++) { in av1_print_modes_and_motion_vectors() local
Dav1_common_int.h974 static INLINE void set_entropy_context(MACROBLOCKD *xd, int mi_row, int mi_col, in set_entropy_context() argument
978 int col_offset = mi_col; in set_entropy_context()
985 if (pd->subsampling_x && (mi_col & 0x01) && (mi_size_wide[bsize] == 1)) in set_entropy_context()
986 col_offset = mi_col - 1; in set_entropy_context()
1014 int mi_row, int bh, int mi_col, int bw, in set_mi_row_col() argument
1018 xd->mb_to_left_edge = -GET_MV_SUBPEL((mi_col * MI_SIZE)); in set_mi_row_col()
1019 xd->mb_to_right_edge = GET_MV_SUBPEL((mi_cols - bw - mi_col) * MI_SIZE); in set_mi_row_col()
1022 xd->mi_col = mi_col; in set_mi_row_col()
1030 xd->left_available = (mi_col > tile->mi_col_start); in set_mi_row_col()
1034 xd->chroma_left_available = (mi_col - 1) > tile->mi_col_start; in set_mi_row_col()
[all …]
Dobmc.h28 const int mi_col = xd->mi_col; in foreach_overlappable_nb_above() local
31 MB_MODE_INFO **prev_row_mi = xd->mi - mi_col - 1 * xd->mi_stride; in foreach_overlappable_nb_above()
32 const int end_col = AOMMIN(mi_col + xd->width, cm->mi_params.mi_cols); in foreach_overlappable_nb_above()
34 for (int above_mi_col = mi_col; above_mi_col < end_col && nb_count < nb_max; in foreach_overlappable_nb_above()
51 fun(xd, 0, above_mi_col - mi_col, AOMMIN(xd->width, mi_step), 0, in foreach_overlappable_nb_above()
Dmvref_common.h68 static INLINE int is_inside(const TileInfo *const tile, int mi_col, int mi_row, in is_inside() argument
71 mi_col + mi_pos->col < tile->mi_col_start || in is_inside()
73 mi_col + mi_pos->col >= tile->mi_col_end); in is_inside()
82 static INLINE int find_valid_col_offset(const TileInfo *const tile, int mi_col, in find_valid_col_offset() argument
84 return clamp(col_offset, tile->mi_col_start - mi_col, in find_valid_col_offset()
85 tile->mi_col_end - mi_col - 1); in find_valid_col_offset()
236 const MB_MODE_INFO *const mi, int mi_row, int mi_col,
277 const MACROBLOCKD *xd, int mi_row, int mi_col, in av1_is_dv_valid() argument
292 const int src_left_edge = mi_col * MI_SIZE * SCALE_PX_TO_MV + dv.col; in av1_is_dv_valid()
299 const int src_right_edge = (mi_col * MI_SIZE + bw) * SCALE_PX_TO_MV + dv.col; in av1_is_dv_valid()
[all …]
Dthread_common.c273 int mi_row, mi_col, plane, dir; in thread_loop_filter_rows() local
286 for (mi_col = 0; mi_col < cm->mi_params.mi_cols; in thread_loop_filter_rows()
287 mi_col += MAX_MIB_SIZE) { in thread_loop_filter_rows()
288 c = mi_col >> MAX_MIB_SIZE_LOG2; in thread_loop_filter_rows()
291 mi_row, mi_col, plane, plane + 1); in thread_loop_filter_rows()
294 mi_col); in thread_loop_filter_rows()
298 for (mi_col = 0; mi_col < cm->mi_params.mi_cols; in thread_loop_filter_rows()
299 mi_col += MAX_MIB_SIZE) { in thread_loop_filter_rows()
300 c = mi_col >> MAX_MIB_SIZE_LOG2; in thread_loop_filter_rows()
311 mi_row, mi_col, plane, plane + 1); in thread_loop_filter_rows()
[all …]
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c393 int mi_row, int mi_col) { in reconstruct_inter_block() argument
409 mi_to_pixel_loc(&pixel_c, &pixel_r, mi_col, mi_row, col, row, in reconstruct_inter_block()
416 (void)mi_col; in reconstruct_inter_block()
717 int mi_col) { in dec_build_inter_predictors_sb() argument
719 const int mi_x = mi_col * MI_SIZE; in dec_build_inter_predictors_sb()
741 vp9_setup_pre_planes(xd, ref, ref_buf->buf, mi_row, mi_col, in dec_build_inter_predictors_sb()
804 int mi_row, int mi_col, int bw, int bh, in set_offsets_recon() argument
806 const int offset = mi_row * cm->mi_stride + mi_col; in set_offsets_recon()
812 set_skip_context(xd, mi_row, mi_col); in set_offsets_recon()
816 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); in set_offsets_recon()
[all …]

12345