Home
last modified time | relevance | path

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

12345

/external/libaom/libaom/av1/encoder/
Dpartition_strategy.h29 AV1_COMP *const cpi, MACROBLOCK *x, int mi_row, int mi_col,
39 int mi_col, BLOCK_SIZE bsize, int *partition_none_allowed,
52 int mi_col, BLOCK_SIZE bsize, const RD_STATS *none_rdc,
61 int mi_col, BLOCK_SIZE bsize,
69 int mi_row, int mi_col,
80 int mi_row, int mi_col, in set_offsets_for_motion_search() argument
88 set_mode_info_offsets(cpi, x, xd, mi_row, mi_col); in set_offsets_for_motion_search()
91 av1_setup_dst_planes(xd->plane, bsize, &cm->cur_frame->buf, mi_row, mi_col, 0, in set_offsets_for_motion_search()
98 x->mv_limits.col_min = -(((mi_col + mi_width) * MI_SIZE) + AOM_INTERP_EXTEND); in set_offsets_for_motion_search()
100 x->mv_limits.col_max = (cm->mi_cols - mi_col) * MI_SIZE + AOM_INTERP_EXTEND; in set_offsets_for_motion_search()
[all …]
Dencodeframe.c69 int mi_row, int mi_col, BLOCK_SIZE bsize,
181 int mi_row, int mi_col, in get_sby_perpixel_diff_variance() argument
190 &last->y_buffer[mi_row * MI_SIZE * last->y_stride + mi_col * MI_SIZE]; in get_sby_perpixel_diff_variance()
196 int mi_row, int mi_col) { in get_rd_var_based_fixed_partition() argument
198 cpi, &x->plane[0].src, mi_row, mi_col, BLOCK_64X64); in get_rd_var_based_fixed_partition()
212 int mi_col, BLOCK_SIZE bsize) { in set_offsets_without_segment_id() argument
219 set_mode_info_offsets(cpi, x, xd, mi_row, mi_col); in set_offsets_without_segment_id()
221 set_skip_context(xd, mi_row, mi_col, num_planes); in set_offsets_without_segment_id()
222 xd->above_txfm_context = cm->above_txfm_context[tile->tile_row] + mi_col; in set_offsets_without_segment_id()
227 av1_setup_dst_planes(xd->plane, bsize, &cm->cur_frame->buf, mi_row, mi_col, 0, in set_offsets_without_segment_id()
[all …]
Dsegmentation.c51 int mi_row, int mi_col) { in count_segs() argument
54 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; in count_segs()
59 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); in count_segs()
70 ? get_segment_id(cm, cm->last_frame_seg_map, bsize, mi_row, mi_col) in count_segs()
89 unsigned *t_unpred_seg_counts, int mi_row, int mi_col, in count_segs_sb() argument
96 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; in count_segs_sb()
101 (cs_bw), (cs_bh), mi_row + (cs_rowoff), mi_col + (cs_coloff)); in count_segs_sb()
106 partition = get_partition(cm, mi_row, mi_col, bsize); in count_segs_sb()
148 if (mi_col + 3 * qbs < cm->mi_cols) CSEGS(qbs, bs, 0, 3 * qbs); in count_segs_sb()
161 mi_row + mi_dr, mi_col + mi_dc, subsize); in count_segs_sb()
[all …]
Dtpl_model.c66 int mi_row, int mi_col) { in motion_compensated_prediction() argument
99 &best_ref_mv1, INT_MAX, 0, (MI_SIZE * mi_col), in motion_compensated_prediction()
108 x, cm, mi_row, mi_col, &best_ref_mv1, cpi->common.allow_high_precision_mv, in motion_compensated_prediction()
120 int mi_col, BLOCK_SIZE bsize, TX_SIZE tx_size, in mode_estimation() argument
140 int mb_y_offset = mi_row * MI_SIZE * xd->cur_buf->y_stride + mi_col * MI_SIZE; in mode_estimation()
147 xd->mb_to_left_edge = -((mi_col * MI_SIZE) * 8); in mode_estimation()
148 xd->mb_to_right_edge = ((cm->mi_cols - 1 - mi_col) * MI_SIZE) * 8; in mode_estimation()
150 xd->left_mbmi = (mi_col > 0) ? &mi_left : NULL; in mode_estimation()
190 x->mv_limits.col_min = -((mi_col * MI_SIZE) + (17 - 2 * AOM_INTERP_EXTEND)); in mode_estimation()
192 ((cm->mi_cols - 1 - mi_col) * MI_SIZE) + (17 - 2 * AOM_INTERP_EXTEND); in mode_estimation()
[all …]
Dpartition_strategy.c32 int mi_col, BLOCK_SIZE bsize, in get_res_var_features() argument
56 av1_simple_motion_sse_var(cpi, x, mi_row, mi_col, bsize, ref_mv_full, in get_res_var_features()
84 AV1_COMP *const cpi, MACROBLOCK *x, int mi_row, int mi_col, in av1_simple_motion_search_based_split() argument
114 get_res_var_features(cpi, x, mi_row, mi_col, bsize, features); in av1_simple_motion_search_based_split()
143 int mi_col, BLOCK_SIZE bsize, const int *const refs, int num_refs, in simple_motion_search_get_best_ref() argument
152 if (mi_col >= cm->mi_cols || mi_row >= cm->mi_rows) { in simple_motion_search_get_best_ref()
174 av1_simple_motion_search(cpi, x, mi_row, mi_col, bsize, ref, in simple_motion_search_get_best_ref()
214 int mi_col, BLOCK_SIZE bsize, float *features) { in simple_motion_search_prune_part_features() argument
233 cpi, x, pc_tree, mi_row, mi_col, bsize, ref_list, num_refs, use_subpixel, in simple_motion_search_prune_part_features()
241 const int sub_mi_col = mi_col + (r_idx & 1) * w_mi / 2; in simple_motion_search_prune_part_features()
[all …]
Dvar_based_part.c173 MACROBLOCKD *const xd, int mi_row, int mi_col, in set_block_size() argument
175 if (cpi->common.mi_cols > mi_col && cpi->common.mi_rows > mi_row) { in set_block_size()
176 set_mode_info_offsets(cpi, x, xd, mi_row, mi_col); in set_block_size()
184 BLOCK_SIZE bsize, int mi_row, int mi_col, in set_vt_partitioning() argument
197 if (mi_col + block_width > tile->mi_col_end || in set_vt_partitioning()
207 if (mi_col + block_width / 2 < cm->mi_cols && in set_vt_partitioning()
210 set_block_size(cpi, x, xd, mi_row, mi_col, bsize); in set_vt_partitioning()
224 if (mi_col + block_width / 2 < cm->mi_cols && in set_vt_partitioning()
227 set_block_size(cpi, x, xd, mi_row, mi_col, bsize); in set_vt_partitioning()
240 set_block_size(cpi, x, xd, mi_row, mi_col, subsize); in set_vt_partitioning()
[all …]
Daq_cyclicrefresh.c201 int mi_col, BLOCK_SIZE bsize, in av1_cyclic_refresh_update_segment() argument
207 const int xmis = AOMMIN(cm->mi_cols - mi_col, bw); in av1_cyclic_refresh_update_segment()
209 const int block_index = mi_row * cm->mi_cols + mi_col; in av1_cyclic_refresh_update_segment()
256 int mi_row, mi_col; in av1_cyclic_refresh_postencode() local
260 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) { in av1_cyclic_refresh_postencode()
261 if (cyclic_refresh_segment_id(seg_map[mi_row * cm->mi_cols + mi_col]) == in av1_cyclic_refresh_postencode()
265 seg_map[mi_row * cm->mi_cols + mi_col]) == in av1_cyclic_refresh_postencode()
317 int mi_col = sb_col_index * cm->seq_params.mib_size; in cyclic_refresh_update_map() local
323 assert(mi_col >= 0 && mi_col < cm->mi_cols); in cyclic_refresh_update_map()
324 bl_index = mi_row * cm->mi_cols + mi_col; in cyclic_refresh_update_map()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodeframe.c54 int output_enabled, int mi_row, int mi_col,
156 int mi_row, int mi_col, in get_sby_perpixel_diff_variance() argument
164 &last->y_buffer[mi_row * MI_SIZE * last->y_stride + mi_col * MI_SIZE]; in get_sby_perpixel_diff_variance()
170 int mi_row, int mi_col) { in get_rd_var_based_fixed_partition() argument
172 cpi, &x->plane[0].src, mi_row, mi_col, BLOCK_64X64); in get_rd_var_based_fixed_partition()
184 int mi_col, BLOCK_SIZE bsize, int segment_index) { in set_segment_index() argument
202 mi->segment_id = get_segment_id(cm, map, bsize, mi_row, mi_col); in set_segment_index()
212 vp9_get_sub_block_energy(cpi, x, mi_row, mi_col, bsize, &min_energy, in set_segment_index()
220 mi->segment_id = get_segment_id(cm, map, bsize, mi_row, mi_col); in set_segment_index()
224 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.c122 int mi_col) { in count_segs() argument
125 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; in count_segs()
130 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); in count_segs()
140 get_segment_id(cm, cm->last_frame_seg_map, bsize, mi_row, mi_col); in count_segs()
158 int *t_unpred_seg_counts, int mi_row, int mi_col, in count_segs_sb() argument
164 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; in count_segs_sb()
171 t_unpred_seg_counts, bs, bs, mi_row, mi_col); in count_segs_sb()
174 t_unpred_seg_counts, bs, hbs, mi_row, mi_col); in count_segs_sb()
177 mi_row + hbs, mi_col); in count_segs_sb()
180 t_unpred_seg_counts, hbs, bs, mi_row, mi_col); in count_segs_sb()
[all …]
Dvp9_noise_estimate.c183 int mi_row, mi_col; in vp9_update_noise_estimate() local
187 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) { in vp9_update_noise_estimate()
188 int bl_index = mi_row * cm->mi_cols + mi_col; in vp9_update_noise_estimate()
196 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) { in vp9_update_noise_estimate()
198 if (mi_row % 4 == 0 && mi_col % 4 == 0 && mi_row < cm->mi_rows - 1 && in vp9_update_noise_estimate()
199 mi_col < cm->mi_cols - 1) { in vp9_update_noise_estimate()
200 int bl_index = mi_row * cm->mi_cols + mi_col; in vp9_update_noise_estimate()
/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,
85 int stride, int mi_row, int mi_col, in setup_pred_plane() argument
88 const int x = (MI_SIZE * mi_col) >> subsampling_x; in setup_pred_plane()
96 int mi_col);
99 const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col,
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_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_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.h356 static INLINE void set_skip_context(MACROBLOCKD *xd, int mi_row, int mi_col) { in set_skip_context() argument
357 const int above_idx = mi_col * 2; in set_skip_context()
373 int mi_row, int bh, int mi_col, int bw, in set_mi_row_col() argument
377 xd->mb_to_left_edge = -((mi_col * MI_SIZE) * 8); in set_mi_row_col()
378 xd->mb_to_right_edge = ((mi_cols - bw - mi_col) * MI_SIZE) * 8; in set_mi_row_col()
382 xd->left_mi = (mi_col > tile->mi_col_start) ? xd->mi[-1] : NULL; in set_mi_row_col()
386 int mi_col, BLOCK_SIZE subsize, in update_partition_context() argument
388 PARTITION_CONTEXT *const above_ctx = xd->above_seg_context + mi_col; in update_partition_context()
402 int mi_col, BLOCK_SIZE bsize) { in partition_plane_context() argument
403 const PARTITION_CONTEXT *above_ctx = xd->above_seg_context + mi_col; in partition_plane_context()
/external/libaom/libaom/av1/common/
Dav1_loopfilter.c410 int mi_col) { in get_loop_filter_mask() argument
413 const int col = mi_col >> MIN_MIB_SIZE_LOG2; in get_loop_filter_mask()
597 int get_index_shift(int mi_col, int mi_row, int *index) { in get_index_shift() argument
603 return ((mi_row & 3) << 4) | mi_col; in get_index_shift()
675 int mi_col, int ssx, int ssy, EDGE_DIR dir) { in is_frame_boundary() argument
679 (mi_col << MI_SIZE_LOG2) > cm->width) in is_frame_boundary()
683 (mi_col << MI_SIZE_LOG2) > cm->width) in is_frame_boundary()
688 (mi_col << MI_SIZE_LOG2) >= cm->width) in is_frame_boundary()
694 row_or_col = dir == VERT_EDGE ? mi_col : mi_row; in is_frame_boundary()
699 row_or_col = ssx ? (mi_col & 0x0FFFFFFE) : mi_col; in is_frame_boundary()
[all …]
Ddebugmodes.c29 int mi_row, mi_col; in print_mi_data() local
38 for (mi_col = 0; mi_col < cols; mi_col++) { in print_mi_data()
50 int mi_col; in av1_print_modes_and_motion_vectors() local
66 for (mi_col = 0; mi_col < cols; mi_col++) { in av1_print_modes_and_motion_vectors()
80 for (mi_col = 0; mi_col < cols; mi_col++) { in av1_print_modes_and_motion_vectors()
Dmvref_common.h75 static INLINE int is_inside(const TileInfo *const tile, int mi_col, int mi_row, in is_inside() argument
78 mi_col + mi_pos->col < tile->mi_col_start || in is_inside()
80 mi_col + mi_pos->col >= tile->mi_col_end); in is_inside()
89 static INLINE int find_valid_col_offset(const TileInfo *const tile, int mi_col, in find_valid_col_offset() argument
91 return clamp(col_offset, tile->mi_col_start - mi_col, in find_valid_col_offset()
92 tile->mi_col_end - mi_col - 1); in find_valid_col_offset()
244 const MB_MODE_INFO *const mi, int mi_row, int mi_col,
255 int_mv *global_mvs, int mi_row, int mi_col,
265 int findSamples(const AV1_COMMON *cm, MACROBLOCKD *xd, int mi_row, int mi_col,
272 int mib_size, int mi_row, int mi_col) { in av1_find_ref_dv() argument
[all …]
Dav1_loopfilter.h143 const uint32_t mi_row, const uint32_t mi_col);
148 const uint32_t mi_row, const uint32_t mi_col);
163 void av1_setup_bitmask(struct AV1Common *const cm, int mi_row, int mi_col,
169 int pl, int mi_row, int mi_col);
173 int mi_row, int mi_col);
175 int mi_row, int mi_col);
176 int get_index_shift(int mi_col, int mi_row, int *index);
188 int pl, int mi_row, int mi_col);
192 int pl, int mi_row, int mi_col);
Donyxc_int.h788 static INLINE void set_skip_context(MACROBLOCKD *xd, int mi_row, int mi_col, in set_skip_context() argument
792 int col_offset = mi_col; in set_skip_context()
799 if (pd->subsampling_x && (mi_col & 0x01) && (mi_size_wide[bsize] == 1)) in set_skip_context()
800 col_offset = mi_col - 1; in set_skip_context()
826 int mi_row, int bh, int mi_col, int bw, in set_mi_row_col() argument
830 xd->mb_to_left_edge = -((mi_col * MI_SIZE) * 8); in set_mi_row_col()
831 xd->mb_to_right_edge = ((mi_cols - bw - mi_col) * MI_SIZE) * 8; in set_mi_row_col()
839 xd->left_available = (mi_col > tile->mi_col_start); in set_mi_row_col()
843 xd->chroma_left_available = (mi_col - 1) > tile->mi_col_start; in set_mi_row_col()
859 ((mi_col & 0x01) || !(bw & 0x01) || !ss_x); in set_mi_row_col()
[all …]
Dthread_common.c272 int mi_row, mi_col, plane, dir; in thread_loop_filter_rows() local
285 for (mi_col = 0; mi_col < cm->mi_cols; mi_col += MAX_MIB_SIZE) { in thread_loop_filter_rows()
286 c = mi_col >> MAX_MIB_SIZE_LOG2; in thread_loop_filter_rows()
289 mi_row, mi_col, plane, plane + 1); in thread_loop_filter_rows()
292 mi_col); in thread_loop_filter_rows()
296 for (mi_col = 0; mi_col < cm->mi_cols; mi_col += MAX_MIB_SIZE) { in thread_loop_filter_rows()
297 c = mi_col >> MAX_MIB_SIZE_LOG2; in thread_loop_filter_rows()
308 mi_row, mi_col, plane, plane + 1); in thread_loop_filter_rows()
310 mi_col); in thread_loop_filter_rows()
335 int mi_row, mi_col, plane, dir; in thread_loop_filter_bitmask_rows() local
[all …]
/external/libaom/libaom/av1/decoder/
Ddecodemv.c40 int mi_col, int mi_row) { in read_cdef() argument
48 if (!(mi_col & (cm->seq_params.mib_size - 1)) && in read_cdef()
57 ? !!(mi_col & mask) + 2 * !!(mi_row & mask) in read_cdef()
59 cm->mi_grid_visible[(mi_row & m) * cm->mi_stride + (mi_col & m)] in read_cdef()
68 int mi_col, int mi_row) { in read_delta_qindex() argument
71 const int b_col = mi_col & (cm->seq_params.mib_size - 1); in read_delta_qindex()
99 const MB_MODE_INFO *const mbmi, int mi_col, in read_delta_lflevel() argument
103 const int b_col = mi_col & (cm->seq_params.mib_size - 1); in read_delta_lflevel()
263 int mi_row, int mi_col, aom_reader *r, int skip) { in read_segment_id() argument
265 const int pred = av1_get_spatial_seg_pred(cm, xd, mi_row, mi_col, &cdf_num); in read_segment_id()
[all …]
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c700 int mi_col) { in dec_build_inter_predictors_sb() argument
702 const int mi_x = mi_col * MI_SIZE; in dec_build_inter_predictors_sb()
724 vp9_setup_pre_planes(xd, ref, ref_buf->buf, mi_row, mi_col, in dec_build_inter_predictors_sb()
787 int mi_row, int mi_col, int bw, int bh, in set_offsets_recon() argument
789 const int offset = mi_row * cm->mi_stride + mi_col; in set_offsets_recon()
795 set_skip_context(xd, mi_row, mi_col); in set_offsets_recon()
799 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); in set_offsets_recon()
801 vp9_setup_dst_planes(xd->plane, get_frame_new_buffer(cm), mi_row, mi_col); in set_offsets_recon()
806 BLOCK_SIZE bsize, int mi_row, int mi_col, int bw, in set_offsets() argument
808 const int offset = mi_row * cm->mi_stride + mi_col; in set_offsets()
[all …]

12345