Home
last modified time | relevance | path

Searched refs:mi_cols (Results 1 – 25 of 83) sorted by relevance

1234

/external/libvpx/libvpx/vp9/common/
Dvp9_alloccommon.c20 void vp9_set_mi_size(int *mi_rows, int *mi_cols, int *mi_stride, int width, in vp9_set_mi_size() argument
24 *mi_cols = aligned_width >> MI_SIZE_LOG2; in vp9_set_mi_size()
26 *mi_stride = calc_mi_size(*mi_cols); in vp9_set_mi_size()
30 int mi_cols) { in vp9_set_mb_size() argument
31 *mb_cols = (mi_cols + 1) >> 1; in vp9_set_mb_size()
37 vp9_set_mi_size(&cm->mi_rows, &cm->mi_cols, &cm->mi_stride, width, height); in vp9_set_mb_mi()
39 cm->mi_cols); in vp9_set_mb_mi()
117 cm->lf.lfm_stride = (cm->mi_cols + (MI_BLOCK_SIZE - 1)) >> 3; in vp9_alloc_loop_filter()
135 if (cm->seg_map_alloc_size < cm->mi_rows * cm->mi_cols) { in vp9_alloc_context_buffers()
138 if (alloc_seg_map(cm, cm->mi_rows * cm->mi_cols)) goto fail; in vp9_alloc_context_buffers()
[all …]
Dvp9_tile_common.c30 tile->mi_col_start = get_tile_offset(col, cm->mi_cols, cm->log2_tile_cols); in vp9_tile_set_col()
31 tile->mi_col_end = get_tile_offset(col + 1, cm->mi_cols, cm->log2_tile_cols); in vp9_tile_set_col()
51 void vp9_get_tile_n_bits(int mi_cols, int *min_log2_tile_cols, in vp9_get_tile_n_bits() argument
53 const int sb64_cols = mi_cols_aligned_to_sb(mi_cols) >> MI_BLOCK_SIZE_LOG2; in vp9_get_tile_n_bits()
Dvp9_onyxc_int.h70 int mi_cols; member
160 int mb_cols, mi_cols; member
263 int mi_cols; member
276 frame_info->mi_cols = cm->mi_cols; in init_frame_info()
354 i * sizeof(*cm->above_context) * 2 * mi_cols_aligned_to_sb(cm->mi_cols); in vp9_init_macroblockd()
394 int mi_rows, int mi_cols) { in set_mi_row_col() argument
398 xd->mb_to_right_edge = ((mi_cols - bw - mi_col) * MI_SIZE) * 8; in set_mi_row_col()
Dvp9_alloccommon.h36 void vp9_set_mi_size(int *mi_rows, int *mi_cols, int *mi_stride, int width,
39 int mi_cols);
Dvp9_pred_common.h25 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()
35 VPXMIN(segment_id, segment_ids[mi_offset + y * cm->mi_cols + x]); in get_segment_id()
Dvp9_debugmodes.c30 int cols = cm->mi_cols; in print_mi_data()
52 int cols = cm->mi_cols; in vp9_print_modes_and_motion_vectors()
/external/libaom/libaom/av1/encoder/
Daq_cyclicrefresh.c22 CYCLIC_REFRESH *av1_cyclic_refresh_alloc(int mi_rows, int mi_cols) { in av1_cyclic_refresh_alloc() argument
27 cr->map = aom_calloc(mi_rows * mi_cols, sizeof(*cr->map)); in av1_cyclic_refresh_alloc()
32 last_coded_q_map_size = mi_rows * mi_cols * sizeof(*cr->last_coded_q_map); in av1_cyclic_refresh_alloc()
166 const int xmis = AOMMIN(cm->mi_params.mi_cols - mi_col, bw); in av1_cyclic_refresh_update_segment()
168 const int block_index = mi_row * cm->mi_params.mi_cols + mi_col; in av1_cyclic_refresh_update_segment()
202 int map_offset = block_index + y * cm->mi_params.mi_cols + x; in av1_cyclic_refresh_update_segment()
218 for (int mi_col = 0; mi_col < mi_params->mi_cols; mi_col++) { in av1_cyclic_refresh_postencode()
223 int map_index = mi_row * mi_params->mi_cols + mi_col; in av1_cyclic_refresh_postencode()
237 100 * cr->cnt_zeromv / (mi_params->mi_rows * mi_params->mi_cols); in av1_cyclic_refresh_postencode()
269 memset(seg_map, CR_SEGMENT_ID_BASE, mi_params->mi_rows * mi_params->mi_cols); in cyclic_refresh_update_map()
[all …]
Daq_complexity.c74 memset(cpi->enc_seg.map, 0, cm->mi_params.mi_rows * cm->mi_params.mi_cols); in av1_setup_in_frame_q_adj()
87 cm->mi_params.mi_rows * cm->mi_params.mi_cols); in av1_setup_in_frame_q_adj()
137 const int mi_offset = mi_row * cm->mi_params.mi_cols + mi_col; in av1_caq_select_segment()
138 const int xmis = AOMMIN(cm->mi_params.mi_cols - mi_col, mi_size_wide[bs]); in av1_caq_select_segment()
182 cpi->enc_seg.map[mi_offset + y * cm->mi_params.mi_cols + x] = segment; in av1_caq_select_segment()
Dsegmentation.c53 if (mi_row >= mi_params->mi_rows || mi_col >= mi_params->mi_cols) return; in count_segs()
57 mi_params->mi_cols); in count_segs()
97 if (mi_row >= mi_params->mi_rows || mi_col >= mi_params->mi_cols) return; in count_segs_sb()
149 if (mi_col + 3 * qbs < mi_params->mi_cols) CSEGS(qbs, bs, 0, 3 * qbs); in count_segs_sb()
Dsvc_layercontext.c28 int mi_cols = cpi->common.mi_params.mi_cols; in av1_init_layer_context() local
68 aom_malloc(mi_rows * mi_cols * sizeof(*lc->map))); in av1_init_layer_context()
69 memset(lc->map, 0, mi_rows * mi_cols); in av1_init_layer_context()
71 mi_rows * mi_cols * sizeof(*lc->last_coded_q_map); in av1_init_layer_context()
/external/libaom/libaom/av1/decoder/
Dinspection.c16 static void ifd_init_mi_rc(insp_frame_data *fd, int mi_cols, int mi_rows) { in ifd_init_mi_rc() argument
17 fd->mi_cols = mi_cols; in ifd_init_mi_rc()
20 fd->mi_cols); in ifd_init_mi_rc()
24 int mi_cols = ALIGN_POWER_OF_TWO(frame_width, 3) >> MI_SIZE_LOG2; in ifd_init() local
26 ifd_init_mi_rc(fd, mi_cols, mi_rows); in ifd_init()
42 if (fd->mi_rows != mi_params->mi_rows || fd->mi_cols != mi_params->mi_cols) { in ifd_inspect()
44 ifd_init_mi_rc(fd, mi_params->mi_rows, mi_params->mi_cols); in ifd_inspect()
72 for (i = 0; i < mi_params->mi_cols; i++) { in ifd_inspect()
75 insp_mi_data *mi = &fd->mi_grid[j * mi_params->mi_cols + i]; in ifd_inspect()
Ddecoder.c58 mi_params->mi_cols = aligned_width >> MI_SIZE_LOG2; in dec_set_mb_mi()
60 mi_params->mi_stride = calc_mi_size(mi_params->mi_cols); in dec_set_mb_mi()
62 mi_params->mb_cols = (mi_params->mi_cols + 2) >> 2; in dec_set_mb_mi()
508 (cm->mi_params.mi_cols == cm->prev_frame->mi_cols)) { in av1_receive_compressed_data()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_aq_cyclicrefresh.c32 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols) { in vp9_cyclic_refresh_alloc() argument
37 cr->map = vpx_calloc(mi_rows * mi_cols, sizeof(*cr->map)); in vp9_cyclic_refresh_alloc()
42 last_coded_q_map_size = mi_rows * mi_cols * sizeof(*cr->last_coded_q_map); in vp9_cyclic_refresh_alloc()
167 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); in vp9_cyclic_refresh_update_segment()
169 const int block_index = mi_row * cm->mi_cols + mi_col; in vp9_cyclic_refresh_update_segment()
217 int map_offset = block_index + y * cm->mi_cols + x; in vp9_cyclic_refresh_update_segment()
231 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); in vp9_cyclic_refresh_update_sb_postencode()
233 const int block_index = mi_row * cm->mi_cols + mi_col; in vp9_cyclic_refresh_update_sb_postencode()
237 int map_offset = block_index + y * cm->mi_cols + x; in vp9_cyclic_refresh_update_sb_postencode()
272 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) { in vp9_cyclic_refresh_postencode()
[all …]
Dvp9_noise_estimate.c183 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()
189 if (num_low_motion < ((3 * cm->mi_rows * cm->mi_cols) >> 3)) in vp9_update_noise_estimate()
192 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) { 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()
198 int bl_index2 = bl_index + cm->mi_cols; in vp9_update_noise_estimate()
238 src_y += (src_ystride << 3) - (cm->mi_cols << 3); in vp9_update_noise_estimate()
239 last_src_y += (last_src_ystride << 3) - (cm->mi_cols << 3); in vp9_update_noise_estimate()
240 src_u += (src_uvstride << 2) - (cm->mi_cols << 2); in vp9_update_noise_estimate()
[all …]
Dvp9_skin_detection.c57 const int mi_col_limit = VPXMIN(mi_col + 8, cm->mi_cols - 2); in vp9_compute_skin_sb()
66 int bl_index = i * cm->mi_cols + j; in vp9_compute_skin_sb()
68 int bl_index2 = bl_index + cm->mi_cols; in vp9_compute_skin_sb()
98 int bl_index = i * cm->mi_cols + j; in vp9_compute_skin_sb()
115 int bl_neighbor_index = (i + mi) * cm->mi_cols + j + mj; in vp9_compute_skin_sb()
156 for (mi_col = 0; mi_col < cm->mi_cols - 1; mi_col += fac) { in vp9_output_skin_map()
157 const int block_index = mi_row * cm->mi_cols + mi_col; in vp9_output_skin_map()
Dvp9_aq_complexity.c61 memset(cpi->segmentation_map, DEFAULT_AQ2_SEG, cm->mi_rows * cm->mi_cols); in vp9_setup_in_frame_q_adj()
114 const int mi_offset = mi_row * cm->mi_cols + mi_col; in vp9_caq_select_segment()
117 const int xmis = VPXMIN(cm->mi_cols - mi_col, num_8x8_blocks_wide_lookup[bs]); in vp9_caq_select_segment()
157 cpi->segmentation_map[mi_offset + y * cm->mi_cols + x] = segment; in vp9_caq_select_segment()
Dvp9_encoder.c533 const int cols = cpi->common.mi_cols; in suppress_active_map()
557 for (i = 0; i < cpi->common.mi_rows * cpi->common.mi_cols; ++i) in apply_active_map()
603 memcpy(cpi->segmentation_map, roi->roi_map, (cm->mi_rows * cm->mi_cols)); in apply_roi_map()
698 const int frame_cols = cpi->common.mi_cols; in vp9_set_roi_map()
749 const int mi_cols = cpi->common.mi_cols; in vp9_set_active_map() local
754 for (c = 0; c < mi_cols; ++c) { in vp9_set_active_map()
755 active_map_8x8[r * mi_cols + c] = in vp9_set_active_map()
777 const int mi_cols = cpi->common.mi_cols; in vp9_get_active_map() local
782 for (c = 0; c < mi_cols; ++c) { in vp9_get_active_map()
786 seg_map_8x8[r * mi_cols + c] != AM_SEGMENT_ID_INACTIVE; in vp9_get_active_map()
[all …]
Dvp9_encodeframe.c267 x->mbmi_ext = x->mbmi_ext_base + (mi_row * cm->mi_cols + mi_col); in set_mode_info_offsets()
278 const int num_cols = (cm->mi_cols + num_8x8_w - 1) / num_8x8_w; in set_ssim_rdmult()
329 mv_limits->col_max = (cm->mi_cols - mi_col) * MI_SIZE + VP9_INTERP_EXTEND; in set_offsets()
334 cm->mi_cols); in set_offsets()
354 VPXMIN(num_8x8_blocks_wide_lookup[bsize], cm->mi_cols - mi_col); in duplicate_mode_info_in_sb()
368 if (cpi->common.mi_cols > mi_col && cpi->common.mi_rows > mi_row) { in set_block_size()
523 if (mi_col + block_width / 2 < cm->mi_cols && in set_vt_partitioning()
540 if (mi_col + block_width / 2 < cm->mi_cols && in set_vt_partitioning()
561 if (mi_col + block_width / 2 < cm->mi_cols) { in set_vt_partitioning()
823 if (!low_res && (mi_col >= 8 && mi_col + 8 < cm->mi_cols && mi_row >= 8 && in skin_sb_split()
[all …]
/external/libaom/libaom/examples/
Dinspect.c397 const int mi_cols = frame_data.mi_cols; in put_reference_frame() local
406 for (c = 0; c < mi_cols; ++c) { in put_reference_frame()
407 insp_mi_data *mi = &frame_data.mi_grid[r * mi_cols + c]; in put_reference_frame()
411 for (t = c + 1; t < mi_cols; ++t) { in put_reference_frame()
412 insp_mi_data *next_mi = &frame_data.mi_grid[r * mi_cols + t]; in put_reference_frame()
424 if (c < mi_cols - 1) *(buf++) = ','; in put_reference_frame()
435 const int mi_cols = frame_data.mi_cols; in put_motion_vectors() local
441 for (c = 0; c < mi_cols; ++c) { in put_motion_vectors()
442 insp_mi_data *mi = &frame_data.mi_grid[r * mi_cols + c]; in put_motion_vectors()
448 for (t = c + 1; t < mi_cols; ++t) { in put_motion_vectors()
[all …]
/external/libaom/libaom/av1/common/
Dtile_common.c33 const int mi_cols = in av1_get_tile_limits() local
34 ALIGN_POWER_OF_TWO(cm->mi_params.mi_cols, seq_params->mib_size_log2); in av1_get_tile_limits()
37 const int sb_cols = mi_cols >> seq_params->mib_size_log2; in av1_get_tile_limits()
54 int mi_cols = ALIGN_POWER_OF_TWO(cm_mi_cols, seq_params->mib_size_log2); in av1_calculate_tile_cols() local
56 int sb_cols = mi_cols >> seq_params->mib_size_log2; in av1_calculate_tile_cols()
150 tile->mi_col_end = AOMMIN(mi_col_end, cm->mi_params.mi_cols); in av1_tile_set_col()
Dav1_common_int.h141 int mi_cols; member
399 int mi_cols; member
893 const int buf_cols = buf->mi_cols; in ensure_mv_buffer()
897 buf_cols != mi_params->mi_cols) { in ensure_mv_buffer()
900 buf->mi_cols = mi_params->mi_cols; in ensure_mv_buffer()
903 ((mi_params->mi_cols + 1) >> 1), in ensure_mv_buffer()
908 (uint8_t *)aom_calloc(mi_params->mi_rows * mi_params->mi_cols, in ensure_mv_buffer()
1015 int mi_rows, int mi_cols) { in set_mi_row_col() argument
1019 xd->mb_to_right_edge = GET_MV_SUBPEL((mi_cols - bw - mi_col) * MI_SIZE); in set_mi_row_col()
1445 if (mi_row >= mi_params->mi_rows || mi_col >= mi_params->mi_cols) in get_partition()
[all …]
Dcdef.c40 int maxc = mi_params->mi_cols - mi_col; in av1_cdef_compute_sb_list()
140 const int nhfb = (mi_params->mi_cols + MI_SIZE_64X64 - 1) / MI_SIZE_64X64; in av1_cdef_frame()
153 const int stride = (mi_params->mi_cols << MI_SIZE_LOG2) + 2 * CDEF_HBORDER; in av1_cdef_frame()
185 nhb = AOMMIN(MI_SIZE_64X64, mi_params->mi_cols - MI_SIZE_64X64 * fbc); in av1_cdef_frame()
209 frame_right = (mi_col + MI_SIZE_64X64 == mi_params->mi_cols) ? 1 : 0; in av1_cdef_frame()
Ddebugmodes.c32 int cols = mi_params->mi_cols; in print_mi_data()
53 const int cols = mi_params->mi_cols; in av1_print_modes_and_motion_vectors()
/external/libwebm/common/
Dvp9_header_parser.cc222 const int mi_cols = aligned_width >> kMiSizeLog2; in ParseTileInfo() local
223 const int aligned_mi_cols = AlignPowerOfTwo(mi_cols, kMiSizeLog2); in ParseTileInfo()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c98 VPXMIN(segment_id, segment_ids[mi_offset + y * cm->mi_cols + x]); in dec_get_segment_id()
112 cm->current_frame_seg_map[mi_offset + y * cm->mi_cols + x] = segment_id; in set_segment_id()
123 current_segment_ids[mi_offset + y * cm->mi_cols + x] = in copy_segment_id()
124 last_segment_ids ? last_segment_ids[mi_offset + y * cm->mi_cols + x] in copy_segment_id()
152 const int mi_offset = mi_row * cm->mi_cols + mi_col; in read_inter_segment_id()
201 const int mi_offset = mi_row * cm->mi_cols + mi_col; in read_intra_frame_mode_info()
492 ? cm->prev_frame->mvs + mi_row * cm->mi_cols + mi_col in dec_find_mv_refs()
817 MV_REF *frame_mvs = cm->cur_frame->mvs + mi_row * cm->mi_cols + mi_col; in vp9_read_mode_info()
831 frame_mvs += cm->mi_cols; in vp9_read_mode_info()

1234