Home
last modified time | relevance | path

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

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_encodeframe.c77 int mi_row, int mi_col, BLOCK_SIZE bsize);
117 int mi_col, 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()
132 int mi_col) { in get_rd_var_based_fixed_partition() argument
134 mi_row, mi_col, in get_rd_var_based_fixed_partition()
148 int mi_col) { in get_nonrd_var_based_fixed_partition() argument
150 mi_row, mi_col, in get_nonrd_var_based_fixed_partition()
165 int mi_col) { 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 …]
Dvp9_segmentation.c128 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 …]
Dvp9_aq_cyclicrefresh.c130 int mi_row, int mi_col, in vp9_cyclic_refresh_update_segment() argument
136 const int xmis = MIN(cm->mi_cols - mi_col, bw); in vp9_cyclic_refresh_update_segment()
138 const int block_index = mi_row * cm->mi_cols + mi_col; in vp9_cyclic_refresh_update_segment()
274 int mi_col = sb_col_index * MI_BLOCK_SIZE; in vp9_cyclic_refresh_setup() local
276 assert(mi_col >= 0 && mi_col < cm->mi_cols); in vp9_cyclic_refresh_setup()
277 bl_index = mi_row * cm->mi_cols + mi_col; in vp9_cyclic_refresh_setup()
279 xmis = MIN(cm->mi_cols - mi_col, in vp9_cyclic_refresh_setup()
Dvp9_rdopt.h47 int mi_row, int mi_col,
61 int mi_row, int mi_col,
70 int mi_row, int mi_col,
Dvp9_bitstream.c373 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()
383 mi_col, num_8x8_blocks_wide_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()
401 const int has_cols = (mi_col + hbs) < cm->mi_cols; 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 …]
Dvp9_aq_complexity.c62 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()
69 const int xmis = MIN(cm->mi_cols - mi_col, bw); in vp9_select_in_frame_q_segment()
Dvp9_pickmode.c31 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()
Dvp9_mbgraph.c308 int mi_row, mi_col; in separate_arf_mbs() local
348 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) { 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()
Dvp9_aq_complexity.h22 void vp9_select_in_frame_q_segment(struct VP9_COMP *cpi, int mi_row, int mi_col,
Dvp9_encodeframe.h25 int mi_row, int mi_col);
Dvp9_pickmode.h22 int mi_row, int mi_col,
Dvp9_aq_cyclicrefresh.h35 int mi_row, int mi_col,
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_reconinter.h21 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
54 const int x = (MI_SIZE * mi_col) >> subsampling_x; in setup_pred_plane()
61 int mi_row, int mi_col);
64 const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col,
Dvp9_debugmodes.c28 int mi_col; in print_mi_data() local
39 for (mi_col = 0; mi_col < cols; mi_col++) { in print_mi_data()
52 int mi_col; in vp9_print_modes_and_motion_vectors() local
69 for (mi_col = 0; mi_col < cols; mi_col++) { in vp9_print_modes_and_motion_vectors()
Dvp9_mvref_common.c181 int mi_col, int mi_row, int mi_rows, in is_inside() argument
184 mi_col + mi_pos->col < tile->mi_col_start || in is_inside()
186 mi_col + mi_pos->col >= tile->mi_col_end); 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 …]
Dvp9_onyxc_int.h259 static INLINE void set_skip_context(MACROBLOCKD *xd, int mi_row, int mi_col) { in set_skip_context() argument
260 const int above_idx = mi_col * 2; in set_skip_context()
272 int mi_col, int bw, in set_mi_row_col() argument
276 xd->mb_to_left_edge = -((mi_col * MI_SIZE) * 8); in set_mi_row_col()
277 xd->mb_to_right_edge = ((mi_cols - bw - mi_col) * MI_SIZE) * 8; in set_mi_row_col()
281 xd->left_available = (mi_col > tile->mi_col_start); in set_mi_row_col()
300 int mi_row, int mi_col, in update_partition_context() argument
303 PARTITION_CONTEXT *const above_ctx = xd->above_seg_context + mi_col; in update_partition_context()
317 int mi_row, int mi_col, in partition_plane_context() argument
319 const PARTITION_CONTEXT *above_ctx = xd->above_seg_context + mi_col; in partition_plane_context()
Dvp9_reconinter.c202 int mi_row, int mi_col, in build_inter_predictors_for_planes() argument
205 const int mi_x = mi_col * 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
388 const int mi_x = mi_col * MI_SIZE; in vp9_dec_build_inter_predictors_sb()
[all …]
Dvp9_loopfilter.c621 void vp9_setup_mask(VP9_COMMON *const cm, const int mi_row, const int mi_col, in vp9_setup_mask() argument
651 const int max_cols = (mi_col + MI_BLOCK_SIZE > cm->mi_cols ? in vp9_setup_mask()
652 cm->mi_cols - mi_col : MI_BLOCK_SIZE); in vp9_setup_mask()
811 if (mi_col + MI_BLOCK_SIZE > cm->mi_cols) { in vp9_setup_mask()
812 const uint64_t columns = cm->mi_cols - mi_col; in vp9_setup_mask()
845 if (mi_col == 0) { in vp9_setup_mask()
907 int mi_row, int mi_col) { in filter_block_plane_non420() argument
929 for (c = 0; c < MI_BLOCK_SIZE && mi_col + c < cm->mi_cols; c += col_step) { in filter_block_plane_non420()
944 const int skip_border_4x4_c = ss_x && mi_col + c == cm->mi_cols - 1; in filter_block_plane_non420()
1001 border_mask = ~(mi_col == 0); in filter_block_plane_non420()
[all …]
Dvp9_mvref_common.h35 int_mv *mv_ref_list, int mi_row, int mi_col);
45 int block, int ref, int mi_row, int mi_col,
Dvp9_pred_common.c370 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()
374 const int xmis = MIN(cm->mi_cols - mi_col, bw); in vp9_get_segment_id()
Dvp9_loopfilter.h91 const int mi_row, const int mi_col,
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_decodeframe.c298 BLOCK_SIZE bsize, int mi_row, int mi_col) { in set_offsets() argument
301 const int x_mis = MIN(bw, cm->mi_cols - mi_col); 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 …]
Dvp9_decodemv.c88 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()
92 const int xmis = MIN(cm->mi_cols - mi_col, bw); 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 …]
Dvp9_dthread.c105 const int mi_col = c << MI_BLOCK_SIZE_LOG2; in loop_filter_rows_mt() local
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()
Dvp9_decodemv.h24 int mi_row, int mi_col, vp9_reader *r);

12